phpDocumentor

GoogleAnalyticsCombinedProductId
in package
implements GoogleAnalyticsCombinedProductIdInterface

Class GoogleAnalyticsCombinedProductId

Interfaces, Classes and Traits

GoogleAnalyticsCombinedProductIdInterface
Interface GoogleAnalyticsCombinedProductIdInterface

Table of Contents

$attributeIds  : GoogleAnalyticsProductAttributeCollection|null
$attributeOnlyRegex  : string
$combinedPropertyAttributeRegex  : string
$productId  : int
$propertyCombinationId  : int|null
$propertyOnlyRegex  : string
__construct()  : mixed
GoogleAnalyticsCombinedProductId constructor.
attributeIds()  : GoogleAnalyticsProductAttributeCollection|null
Returns the attribute ids.
containsAttributeIds()  : bool
Checks if only attribute ids are present.
containsBoth()  : bool
Checks if optional property combination id and attribute ids are present.
containsOnlyProductId()  : bool
Checks if only product id is present.
containsPropertyId()  : bool
Checks if just property combination id is present.
create()  : GoogleAnalyticsCombinedProductId
Named constructor of GoogleAnalyticsCombinedProductId.
productId()  : int
Returns the product id.
propertyId()  : int|null
Returns the property combination id.
_createAttributesFromIdString()  : GoogleAnalyticsProductAttributeCollection
Creates attributes from the given id string.

Properties

Methods

containsAttributeIds()

Checks if only attribute ids are present.

public containsAttributeIds() : bool
Return values
bool

True if only attribute ids are present.

containsBoth()

Checks if optional property combination id and attribute ids are present.

public containsBoth() : bool
Return values
bool

True if optional property combination id and attribute ids are present.

containsOnlyProductId()

Checks if only product id is present.

public containsOnlyProductId() : bool
Return values
bool

True if only product id is present.

containsPropertyId()

Checks if just property combination id is present.

public containsPropertyId() : bool
Return values
bool

True if just property combination id is present.

Search results