|
dolibarr 25.0.0-alpha
|
Conjunction node of the access rule tree: met when all its rules are met. More...


Public Member Functions | |
| __construct (array $rules) | |
| getRules () | |
| toPhp () | |
| Render the rules as a PHP boolean expression joined by &&, wrapped in parentheses. | |
| toArray () | |
Conjunction node of the access rule tree: met when all its rules are met.
Definition at line 29 of file AndRule.class.php.
| AndRule::__construct | ( | array | $rules | ) |
| AccessRuleExpression[] | $rules | Child nodes, at least one |
InvalidArgumentException When the list is empty or holds something else than nodes
Definition at line 40 of file AndRule.class.php.
| AndRule::getRules | ( | ) |
Definition at line 56 of file AndRule.class.php.
| AndRule::toArray | ( | ) |
Implements AccessRuleExpression.
Definition at line 78 of file AndRule.class.php.
| AndRule::toPhp | ( | ) |
Render the rules as a PHP boolean expression joined by &&, wrapped in parentheses.
Implements AccessRuleExpression.
Definition at line 66 of file AndRule.class.php.