Method | Description | Returns |
---|---|---|
getId() | int | |
getName() | string | |
getCreated() | Date the record was created. | DateTime |
getModified() | Last modification date for the record. | DateTime |
getSite() | Site | |
getHooks() | Collection (Hook) | |
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 |
getChildren() | Get the children = hooks for this category | 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 |
getManageUrl() | Get the url for managing records. | string |
getCreateChildUrl() | Get the url for creating a child record. | string |
Hooks\Models\Backend\Category
Category