Method | Description | Returns |
---|---|---|
getName() | Get the name for the active revision | string |
getText() | Get the text for the active revision | string |
getParents() | Get the parents of this page, with this page being the last element in the array | array |
getFullSlug() | string | |
getFullPath() | string | |
getOriginalPath() | string | |
isGlobal() | Return the info that this is a global documentation page | bool |
getCommentsCount() | Get the number of comments for this page. | int |
getImageTargetFolderPath() | Get the target folder path for uploaded images. Images will be moved to this path after the upload has been processed. | string |
getImageSelectorStartPath() | Get the start folder for browsing images related to this record using the file manager | string |
getId() | int | |
getPosition() | 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() | GlobalPageRevision | |
getRevisionById(int $id) | Get the revision with the specified id | GlobalPageRevision |
getParent() | GlobalPage | |
isPublished() | Check if the record is published. | bool |
getRevisions() | Collection | |
getLastRevision() | Get the last revision for the entity. If a revision has been added, this will be the newly added revision. | GlobalPageRevision |
getChildren() | Collection | |
getComments() | Collection | |
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 |
Documentation\Models\Frontend\GlobalPage
GlobalPage