StandardSetManager
class StandardSetManager implements SetManagerInterface (View source)
Handles adding and removing keys from attribute sets.
Constants
ASET_ALLOW_NONE |
|
ASET_ALLOW_SINGLE |
|
ASET_ALLOW_MULTIPLE |
|
Properties
protected | $entityManager | ||
protected | $allowAttributeSets | ||
protected | $categoryEntity |
Methods
int
allowAttributeSets()
No description
getUnassignedAttributeKeys()
Get the attribute keys that are not in any set.
Set[]
getAttributeSets()
Get the attribute sets.
setAllowAttributeSets(bool $allowAttributeSets)
No description
addSet($handle, $name, $pkg = null, $locked = null)
No description
updateAttributeSetDisplayOrder($asIDs)
Update the order of the attribute sets.
Details
int
allowAttributeSets()
No description
AttributeKeyInterface[]
getUnassignedAttributeKeys()
Get the attribute keys that are not in any set.
Set[]
getAttributeSets()
Get the attribute sets.
setAllowAttributeSets(bool $allowAttributeSets)
No description
__construct(Category $categoryEntity, EntityManager $entityManager)
No description
addSet($handle, $name, $pkg = null, $locked = null)
No description
updateAttributeSetDisplayOrder($asIDs)
Update the order of the attribute sets.