Class Horde_Share_Object
Abstract class for storing Share information.
This class should be extended for the more specific drivers.
- Horde_Share_Object implements Serializable
Direct known subclasses
Horde_Share_Object_Datatree, Horde_Share_Object_Kolab, Horde_Share_Object_SqlIndirect known subclasses
Horde_Share_Object_SqlngPackage: Share
Author: Mike Cochrane mike@graftonhall.co.nz
Author: Jan Schneider jan@horde.org
Author: Gunnar Wrobel wrobel@pardus.de
Located at Horde/Share/Object.php
public
|
#
setShareOb( mixed $shareOb )
Associates a Share object with this share, or provides a callback that knows how to provide it. |
public
Horde_Share
|
|
abstract public
boolean
|
|
abstract public
mixed
|
|
abstract public
string
|
|
abstract public
string
|
|
public
boolean
|
|
public
|
#
addUserPermission( string $userid, integer $permission )
Gives a user a certain privilege for this share. |
public
|
#
removeUserPermission( string $userid, integer $permission )
Removes a certain privilege for a user from this share. |
public
|
#
addGroupPermission( string $group, integer $permission )
Gives a group certain privileges for this share. |
public
|
#
removeGroupPermission( string $group, constant $permission )
Removes a certain privilege from a group. |
public
|
|
public
|
|
public
array
|
|
public
array
|
#
listGroups( integer $perm_level = null )
Returns an array containing all the groupids of the groups with access to this share. |
public
|
|
public
|
#
removeGuestPermission( integer $permission )
Removes a certain privilege for guests from this share. |
public
|
|
public
|
#
removeCreatorPermission( integer $permission )
Removes a certain privilege for creators from this share. |
public
|
#
addDefaultPermission( integer $permission )
Gives all authenticated users a certain privilege for this share. |
public
|
#
removeDefaultPermission( integer $permission )
Removes a certain privilege for all authenticated users from this share. |
abstract public
boolean
|
#
hasPermission( string $userid, integer $permission, string $creator = null )
Checks to see if a user has a given permission. |
abstract public
|
#
setPermission( Horde_Perms_Permission $perm, boolean $update = true )
Sets the permission of this share. |
abstract public
Horde_Perms_Permission
|
serialize(),
unserialize()
|