Method | Description | Returns |
---|---|---|
getName() | Get the name for the active revision | string |
getQuestionsByCategoryNames(array $names) | Gets all questions of the current page by given category names. It uses 'OR' condition for every passed value. | Collection |
getQuestionsByCategorySlugs(array $slugs) | Gets all questions of the current page by given category slugs. It uses 'OR' condition for every passed value. | Collection |
getQuestionsByTagNames(array $names) | Gets all questions of the current page by given tag names. It uses 'OR' condition for every passed value. | Collection |
getQuestionsByTagSlugs(array $slugs) | Gets all questions of the current page by given tag slugs. It uses 'OR' condition for every passed value. | Collection |
getOriginalPath() | Get the original path for the faq page without custom urls applied | string |
getFullSlug() | string | |
getFullPath() | string | |
getId() | int | |
getSlug() | string | |
getCreated() | Get the date the record was created. | DateTime |
getModified() | Get the last modification date for the record. | DateTime |
getPublished() | DateTime | |
getActiveRevision() | PageRevision | |
getRevisions() | Collection (PageRevision) | |
getRevisionById(int $id) | Get the revision with the specified id. | PageRevision |
getLastRevision() | Get the last revision for the entity. If a revision has been added, this will be the newly added revision. | PageRevision |
getParent() | Page | |
getSourcePage() | Page | |
getRelatedPages() | Collection (Page) | |
getLanguage() | Language | |
getSeoSettings() | SeoSettings | |
getSite() | Site | |
getCreatedBy() | User | |
getModifiedBy() | User | |
getOwner() | User | |
isPublished() | Check if the record is published. | bool |
getChildren() | Collection (Page) | |
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 |
getAvailableLayouts() | Get available layouts | Collection |
getAvailableUsers() | Get available users | Collection |
getAvailableQuestions() | Get available questions. | Collection |
getHateoasLinks() | Get the HATEOAS links for the record | array |
getCreateChildUrl() | Get the url for creating a child record. | string |
getEditUrl() | Get the url for editing the record. | string |
getDeleteUrl() | Get the url for deleting 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 |
getManageUrl() | Get the url for managing records. | string |
getShowFrontendUrl() | Get the url showing the record in the frontend | string |
getDuplicateUrl() | Get the url for duplicating the record. | string |
Faq\Models\Backend\Page
Page