Frontend | Backend | Api

Common\Models\Frontend\CollectionElement

CollectionElement

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() Retrieve the component for the collection. In the frontend, this method also delivers global components. 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