function Rule::getIterator

Return value

RulesRecursiveElementIterator

Overrides RulesContainerPlugin::getIterator

File

includes/rules.plugins.inc, line 282

Class

Rule
An actual rule.

Code

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