Frontend | Backend | Api

Sites\Models\Frontend\Hostname

Hostname

Method Description Returns
isPrimary() Check whether this hostname is the primary hostname in the environment bool
getId() int
getHostname() string
getEnvironment() 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