class RulesRecursiveElementIterator
A RecursiveIterator for rule elements.
Hierarchy
- class \RulesRecursiveElementIterator extends \ArrayIterator implements \RecursiveIterator
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
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
RulesRecursiveElementIterator::getChildren | public | function | |
RulesRecursiveElementIterator::hasChildren | public | function |