g
Frontend | Backend | Api

Sites\Models\Backend\Client

Client

Method Description Returns
getId() int
getName() string
getSites() Collection (Site)
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
getSitesCount() Get the number of sites for this client. int
getHateoasLinks() Get the HATEOAS links for the record array
getCreateChildUrl() Get the url for creating a child record. string
getEditUrl() Get the url for editing the record. string