g
Frontend | Backend | Api

Documentation\Models\Frontend\PageRevision

ContentRevision

Method Description Returns
isActiveRevision() Check if the revision is the active revision bool
getText() Get the text for the PageRevision. Ensures configured formatting rules are applied. string
getId() int
getType() string
getEditor() string
getName() string
getCreated() Get the date the record was created. DateTime
getModified() Get the last modification date for the record. DateTime
getCreatedBy() User
getModifiedBy() User
getPage() Page
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