function RulesActionContainer::evaluate
Evaluate, whereas by default new vars are visible in the parent's scope.
Overrides RulesPlugin::evaluate
4 calls to RulesActionContainer::evaluate()
- Rule::evaluate in includes/
rules.plugins.inc - Evaluate, whereas by default new vars are visible in the parent's scope.
- Rule::fire in includes/
rules.plugins.inc - Fires the rule, i.e. evaluates the rule without checking its conditions.
- RulesEventSet::executeByArgs in includes/
rules.plugins.inc - Executes container with the given arguments.
- RulesLoop::evaluate in includes/
rules.plugins.inc - Evaluate, whereas by default new vars are visible in the parent's scope.
2 methods override RulesActionContainer::evaluate()
- Rule::evaluate in includes/
rules.plugins.inc - Evaluate, whereas by default new vars are visible in the parent's scope.
- RulesLoop::evaluate in includes/
rules.plugins.inc - Evaluate, whereas by default new vars are visible in the parent's scope.
File
-
includes/
rules.core.inc, line 2549
Class
- RulesActionContainer
- Base class for all action containers.
Code
public function evaluate(RulesState $state) {
foreach ($this->children as $action) {
$action->evaluate($state);
}
}