\ContentElement
Synopsis
class ContentElement
extends DataObject
implements
PermissionProvider
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $extensions = ;
- // methods
- public void providePermissions()
- public boolean canView()
- public boolean canCreate()
- public boolean canEdit()
- public boolean canDelete()
- public void getCMSFields()
- protected int getMaxSort()
- protected void onBeforeWrite()
- public void getSingularName()
- public void Preview()
- public string|null LastChange()
- public void PublishState()
- public void getReadableIdentifier()
- public DataList getSiblings()
- public HTMLText forTemplate()
Hierarchy
Extends
- DataObject
Implements
- PermissionProvider
Members
private
- $db
- $extensions
- $has_one
Methods
protected
public
- LastChange() — returns a readable last change/edit date
- Preview()
- PublishState()
- canCreate()
- canDelete()
- canEdit()
- canView()
- forTemplate()
- getCMSFields()
- getReadableIdentifier() — creates a readable (page) unique identifier for the current content element
- getSiblings() — returns all content element of the same page
- getSingularName()
- providePermissions()