Link Search Menu Expand Document

Constructor: starGiftAttributeCounter

Back to constructors index

Indicates the total number of gifts that have the specified attribute.

Attributes:

NameTypeRequiredDescription
attributeStarGiftAttributeIdYesThe attribute (just the ID, without the attribute itself).
countintYesTotal number of gifts with this attribute.

Type: StarGiftAttributeCounter

Example:

$starGiftAttributeCounter = ['_' => 'starGiftAttributeCounter', 'attribute' => StarGiftAttributeId, 'count' => int];