Defines a limitation for a policy in the permission system. More...
Public Member Functions | |
| & | allValues () |
| & | allValuesAsArrayWithNames () |
| & | allValuesAsString () |
| copy ($policyID) | |
| createNew ($policyID, $identifier) | |
| definition () | |
| eZPolicyLimitation ($row) | |
| fetchByIdentifier ($policyID, $identifier, $asObject=true) | |
| fetchByPolicyID ($policyID, $asObject=true) | |
| findByType ($type, $value, $asObject=true, $useLike=true) | |
| limitArray () | |
| & | limitValue () |
| & | policy () |
| remove ($id=false) | |
| removeSelected ($ID) | |
| setAttribute ($attr, $val) | |
| & | valueList () |
Static Public Member Functions | |
| & | create ($policyID, $identifier) |
Public Attributes | |
| $LimitValue | |
Defines a limitation for a policy in the permission system.
Definition at line 44 of file ezpolicylimitation.php.
| & eZPolicyLimitation::allValues | ( | ) |
Definition at line 351 of file ezpolicylimitation.php.
| & eZPolicyLimitation::allValuesAsArrayWithNames | ( | ) |
Definition at line 233 of file ezpolicylimitation.php.
| & eZPolicyLimitation::allValuesAsString | ( | ) |
Definition at line 217 of file ezpolicylimitation.php.
| eZPolicyLimitation::copy | ( | $ | policyID | ) |
Definition at line 180 of file ezpolicylimitation.php.
| & eZPolicyLimitation::create | ( | $ | policyID, | |
| $ | identifier | |||
| ) | [static] |
Create a new policy limitation for the policy $policyID with the identifier $identifier.
Definition at line 138 of file ezpolicylimitation.php.
| eZPolicyLimitation::createNew | ( | $ | policyID, | |
| $ | identifier | |||
| ) |
Definition at line 123 of file ezpolicylimitation.php.
Referenced by copy().
| eZPolicyLimitation::definition | ( | ) |
The definition array is an associative array consists of these keys:
asc or desc.Example:
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 55 of file ezpolicylimitation.php.
Referenced by fetchByIdentifier(), fetchByPolicyID(), eZPolicy::limitationList(), and removeSelected().
| eZPolicyLimitation::eZPolicyLimitation | ( | $ | row | ) |
Constructor
Definition at line 49 of file ezpolicylimitation.php.
Referenced by create(), createNew(), and findByType().
| eZPolicyLimitation::fetchByIdentifier | ( | $ | policyID, | |
| $ | identifier, | |||
| $ | asObject = true | |||
| ) |
Definition at line 157 of file ezpolicylimitation.php.
| eZPolicyLimitation::fetchByPolicyID | ( | $ | policyID, | |
| $ | asObject = true | |||
| ) |
Definition at line 166 of file ezpolicylimitation.php.
Referenced by eZPolicyLimitationValue::removeByValue().
| eZPolicyLimitation::findByType | ( | $ | type, | |
| $ | value, | |||
| $ | asObject = true, |
|||
| $ | useLike = true | |||
| ) |
Definition at line 382 of file ezpolicylimitation.php.
Referenced by eZSection::canBeRemoved(), and eZContentObjectTreeNode::move().
| eZPolicyLimitation::limitArray | ( | ) |
Get limitation array
Definition at line 337 of file ezpolicylimitation.php.
| & eZPolicyLimitation::limitValue | ( | ) |
Definition at line 85 of file ezpolicylimitation.php.
| & eZPolicyLimitation::policy | ( | ) |
Get policy object of this policy limitation
Definition at line 93 of file ezpolicylimitation.php.
| eZPolicyLimitation::remove | ( | $ | id = false |
) |
Definition at line 193 of file ezpolicylimitation.php.
| eZPolicyLimitation::removeSelected | ( | $ | ID | ) |
Definition at line 151 of file ezpolicylimitation.php.
| eZPolicyLimitation::setAttribute | ( | $ | attr, | |
| $ | val | |||
| ) |
Reimplemented from eZPersistentObject.
Definition at line 103 of file ezpolicylimitation.php.
| & eZPolicyLimitation::valueList | ( | ) |
Definition at line 362 of file ezpolicylimitation.php.
| eZPolicyLimitation::$LimitValue |
Definition at line 423 of file ezpolicylimitation.php.
1.6.3