Search Results
Rewind iterator Rewinds the iterator to the first element of the top level inner iterator.
Rewinds the iterator to the first element of the top level inner iterator.
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 RecursiveTreeIterator::valid — Check validity
RecursiveTreeIterator::key — Get the key of the current element RecursiveTreeIterator::next — Move to next element RecursiveTreeIterator::nextElement — Next element RecursiveTreeIterator::rewind — Rewind iterator RecursiveTreeIterator::setPrefixPart — Set a part of the prefix RecursiveTreeIterator::valid — Check validity
English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub.
— 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 ...
Simple usage example of `RecursiveTreeIterator::rewind ()`. RecursiveTreeIterator::rewind is a PHP function that resets the iterator back to the beginning of the tree structure. It allows you to restart the iteration process from the root node, enabling you to traverse the tree structure again.
