Horde_Share:: provides an interface to all shares a user might have. Its methods take care of any site-specific restrictions configured in in the application's prefs.php and conf.php files.
$Horde: framework/Share/Share.php,v 1.111.2.33 2009/04/20 21:09:02 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/) Copyright 2002-2007 Infoteck Internet <webmaster@infoteck.qc.ca>
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Share/Share.php (line 23)
Class | Description |
---|---|
![]() |
Horde_Share_datatree:: provides the datatree backend for the horde share driver. |
![]() |
Horde_Share_kolab:: provides the kolab backend for the horde share driver. |
![]() |
The application we're managing shares for.
A cache of all shares that have been retrieved, so we don't hit the backend again and again for them.
Cache used for listShares().
The root of the Share tree.
Id-name-map of already cached share objects.
A list of objects that we're currently sorting, for reference during the sorting algorithm.
Attempts to return a reference to a concrete Horde_Share instance.
It will only create a new instance if no Horde_Share instance currently exists.
This method must be invoked as:
Constructor.
Adds a share to the shares system.
The share must first be created with Horde_Share::newShare(), and have any initial details added to it, before this function is called.
Returns the number of shares that $userid has access to.
Checks if a share exists in the system.
Returns the Identity for a particular share owner.
Finds out what rights the given user has to this object.
Returns a Horde_Share_Object object corresponding to the given share name, with the details retrieved appropriately.
Returns a Horde_Share_Object object corresponding to the given unique ID, with the details retrieved appropriately.
Returns an array of Horde_Share_Object objects corresponding to the given set of unique IDs, with the details retrieved appropriately.
Lists *all* shares for the current app/share, regardless of permissions.
This is for admin functionality and scripting tools, and shouldn't be called from user-level code!
Returns an array of all shares that $userid has access to.
Returns a new share object.
Removes a share from the shares system permanently.
Stores the object in the session cache.
Utility function to be used with uasort() for sorting arrays of Horde_Share objects.
Example:
Returns the properties that need to be serialized.
Initializes the object.
Documentation generated on Sun, 30 Jan 2011 05:21:19 +0000 by phpDocumentor 1.4.3