|
eZ Publish
[4.2]
|
Defines a limitation for a policy in the permission system. More...
Inheritance diagram for eZPolicyLimitation:
Collaboration diagram for eZPolicyLimitation:Public Member Functions | |
| allValues () | |
| allValuesAsArrayWithNames () | |
| allValuesAsString () | |
| copy ($policyID) | |
| eZPolicyLimitation ($row) | |
| limitArray () | |
| limitValue () | |
| policy () | |
| removeThis () | |
| setAttribute ($attr, $val) | |
| valueList () | |
Static Public Member Functions | |
| static | create ($policyID, $identifier) |
| static | createNew ($policyID, $identifier) |
| static | definition () |
| static | fetchByIdentifier ($policyID, $identifier, $asObject=true) |
| static | fetchByPolicyID ($policyID, $asObject=true) |
| static | findByType ($type, $value, $asObject=true, $useLike=true) |
| static | removeByID ($id) |
| static | removeSelected ($ID) |
Public Attributes | |
| $LimitValue | |
Defines a limitation for a policy in the permission system.
Definition at line 40 of file ezpolicylimitation.php.
| eZPolicyLimitation::allValues | ( | ) |
Definition at line 339 of file ezpolicylimitation.php.
| eZPolicyLimitation::allValuesAsArrayWithNames | ( | ) |
Definition at line 223 of file ezpolicylimitation.php.
| eZPolicyLimitation::allValuesAsString | ( | ) |
Definition at line 207 of file ezpolicylimitation.php.
| eZPolicyLimitation::copy | ( | $ | policyID | ) |
Definition at line 171 of file ezpolicylimitation.php.
| static eZPolicyLimitation::create | ( | $ | policyID, |
| $ | identifier | ||
| ) | [static] |
Create a new policy limitation for the policy $policyID with the identifier $identifier.
Definition at line 130 of file ezpolicylimitation.php.
| static eZPolicyLimitation::createNew | ( | $ | policyID, |
| $ | identifier | ||
| ) | [static] |
Definition at line 115 of file ezpolicylimitation.php.
Referenced by copy().
| static eZPolicyLimitation::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 ezpolicylimitation.php.
Referenced by fetchByIdentifier(), fetchByPolicyID(), eZPolicy\limitationList(), and removeSelected().
| eZPolicyLimitation::eZPolicyLimitation | ( | $ | row | ) |
Constructor
Definition at line 45 of file ezpolicylimitation.php.
Referenced by create(), createNew(), and findByType().
| static eZPolicyLimitation::fetchByIdentifier | ( | $ | policyID, |
| $ | identifier, | ||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 148 of file ezpolicylimitation.php.
| static eZPolicyLimitation::fetchByPolicyID | ( | $ | policyID, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 157 of file ezpolicylimitation.php.
Referenced by eZPolicyLimitationValue\removeByValue().
| static eZPolicyLimitation::findByType | ( | $ | type, |
| $ | value, | ||
| $ | asObject = true, |
||
| $ | useLike = true |
||
| ) | [static] |
Definition at line 370 of file ezpolicylimitation.php.
Referenced by eZSection\canBeRemoved(), eZRole\cleanupByNode(), and eZContentObjectTreeNode\move().
| eZPolicyLimitation::limitArray | ( | ) |
Get limitation array
Definition at line 325 of file ezpolicylimitation.php.
| eZPolicyLimitation::limitValue | ( | ) |
Definition at line 82 of file ezpolicylimitation.php.
| eZPolicyLimitation::policy | ( | ) |
Get policy object of this policy limitation
Definition at line 90 of file ezpolicylimitation.php.
| static eZPolicyLimitation::removeByID | ( | $ | id | ) | [static] |
Definition at line 183 of file ezpolicylimitation.php.
Referenced by removeThis().
| static eZPolicyLimitation::removeSelected | ( | $ | ID | ) | [static] |
Definition at line 142 of file ezpolicylimitation.php.
| eZPolicyLimitation::removeThis | ( | ) |
Definition at line 202 of file ezpolicylimitation.php.
| eZPolicyLimitation::setAttribute | ( | $ | attr, |
| $ | val | ||
| ) |
Sets the attribute $attr to the value $val. The attribute must be present in the objects definition fields or set functions.
Reimplemented from eZPersistentObject.
Definition at line 95 of file ezpolicylimitation.php.
| eZPolicyLimitation::valueList | ( | ) |
Definition at line 350 of file ezpolicylimitation.php.
| eZPolicyLimitation::$LimitValue |
Definition at line 411 of file ezpolicylimitation.php.