Search Results
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
Predefined Constants RecursiveTreeIterator::BYPASS_CURRENT RecursiveTreeIterator::BYPASS_KEY RecursiveTreeIterator::PREFIX_LEFT RecursiveTreeIterator::PREFIX_MID_HAS ...
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
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 ...
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 ...
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.
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 ...
