Class StoredCategory

Class StoredCategory

This class extends the Category class and represents a persisted category with an unique ID.

Category implements CategoryInterface
StoredCategory implements StoredCategoryInterface

Methods summary

public __construct( IdType $categoryId, CategorySettingsInterface $settings )

Class Constructor

public getCategoryId( void ) : integer

Gets the ID of the StoredCategory.

public getAddonValueContainerId( void ) : integer

Get the addon value container ID.

public setParentId( IdType $categoryId ) : StoredCategory|StoredCategory

Sets the parent ID of the category.

Methods inherited from Category

addAddonValues(), deleteAddonValue(), getAddedDateTime(), getAddonValue(), getAddonValues(), getDescription(), getHeadingTitle(), getIcon(), getImage(), getImageAltText(), getLastModifiedDateTime(), getMetaDescription(), getMetaKeywords(), getMetaTitle(), getName(), getParentId(), getSettings(), getSortOrder(), getUrlKeywords(), getUrlRewrite(), getUrlRewrites(), isActive(), setActive(), setAddedDateTime(), setAddonValue(), setDescription(), setHeadingTitle(), setIcon(), setImage(), setImageAltText(), setLastModifiedDateTime(), setMetaDescription(), setMetaKeywords(), setMetaTitle(), setName(), setSettings(), setSortOrder(), setUrlKeywords(), setUrlRewrite(), setUrlRewrites()

Properties summary

protected $categoryId : integer

Category ID.

0

Properties inherited from Category

$active, $addonValues, $altTexts, $dateAdded, $descriptions, $headingTitles, $icon, $image, $lastModified, $metaDescriptions, $metaKeywords, $metaTitles, $names, $parentId, $settings, $sortOrder, $urlKeywords, $urlRewrites