Frontend | Backend | Api

Common\Models\Backend\LayoutCategory

LayoutCategory

Method Description Returns
getId() int
getName() string
getPosition() int
getParent() LayoutCategory
getLayouts() Collection (Layout)
getChildren() Collection (LayoutCategory)
getFullPosition() Get the full, dot-separated full position for hierarchical records 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
isVersionedModel() Check whether a model is versioned bool
getAvailableParents() Get the available parents for this layout category. Only fetches categories that aren't the current category. Collection
getHateoasLinks() Get the HATEOAS links for the record array
getEditUrl() Get the url for editing the record. string
getManageUrl() Get the url for managing records. string
getDeleteUrl() Get the url for deleting the record. string