PHP Class Horde_Perms_Permission_Sql, horde
Copyright 2008-2016 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.
Mostra file
Open project: horde/horde
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$_cache |
Horde_Cache |
Cache object. |
|
$_db |
Horde_Db_Adapter |
Database handle for saving changes. |
|
$_id |
string |
The string permission id. |
|
Public Methods
Method |
Description |
|
__sleep ( ) : array |
Tasks to run on serialize(). |
|
getId ( ) : TODO |
Get permission ID. |
|
save ( ) |
Saves any changes to this object to the backend permanently. New
objects are added instead. |
|
setId ( string $id ) |
Set permission id. |
|
setObs ( Horde_Cache $cache, Horde_Db_Adapter $db ) |
Sets the helper functions within the object. |
|
Method Details
Tasks to run on serialize().
public getId ( ) : TODO |
return |
TODO |
|
Saves any changes to this object to the backend permanently. New
objects are added instead.
Sets the helper functions within the object.
public setObs ( Horde_Cache $cache, Horde_Db_Adapter $db ) |
$cache |
Horde_Cache |
The cache object. |
$db |
Horde_Db_Adapter |
The database object. |
Property Details
$_cache protected_oe property
protected Horde_Cache $_cache |
return |
Horde_Cache |
|
$_db protected_oe property
Database handle for saving changes.
protected Horde_Db_Adapter $_db |
return |
Horde_Db_Adapter |
|
$_id protected_oe property
The string permission id.
protected string $_id |
return |
string |
|