g
Frontend | Backend | Api

Documentation\Models\Backend\GlobalPageRevision

DocumentationPageRevision

Method Description Returns
isActiveRevision() Check if the revision is the active revision bool
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
getCreatedBy() Global Page Revisions don't have an author. Custom getter for the revision block in the sidebar. null