Méthode |
Description |
|
create ( ) : boolean |
Create a new record for the object in database |
|
delete ( ) : void |
Deletes object from database |
|
deleteAllPermissions ( ) : void |
|
|
deleteAllProperties ( ) : void |
deletes all properties for the object from database |
|
getById ( integer $id ) |
Get the data for the object from database for the given id |
|
getByPath ( string $path ) |
Get the data for the object from database for the given path |
|
getChildAmount ( $objectTypes = [Object::OBJECT_TYPE_OBJECT, Object::OBJECT_TYPE_FOLDER], User $user = null ) : integer |
returns the amount of directly childs (not recursivly) |
|
getChildPermissions ( $type, $user, $quote = true ) |
|
|
getClasses ( ) |
|
|
getCurrentFullPath ( ) : string |
|
|
getPermissions ( $type, $user, $quote = true ) |
|
|
getProperties ( $onlyInherited = false ) : [] |
Get the properties for the object from database and assign it |
|
getTypeById ( $id ) |
|
|
hasChildren ( $objectTypes = [Object::OBJECT_TYPE_OBJECT, Object::OBJECT_TYPE_FOLDER] ) : boolean |
Quick test if there are childs |
|
hasChilds ( array $objectTypes = [Object::OBJECT_TYPE_OBJECT, Object::OBJECT_TYPE_FOLDER] ) : boolean |
|
|
hasSiblings ( array $objectTypes = [Object::OBJECT_TYPE_OBJECT, Object::OBJECT_TYPE_FOLDER] ) : boolean |
Quick test if there are siblings |
|
isAllowed ( $type, $user ) |
|
|
isLocked ( ) |
|
|
unlockPropagate ( ) |
|
|
update ( ) |
|
|
updateChildsPaths ( string $oldPath ) : void |
Updates the paths for children, children's properties and children's permissions in the database |
|
updateWorkspaces ( ) |
|
|