PHP Class Ingo_Storage_Sql, horde

Author: Jan Schneider ([email protected])
Author: Mike Cochrane ([email protected])
Author: Michael Slusarz ([email protected])
Inheritance: extends Ingo_Storage
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_actions array Mapping of 'rule_action' column in ingo_rules table to rule class names.

Protected Methods

Method Description
_loadFromBackend ( )
_removeUserData ( $user )
_ruleToBackend ( Ingo_Rule $rule ) : array Converts a user rule to the database format.
_storeBackend ( $action, $rule )

Method Details

_loadFromBackend() protected method

protected _loadFromBackend ( )

_removeUserData() protected method

protected _removeUserData ( $user )

_ruleToBackend() protected method

Converts a user rule to the database format.
protected _ruleToBackend ( Ingo_Rule $rule ) : array
$rule Ingo_Rule Rule object.
return array Rule hash in DB's format.

_storeBackend() protected method

protected _storeBackend ( $action, $rule )

Property Details

$_actions protected_oe property

Mapping of 'rule_action' column in ingo_rules table to rule class names.
protected array $_actions
return array