AbstractBuilder.
Methods
Constructor
__construct(\AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface $mapBuilder, array $settings)
Build a plugIn
build() : void
abstract
Set settings
setSettings(array $settings) : \AdGrafik\GoogleMapsPHP\PlugIns\AbstractBuilder
Get settings
getSettings() : array
Set mapBuilder
setMapBuilder(\AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface $mapBuilder) : \AdGrafik\GoogleMapsPHP\PlugIns\BuilderInterface
Get mapBuilder
getMapBuilder() : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface
Evaluate the ID of an plugIn.
evaluateId(array $options) : string
Arguments
Response
string
This method search for *OptionSplit keys and returns the values matched the configuration.
parseOptionSplit(array $options, string $counterPropertyName) : array
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
Match split option with properties.
matchSplitOptionWithProperties(array $optionSplits, integer $key, array &$options) : void
Properties
idCount
idCount : integer
static
settings
settings : array
mapBuilder
mapBuilder : \AdGrafik\GoogleMapsPHP\MapBuilder\MapBuilderInterface