You are here

public function RuleConditionSet::getIterator in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.plugin.inc \RuleConditionSet::getIterator()

Return value

RulesRecursiveElementIterator

Overrides RulesContainerPlugin::getIterator

File

includes/rules_conditional.plugin.inc, line 548
Rules plugin implementation.

Class

RuleConditionSet
Rule as condition set.

Code

public function getIterator() {
  $array = array_merge(array(
    $this->actions,
  ), $this->children);
  return new RulesRecursiveElementIterator($array);
}