Search Results

  1. Get the key of the current element RecursiveTreeIterator::key (PHP 5 >= 5.3.0, PHP 7, PHP 8) RecursiveTreeIterator::key — Get the key of the current element

  2. Predefined Constants RecursiveTreeIterator::BYPASS_CURRENT RecursiveTreeIterator::BYPASS_KEY RecursiveTreeIterator::PREFIX_LEFT RecursiveTreeIterator::PREFIX_MID_HAS ...

  3. RecursiveTreeIterator::key — Get the key of the current element RecursiveTreeIterator::next — Move to next element RecursiveTreeIterator::nextElement — Next element RecursiveTreeIterator::rewind — Rewind iterator RecursiveTreeIterator::setPostfix — Set postfix RecursiveTreeIterator::setPrefixPart — Set a part of the prefix

  4. The RecursiveTreeIterator class Introduction (PHP 5 >= 5.3.0, PHP 7) Allows iterating over a RecursiveIterator to generate an ASCII graphic tree. Class synopsis RecursiveTreeIterator extends RecursiveIteratorIterator implements OuterIterator { /* Inherited constants */ const int RecursiveIteratorIterator::LEAVES_ONLY = 0 ; const int RecursiveIteratorIterator::SELF_FIRST = 1 ; const int ...

  5. Table of Contents RecursiveTreeIterator::beginChildren — Begin children RecursiveTreeIterator::beginIteration — Begin iteration RecursiveTreeIterator::callGetChildren — Get children RecursiveTreeIterator::callHasChildren — Has children RecursiveTreeIterator::__construct — Construct a RecursiveTreeIterator RecursiveTreeIterator::current — Get current element RecursiveTreeIterator ...

  6. The RecursiveTreeIterator allows iterating over a RecursiveIterator to generate an ASCII graphic tree. This is a convenient and native way to display a tree-like structure.

  7. PHP Manual Table of Contents — Begin children — Begin iteration — Get children — Has children — Construct a RecursiveTreeIterator — Get current element — End children — End iteration — Get current entry — Get the postfix — Get the prefix — Get the key of the current element — Move to next element — Next element — Rewind iterator — Set a part of the prefix ...