Class Horde_Perms_Permission_Sql
Extension of the Horde_Permission class for storing permission
information in the SQL driver.
Copyright 2008-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
-
Horde_Perms_Permission
-
Horde_Perms_Permission_Sql
Methods summary
public
array
|
#
__sleep( )
Tasks to run on serialize().
Tasks to run on serialize().
Returns
array Parameters that are stored.
|
public
|
#
setObs( Horde_Cache $cache, Horde_Db_Adapter $db )
Sets the helper functions within the object.
Sets the helper functions within the object.
Parameters
- $cache
- The cache object.
- $db
- The database object.
|
public
TODO
|
#
getId( )
Get permission ID.
Returns
TODO
|
public
|
#
setId( string $id )
Set permission id.
Parameters
|
public
|
#
save( )
Saves any changes to this object to the backend permanently. New
objects are added instead.
Saves any changes to this object to the backend permanently. New
objects are added instead.
Throws
Overrides
|
Methods inherited from Horde_Perms_Permission
__construct(),
addCreatorPermission(),
addDefaultPermission(),
addGroupPermission(),
addGuestPermission(),
addUserPermission(),
get(),
getCreatorPermissions(),
getData(),
getDefaultPermissions(),
getGroupPermissions(),
getGuestPermissions(),
getName(),
getUserPermissions(),
removeCreatorPermission(),
removeDefaultPermission(),
removeGroupPermission(),
removeGuestPermission(),
removeUserPermission(),
setCacheVersion(),
setData(),
setName(),
setPerm(),
unsetPerm(),
updatePermissions()
|