Builder class for GoogleMapsPHP plug-in.
Methods
Build a plugIn
build() : void
inherited abstract
Constructor
__construct(\AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface $mapBuilder, array $settings)
inherited
Set settings
setSettings(array $settings) : \AdGrafik\GoogleMapsPHP\PlugIns\AbstractBuilder
inherited
Get settings
getSettings() : array
inherited
Set mapBuilder
setMapBuilder(\AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface $mapBuilder) : \AdGrafik\GoogleMapsPHP\PlugIns\BuilderInterface
inherited
Get mapBuilder
getMapBuilder() : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
inherited
Evaluate the ID of an plugIn.
evaluateId(array $options) : string
inherited
Arguments
Response
string
This method search for *OptionSplit keys and returns the values matched the configuration.
parseOptionSplit(array $options, string $counterPropertyName) : array
inherited
If OptionSplit contains an asterisk "" the values pushed to every item. If there are less values than items the last item will be repeat.
Arguments
$counterPropertyName
string
Response
array
Split properties to API and plugIn options.
parseOptions($options, &$apiOptions, &$plugInOptions, &$additionalOptions, string $apiClassName, string $plugInClassName) : void
inherited
Match split option with properties.
matchSplitOptionWithProperties(array $optionSplits, integer $key, array &$options) : void
inherited
Properties
idCount
idCount : integer
inherited static
settings
settings : array
inherited
mapBuilder
mapBuilder : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
inherited