-
$_app
-
The application we're managing shares for.
-
$_availablePermissions
-
A list of available permission.
-
$_cache
-
A cache of all shares that have been retrieved, so we don't hit the backend again and again for them.
-
$_data
-
A cache for the share attributes.
-
$_datatree
-
Pointer to a DataTree instance to manage/store shares
-
$_db
-
Handle for the current database connection.
-
$_folder
-
The Kolab folder this share is based on.
-
$_folder_name
-
The Kolab folder name.
-
$_list
-
Our Kolab folder list handler
-
$_list
-
Our Kolab folder list handler
-
$_listcache
-
Cache used for listShares().
-
$_listCacheValidity
-
A marker for the validity of the list cache
-
$_params
-
SQL connection parameters
-
$_root
-
The root of the Share tree.
-
$_shareMap
-
Id-name-map of already cached share objects.
-
$_shareOb
-
The Horde_Share object which this share came from - needed for updating data in the backend to make changes stick, etc.
-
$_shareObject
-
The Horde_Share_Object subclass to instantiate objects as
-
$_shareObject
-
The Horde_Share_Object subclass to instantiate objects as
-
$_shareObject
-
The Horde_Share_Object subclass to instantiate objects as
-
$_shareObject
-
The Horde_Share_Object subclass to instantiate objects as
-
$_sortList
-
A list of objects that we're currently sorting, for reference during the sorting algorithm.
-
$_table
-
Main share table for the current scope.
-
$_type
-
The share type
-
$_write_db
-
Handle for the current database connection, used for writing. Defaults to the same handle as $db if a separate write database is not required.
-
_addShare
-
Adds a share to the shares system.
-
_addShare
-
Adds a share to the shares system.
-
_addShare
-
Adds a share to the shares system.
-
_buildPermsFromRow
-
Builds a list of permission bit masks from the "perm" column.
-
_buildPermsFromRow
-
Builds a list of permission bit masks from all columns in a data row prefixed with "perm_".
-
_connect
-
Attempts to open a connection to the sql server.
-
_countShares
-
Returns the number of shares that $userid has access to.
-
_countShares
-
Returns the number of shares that $userid has access to.
-
_countShares
-
Returns the number of shares that $userid has access to.
-
_exists
-
Checks if a share exists in the system.
-
_exists
-
Checks if a share exists in the system.
-
_exists
-
Checks if a share exists in the system.
-
_folderError
-
Return a standard error in case the share has not been correctly initialized.
-
_fromAttributes
-
Takes in a list of attributes from the backend and maps it to our internal data array.
-
_fromDriverCharset
-
Utility function to convert from the SQL server's charset.
-
_get
-
Returns one of the attributes of the object, or null if it isn't defined.
-
_get
-
Returns an attribute value from this object.
-
_get
-
Returns one of the attributes of the object, or null if it isn't defined.
-
_get
-
Returns one of the attributes of the object, or null if it isn't defined.
-
_getId
-
Returns the ID of this share.
-
_getId
-
Returns the ID of this share.
-
_getId
-
Returns the ID of this share.
-
_getName
-
Returns the name of this share.
-
_getName
-
Returns the name of this share.
-
_getName
-
Hierarchical shares do not have share names.
-
_getName
-
Returns the name of this share.
-
_getPermsCriteria
-
Builds an ANDed criteria snippet for a set or permissions.
-
_getShare
-
Returns a Horde_Share_Object_sql object corresponding to the given share name, with the details retrieved appropriately.
-
_getShare
-
Returns a Horde_Share_Object_kolab object of the request folder.
-
_getShare
-
Returns a Horde_Share_Object_datatree object corresponding to the given share name, with the details retrieved appropriately.
-
_getShareById
-
Returns a Horde_Share_Object_datatree object corresponding to the given unique ID, with the details retrieved appropriately.
-
_getShareById
-
Returns a Horde_Share_Object_sql object corresponding to the given unique ID, with the details retrieved appropriately.
-
_getShareById
-
Returns a Horde_Share_Object_kolab object of the requested folder.
-
_getShareCriteria
-
Returns an array of criteria for querying shares.
-
_getShareCriteria
-
Returns an array of criteria for querying shares.
-
_getShareCriteria
-
Returns an array of criteria for querying shares.
-
_getShareCriteria
-
Returns a criteria statement for querying shares.
-
_getShareGroups
-
Get groups permissions
-
_getSharePerms
-
-
_getSharePerms
-
Converts the permissions from the database table format into the Horde_Share format.
-
_getShares
-
Returns an array of Horde_Share_Object_sql objects corresponding to the given set of unique IDs, with the details retrieved appropriately.
-
_getShares
-
Returns an array of Horde_Share_Object_datatree objects corresponding to the given set of unique IDs, with the details retrieved appropriately.
-
_getShares
-
Returns an array of Horde_Share_Object_kolab objects corresponding to the requested folders.
-
_getShares
-
Returns an array of Horde_Share_Object_sql objects corresponding to the given set of unique IDs, with the details retrieved appropriately.
-
_getShareUsers
-
Get users permissions
-
_getUserAndGroupShares
-
Returns the records and share IDs from the user and group tables that match the search criteria.
-
_hasGroups
-
Finds out if the share has user set
-
_hasUsers
-
Finds out if the share has user set
-
_listAllShares
-
Lists *all* shares for the current app/share, regardless of permissions.
-
_listAllShares
-
Lists *all* shares for the current app/share, regardless of permissions.
-
_listAllShares
-
Lists *all* shares for the current app/share, regardless of permissions.
-
_listShares
-
Returns an array of all shares that $userid has access to.
-
_listShares
-
Returns an array of all shares that $userid has access to.
-
_loadPermissions
-
Helper function to load the permissions data into the share data
-
_newShare
-
Returns a new share object.
-
_newShare
-
Returns a new share object.
-
_newShare
-
Returns a new share object.
-
_newShare
-
Returns a new share object.
-
_removeShare
-
Removes a share from the shares system permanently.
-
_removeShare
-
Removes a share from the shares system permanently.
-
_removeShare
-
Removes a share from the shares system permanently.
-
_save
-
Saves the current attribute values.
-
_save
-
Saves the current attribute values.
-
_save
-
Saves the current attribute values.
-
_save
-
Saves the current attribute values.
-
_selectDB
-
Resets the current database name so that MDB2 is always selecting the database before sending a query.
-
_set
-
Sets an attribute value in this object.
-
_set
-
Sets an attribute value in this object.
-
_set
-
Sets an attribute value in this object.
-
_setAvailablePermissions
-
Populates the $availablePermissions property with all seen permissions.
-
_sortShares
-
Utility function to be used with uasort() for sorting arrays of Horde_Share objects.
-
_toAttributes
-
Maps this object's attributes from the data array into a format that we can store in the attributes storage backend.
-
_toDriverCharset
-
Utility function to convert TO the SQL server's charset.
-
_toDriverKeys
-
Convert an array keyed on client keys to an array keyed on the driver keys.
-
__sleep
-
Returns the properties that need to be serialized.
-
__sleep
-
Returns the properties that need to be serialized.
-
__sleep
-
Returns the properties that need to be serialized.
-
__sleep
-
Returns the properties that need to be serialized.
-
__sleep
-
Returns the properties that need to be serialized.
-
__sleep
-
Returns the properties that need to be serialized.
-
__wakeup
-
Initializes the object.
-
__wakeup
-
Initializes the object.
-
__wakeup
-
Initializes the object.
-
__wakeup
-
Initializes the object.
-
__wakeup
-
Initializes the object.