g
Frontend | Backend | Api

Products\Models\Backend\CategoryDescription

CategoryDescription

Method Description Returns
getFullSlug() Get the slug of the page, including the slugs of parent pages string
getFullPath() Get the full path including the module route name string
getOriginalPath() Get the original path for the category without any custom urls applied string
getId() int
getName() string
getSlug() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getPublished() DateTime
getLanguage() Language
getCategory() Category
getActiveRevision() CategoryDescriptionRevision
getSeoSettings() SeoSettings
getSite() Site
isPublished() Determines if the record is published. bool
getRevisions() Collection (CategoryDescriptionRevision)
getLastRevision() Get the last revision for the entity. If a revision has been added, this will be the newly added revision. CategoryDescriptionRevision
getRevisionById(int $id) Get the revision with the specified id CategoryDescriptionRevision
getCustomUrl() Get the custom url used for the page. This will take precedence over the slugs of this page, parent page and the module. CustomUrl
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool