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
파일 보기 프로젝트 열기: theiconic/php-ga-measurement-protocol

보호된 프로퍼티들

프로퍼티 타입 설명
$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