Method | Description | Returns |
---|---|---|
getId() | int | |
getName() | string | |
getPosition() | int | |
getParent() | LayoutCategory | |
getLayouts() | Collection (Layout) | |
getChildren() | Collection (LayoutCategory) | |
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 |
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 |
Common\Models\Backend\LayoutCategory
LayoutCategory