Interface CategoryInterface
category |
System |
---|---|
package |
Category |
subpackage |
Interfaces |
addAddonValues(\KeyValueCollection $collection) : \CategoryInterface
deleteAddonValue(\StringType $key) : \CategoryInterface
getAddedDateTime() : \DateTime
\DateTime
The date time when the category was added.
getAddonValue(\StringType $key) : string
getAddonValues() : \KeyValueCollection
getDescription(\LanguageCode $language) : string
string
Description of the category from the given language code.
getDescriptionBottom(\LanguageCode $language) : string
string
Description of the category from the given language code.
getHeadingTitle(\LanguageCode $language) : string
string
Heading title of the category from the given language code.
getIcon() : string
string
The icon filename of the category.
getImage() : string
string
The image filename of the category.
getImageAltText(\LanguageCode $language) : string
string
The alt text of the image.
getLastModifiedDateTime() : \DateTime
\DateTime
The date time when the category was modified last.
getMetaDescription(\LanguageCode $language) : string
string
Meta description of the category from the given language code.
getMetaKeywords(\LanguageCode $language) : string
string
Meta keywords of the category from the given language code.
getMetaTitle(\LanguageCode $language) : string
string
Meta title of the category from the given language code
getName(\LanguageCode $language) : string
string
Name of the category from the given language code.
getOpenGraphImage() : string
string
The image filename of the category.
getParentId() : integer
integer
The ID of the parent category
getSettings() : \CategorySettingsInterface
getSortOrder() : integer
integer
Sort order value.
getUrlKeywords(\LanguageCode $language) : string
string
URL keywords of the category from the given language code.
getUrlRewrite(\LanguageCode $language) : \UrlRewrite
Returns the URL rewrite of the category, depending on the provided language code.
Throws |
|
---|
\UrlRewrite
The URL rewrite of the category.
getUrlRewrites() : \UrlRewriteCollection
Returns the URL rewrites of the category.
\UrlRewriteCollection
The URL rewrites of the category.
isActive() : boolean
boolean
Value if tax of the OrderItem allowed.
setActive(\BoolType $status) : \CategoryInterface
setAddedDateTime(\DateTime $added) : \CategoryInterface
\DateTime
DateTime when the category has been added.
\CategoryInterface
Same instance for chained method calls.
setAddonValue(\StringType $key, \StringType $value) : \CategoryInterface
setDescription(\StringType $text, \LanguageCode $language) : \CategoryInterface
setDescriptionBottom(\StringType $text, \LanguageCode $language) : \CategoryInterface
setHeadingTitle(\StringType $text, \LanguageCode $language) : \CategoryInterface
setIcon(\StringType $iconFile) : \CategoryInterface
setImage(\StringType $imageFile) : \CategoryInterface
setImageAltText(\StringType $text, \LanguageCode $language) : \CategoryInterface
setLastModifiedDateTime(\DateTime $modified) : \CategoryInterface
\DateTime
DateTime when the category has been lastly modified.
\CategoryInterface
Same instance for chained method calls.
setMetaDescription(\StringType $text, \LanguageCode $language) : \CategoryInterface
setMetaKeywords(\StringType $text, \LanguageCode $language) : \CategoryInterface
setMetaTitle(\StringType $text, \LanguageCode $language) : \CategoryInterface
setName(\StringType $text, \LanguageCode $language) : \CategoryInterface
setOpenGraphImage(\StringType $imageFile) : \CategoryInterface
setParentId(\IdType $categoryId) : \CategoryInterface
setSettings(\CategorySettingsInterface $categorySettings) : \CategoryInterface
setSortOrder(\IntType $sortOrder) : \CategoryInterface
setUrlKeywords(\StringType $text, \LanguageCode $language) : \CategoryInterface
setUrlRewrite(\UrlRewrite $urlRewrite, \LanguageCode $language) : \Category
Sets the URL rewrite of the category for the provided language code.
\Category
Same instance for chained method calls.
setUrlRewrites(\UrlRewriteCollection $urlRewrites) : \Category
Sets the URL rewrites of the category.
\Category
Same instance for chained method calls.