You are here

class ArrayDataItemIterator in Views Exposed Form Fieldset 7

Class ArrayDataItemIterator

Hierarchy

Expanded class hierarchy of ArrayDataItemIterator

File

includes/ArrayDataItemIterator.php, line 10
ArrayDataItemIterator class file.

View source
class ArrayDataItemIterator extends ArrayIterator implements RecursiveIterator {

  /**
   * @return \DataItemIterator
   */
  public function getChildren() {
    $item = $this
      ->current();
    return new ArrayDataItemIterator($item['children']);
  }

  /**
   * @return bool
   */
  public function hasChildren() {
    $item = $this
      ->current();
    return !empty($item['children']);
  }

}

Members