Méthode |
Description |
|
__toString ( ) : string |
|
|
getCacheTag ( ) : string |
get the cache tag for the element |
|
getCacheTags ( array $tags = [] ) : array |
Get the cache tags for the element, resolve all dependencies to tag the cache entries
This is necessary to update the cache if there is a change in an depended object |
|
getProperty ( string $name, boolean $asContainer = false ) : mixed |
Get specific property data or the property object itself ($asContainer=true) by its name, if the
property doesn't exists return null |
|
getUserPermissions ( ) : array |
|
|
hasNoChilds ( ) : boolean |
Inverted hasChilds() |
|
hasProperty ( $name ) : boolean |
|
|
isAllowed ( string $type ) : boolean |
This is used for user-permissions, pass a permission type (eg. list, view, save) an you know if the current user is allowed to perform the requested action |
|
isLocked ( ) : boolean |
Returns true if the element is locked |
|
removeProperty ( $name ) |
|
|
resolveDependencies ( ) : array |
Resolves the dependencies of the element and returns an array of them - Used by update() |
|
unlockPropagate ( ) |
|
|