g
Frontend | Backend | Api

Sites\Models\Frontend\SiteData

Site

Method Description Returns
getId() int
getKey() string
getCreated() Get the date the record was created. DateTime
getModified() Get the last modification date for the record. DateTime
getCreatedBy() User
getClient() Client
getSite() Site associated with the site data Site
getContent() Get content from the site data mixed
getType() Get type of the content; either json or scalar string
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