Method | Description | Returns |
---|---|---|
isLocal() | Checks whether the collection element is local. Also returns false for empty collection elements. | bool |
isGlobal() | Checks whether the collection element is global. Also returns false for empty collection elements. | bool |
isEmpty() | Checks if the collection element is empty | bool |
isPublished() | Checks whether the collection element is published | bool |
getPublished() | Checks whether the collection element is published | bool |
getId() | int | |
getPosition() | int | |
getContent() | Content | |
getComponent() | Component | |
getGlobalComponent() | GlobalComponent | |
getContainer() | Model | |
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 |
Common\Models\Backend\CollectionElement
CollectionElement