|
eZ Publish
[4.2]
|
Defines a limitation value for a policy in the permission system. More...
Inheritance diagram for eZPolicyLimitationValue:
Collaboration diagram for eZPolicyLimitationValue:Public Member Functions | |
| copy ($limitationID) | |
| eZPolicyLimitationValue ($row) | |
Static Public Member Functions | |
| static | create ($limitationID, $value) |
| static | createNew ($limitationID, $value) |
| static | definition () |
| static | fetchList ($limitationID, $asObject=true) |
| static | removeByValue ($value, $policyID=false) |
Defines a limitation value for a policy in the permission system.
Definition at line 40 of file ezpolicylimitationvalue.php.
| eZPolicyLimitationValue::copy | ( | $ | limitationID | ) |
Definition at line 108 of file ezpolicylimitationvalue.php.
| static eZPolicyLimitationValue::create | ( | $ | limitationID, |
| $ | value | ||
| ) | [static] |
Creates a new limitation value for the limitation $limitationID and returns it.
Definition at line 96 of file ezpolicylimitationvalue.php.
| static eZPolicyLimitationValue::createNew | ( | $ | limitationID, |
| $ | value | ||
| ) | [static] |
Definition at line 81 of file ezpolicylimitationvalue.php.
Referenced by copy().
| static eZPolicyLimitationValue::definition | ( | ) | [static] |
The definition array is an associative array consists of these keys:
asc or desc.Example:
static function definition() { return array( "fields" => array( "id" => "ID", "version" => "Version", "name" => "Name" ), "keys" => array( "id", "version" ), "function_attributes" => array( "current" => "currentVersion", "class_name" => "className" ), "increment_key" => "id", "class_name" => "eZContentClass", "sort" => array( "id" => "asc" ), "name" => "ezcontentclass" ); }
Reimplemented from eZPersistentObject.
Definition at line 51 of file ezpolicylimitationvalue.php.
Referenced by fetchList(), removeByValue(), and eZPolicyLimitation\valueList().
| eZPolicyLimitationValue::eZPolicyLimitationValue | ( | $ | row | ) |
Constructor
Definition at line 45 of file ezpolicylimitationvalue.php.
Referenced by create(), and createNew().
| static eZPolicyLimitationValue::fetchList | ( | $ | limitationID, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 113 of file ezpolicylimitationvalue.php.
| static eZPolicyLimitationValue::removeByValue | ( | $ | value, |
| $ | policyID = false |
||
| ) | [static] |
Definition at line 127 of file ezpolicylimitationvalue.php.