PHP Class 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.
Inheritance: implements IteratorAggregat\IteratorAggregate, use trait TheIconic\Tracking\GoogleAnalytics\Traits\Indexable
Afficher le fichier Open project: theiconic/php-ga-measurement-protocol

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

add() public méthode

public add ( CompoundParameter $compoundParameter )
$compoundParameter CompoundParameter

getIterator() public méthode

public getIterator ( )

getParametersArray() public méthode

public getParametersArray ( )

getReadableItems() public méthode

Gets the human readable items for the parameter.
public getReadableItems ( ) : array
Résultat array

Property Details

$items protected_oe property

Holds all the compound parameters that belong to the collection.
protected CompoundParameter[],TheIconic\Tracking\GoogleAnalytics\Parameters $items
Résultat CompoundParameter[]

$name protected_oe property

Name for the collection of compound parameters. Its prepend to the payload names of the compound parameter.
protected string $name
Résultat string