class RulesRecursiveElementIterator

A RecursiveIterator for rule elements.

Hierarchy

Expanded class hierarchy of RulesRecursiveElementIterator

File

includes/rules.core.inc, line 2192

View source
class RulesRecursiveElementIterator extends ArrayIterator implements RecursiveIterator {
    public function getChildren() {
        return $this->current()
            ->getIterator();
    }
    public function hasChildren() {
        return $this->current() instanceof IteratorAggregate;
    }

}

Members