Frontend | Backend | Api

Sites\Models\Frontend\Site

Site

Method Description Returns
getId() int
getName() string
getPrimaryEnvironment() Environment
getCreated() Get the date the record was created. DateTime
getModified() Get the last modification date for the record. DateTime
getPublished() Get the date the record was published or is scheduled to be published. DateTime
isPublished() Check if the record is published. bool
getClient() Client
getEnvironments() Collection (Environment)
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