Method | Description | Returns |
---|---|---|
getFullSlug() | Get the full slug for this description, including category slugs but without the module slug | string |
getFullPath() | Get the full path including the module route name | string |
getOriginalPath() | Get the original path for the product description without any custom urls applied | string |
getId() | int | |
getName() | string | |
getText() | string | |
getSlug() | string | |
getCreated() | Date the record was created. | DateTime |
getModified() | Last modification date for the record. | DateTime |
getPublished() | DateTime | |
isPublished() | Determines if the record is published. | bool |
getLanguage() | Language | |
getActiveRevision() | ProductDescriptionRevision | |
getRevisions() | Collection (ProductDescriptionRevision) | |
getTags() | Collection (Tag) | |
getProduct() | BaseProduct | |
getSite() | Site | |
getLastRevision() | Get the last revision for the entity. If a revision has been added, this will be the newly added revision. | ProductDescriptionRevision |
getRevisionById(int $id) | Get the revision with the specified id | ProductDescriptionRevision |
getSeoSettings() | SeoSettings | |
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 |
getHateoasLinks() | Force product descriptions to use its products' HATEOAS links | array |
getCreateChildUrl() | Get the url for creating a child record. | string |
getDeleteUrl() | Get the url for deleting the record. | string |
getEditUrl() | Get the url for editing the record. | string |
getMoveUrl() | Get the url for moving the record. | string |
getPermissionsUrl() | Get the url for editing the permissions of the record. | string |
getCheckPermissionsUrl() | Get the url for checking user permissions for this record. | string |
getPublishUrl() | Get the url for publishing the record. | string |
getShowFrontendUrl() | Get the url showing the record in the frontend | string |
Products\Models\Backend\ProductDescription
ProductDescription