CategoryService
class CategoryService (View source)
Properties
protected | $entityManager |
Methods
__construct(EntityManager $entityManager)
No description
Category|null
getByHandle(string $akCategoryHandle)
Get a attribute category given its handle.
Category[]
Details
__construct(EntityManager $entityManager)
No description
Category|null
getByHandle(string $akCategoryHandle)
Get a attribute category given its handle.
Category|null
getByID(int $akCategoryID)
Get a attribute category given its ID.
Category[]
getList()
Get all the available attribute categories.
Category[]
getListByPackage(Package $pkg)
Get all the available attribute categories created by a package.
CategoryInterface
add(string $akCategoryHandle, int $allowSets = StandardSetManager::ASET_ALLOW_SINGLE, Package|null $pkg = null)
Create a new attribute category.
exportTranslations()
deprecated
deprecated
No description