|
eZ Publish
[trunk]
|
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 () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetchList ($limitationID, $asObject=true) |
| static | removeByValue ($value, $policyID=false) |
Defines a limitation value for a policy in the permission system.
Definition at line 17 of file ezpolicylimitationvalue.php.
| eZPolicyLimitationValue::copy | ( | $ | limitationID | ) |
Definition at line 85 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 73 of file ezpolicylimitationvalue.php.
| static eZPolicyLimitationValue::createNew | ( | $ | limitationID, |
| $ | value | ||
| ) | [static] |
Definition at line 58 of file ezpolicylimitationvalue.php.
Referenced by copy(), and processDropdownLimitations().
| static eZPolicyLimitationValue::definition | ( | ) | [static] |
Returns the definition for the object, the default implementation is to return an empty array.
It's upto each inheriting class to return a proper definition array.
The definition array is an associative array consists of these keys:
Example: public 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 28 of file ezpolicylimitationvalue.php.
Referenced by fetchList(), removeByValue(), and eZPolicyLimitation\valueList().
Constructor
Definition at line 22 of file ezpolicylimitationvalue.php.
Referenced by create(), and createNew().
| static eZPolicyLimitationValue::fetchList | ( | $ | limitationID, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 90 of file ezpolicylimitationvalue.php.
| static eZPolicyLimitationValue::removeByValue | ( | $ | value, |
| $ | policyID = false |
||
| ) | [static] |
Definition at line 104 of file ezpolicylimitationvalue.php.