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.
Author: Duck ([email protected])
Inheritance: extends Horde_Perms_Permission
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

__sleep() public method

Tasks to run on serialize().
public __sleep ( ) : array
return array Parameters that are stored.

getId() public method

Get permission ID.
public getId ( ) : TODO
return TODO

save() public method

Saves any changes to this object to the backend permanently. New objects are added instead.
public save ( )

setId() public method

Set permission id.
public setId ( string $id )
$id string Permission ID.

setObs() public method

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

Cache object.
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