Метод |
Описание |
|
__construct ( string $id, Horde_Group_Base $groups, array $data = [] ) |
Constructor. |
|
countChildren ( string $user, integer $perm = Horde_Perms::SHOW, boolean $allLevels = true ) : integer |
Return a count of the number of children this share has |
|
deleteAcl ( string $user ) : null |
Delete Kolab specific access rights for this share. |
|
get ( string $attribute ) : mixed |
Returns an attribute value from this object. |
|
getAcl ( ) : An |
Retrieve the Kolab specific access rights for this share. |
|
getChildren ( string $user, integer $perm = Horde_Perms::SHOW, boolean $allLevels = true ) : array |
Get all children of this share. |
|
getId ( ) : string |
Returns the ID of this share. |
|
getName ( ) : string |
Returns the name of this share. |
|
getOwner ( ) : string |
Returns the owner of this share. |
|
getParent ( ) : Horde_Share_Object | null |
Returns a child's direct parent. |
|
getParents ( ) : array() |
Get all of this share's parents. |
|
getPermission ( ) : Horde_Perms_Permission_Kolab |
Returns the permissions from this storage object. |
|
getPermissionId ( ) : string |
Returns the permission ID of this share. |
|
hasPermission ( string $userid, integer $permission, string $creator = null ) : boolean |
Checks to see if a user has a given permission. |
|
serialize ( ) : string |
Serialize this object. |
|
set ( string $attribute, mixed $value, boolean $update = false ) : null |
Sets an attribute value in this object. |
|
setAcl ( string $user, string $acl ) : null |
Set the Kolab specific access rights for this share. |
|
setParent ( mixed $parent ) : null |
Set the parent object for this share. |
|
setPermission ( Horde_Perms_Permission_Kolab $perms, boolean $update = true ) : null |
Sets the permissions on the share. |
|
unserialize ( $data ) |
Unserialize object. |
|