Frontend | Backend | Api

Sites\Models\Backend\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
getAvailableEnvironments() Get the available environments Collection
getHateoasLinks() Get the HATEOAS links for the record array
getEditUrl() Get the url for editing the record. string
getDeleteUrl() Get the url for deleting the record. string