$_shareManager
$_shareManager : \Horde_Share
Horde_Share instance for managing shares.
The whups query manager.
Copyright 2001-2002 Robert E. Coyle robertecoyle@hotmail.com Copyright 2001-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsdl.php.
getQuery(integer $queryId) : \Whups_Query
Returns a specific query identified by its id.
integer | $queryId | A query id. |
The matching query or null if not found.
getQueryBySlug(string $slug) : \Whups_Query
Returns a specific query identified by its slug name.
string | $slug | A query slug. |
The matching query or null if not found.
hasPermission(integer $queryId, string $userid, integer $permission, string $creator = null) : boolean
Checks to see if a user has a given permission to $queryId.
integer | $queryId | The query to check. |
string | $userid | The userid of the user. |
integer | $permission | A Horde_Perms::* constant to test for. |
string | $creator | The creator of the event. |
Whether or not $userid has $permission.
save(\Whups_Query $query)
\Whups_Query | $query | The query to save. |
delete(\Whups_Query $query)
\Whups_Query | $query | The query to delete. |
_getQuery(\Horde_Share_Object $share) : \Whups_Query
Builds a query object from a share object.
\Horde_Share_Object | $share | A share object representing a query. |
The query object built from the share.