PHP Класс TheIconic\Tracking\GoogleAnalytics\Parameters\CompoundParameterCollection

Contains a set of compound parameters. The name of the collection is prepend before the compound parameter names. The name can be indexed by the placeholder as specified in the Indexable trait.
Наследование: implements IteratorAggregat\IteratorAggregate, use trait TheIconic\Tracking\GoogleAnalytics\Traits\Indexable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$items CompoundParameter[] Holds all the compound parameters that belong to the collection.
$name string Name for the collection of compound parameters. Its prepend to the payload names of the compound parameter.

Открытые методы

Метод Описание
__construct ( string $index = '' ) Indexes the name in case it has a placeholder.
add ( CompoundParameter $compoundParameter )
getIterator ( )
getParametersArray ( )
getReadableItems ( ) : array Gets the human readable items for the parameter.

Описание методов

__construct() публичный Метод

Indexes the name in case it has a placeholder.
public __construct ( string $index = '' )
$index string

add() публичный Метод

public add ( CompoundParameter $compoundParameter )
$compoundParameter CompoundParameter

getIterator() публичный Метод

public getIterator ( )

getParametersArray() публичный Метод

public getParametersArray ( )

getReadableItems() публичный Метод

Gets the human readable items for the parameter.
public getReadableItems ( ) : array
Результат array

Описание свойств

$items защищенное свойство

Holds all the compound parameters that belong to the collection.
protected CompoundParameter[],TheIconic\Tracking\GoogleAnalytics\Parameters $items
Результат CompoundParameter[]

$name защищенное свойство

Name for the collection of compound parameters. Its prepend to the payload names of the compound parameter.
protected string $name
Результат string