Frontend | Backend | Api

Documentation\Models\Backend\GlobalPageRevision

DocumentationPageRevision

Method Description Returns
isActiveRevision() Check if the revision is the active revision bool
getGlobalPage() Get global page GlobalPage
getId() int
getType() string
getName() string
getText() string
getEditor() string
getCreated() Get the date the record was created. DateTime
getModified() Get the last modification date for the record. DateTime
getPage() GlobalPage
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
isVersionedModel() Check whether a model is versioned bool
getCreatedBy() Global Page Revisions don't have an author. Custom getter for the revision block in the sidebar. null