Category
class Category extends DataModel
A category with sort number, link to parent category and level
Properties
protected array | $fields | from DataModel | |
protected boolean | $isEncrypted | from DataModel | |
protected Identity | $id | ||
protected Identity | $parentCategoryId | ||
protected boolean | $isActive | ||
protected integer | $level | ||
protected integer | $sort | ||
protected CategoryAttr[] | $attributes | ||
protected CategoryCustomerGroup[] | $customerGroups | ||
protected CategoryI18n[] | $i18ns | ||
protected CategoryInvisibility[] | $invisibilities |
Methods
__construct()
Constructor
setOptions(stdClass $object = null, array $options = null)
Sets Properties with matching Array Values
from DataModel
stdClass
getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))
Convert the Model into stdClass Object
from DataModel
mixed:string|NULL
getField(boolean $toWawi = false, string $key)
Get a Model Member Name
from DataModel
setIdentity(string $propertyName, string|null $endpoint = null, int|null $host = null)
No description
from DataModel
getParentCategoryId()
No description
setIsActive(boolean $isActive)
No description
boolean
getIsActive()
No description
integer
getLevel()
No description
integer
getSort()
No description
setAttributes(array $attributes)
No description
getAttributes()
No description
clearAttributes()
No description
setCustomerGroups(array $customerGroups)
No description
getCustomerGroups()
No description
clearCustomerGroups()
No description
getI18ns()
No description
clearI18ns()
No description
setInvisibilities(array $invisibilities)
No description
getInvisibilities()
No description
clearInvisibilities()
No description
Details
at line 99
__construct()
Constructor
in Model at line 33
multitype:
getProperties()
Get the Model Properties
in DataModel at line 172
Model
setOptions(stdClass $object = null, array $options = null)
Sets Properties with matching Array Values
in DataModel at line 70
stdClass
getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))
Convert the Model into stdClass Object
in Model at line 115
toJson()
in DataModel at line 35
mixed:string
getFields()
Fields Getter
in DataModel at line 45
validate()
Object Validation
in DataModel at line 59
mixed:string|NULL
getField(boolean $toWawi = false, string $key)
Get a Model Member Name
in DataModel at line 59
boolean
isEncrypted()
Encrypted Status