Frontend | Backend | Api

Documentation\Models\Backend\PageRevision

ContentRevision

Method Description Returns
isActiveRevision() Check if the revision is the active revision bool
getText() Get the text for this page revision. Also parses image and link placeholders in the process. 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
isVersionedModel() Check whether a model is versioned bool