1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/docs/Object relational mapping - Hierarchical data - Introduction - Traversing or Walking Trees.php
2007-02-23 20:08:58 +00:00

3 lines
516 B
PHP

<p>You can traverse a Tree in different ways, please see here for more information <a href="http://en.wikipedia.org/wiki/Tree_traversal" >http://en.wikipedia.org/wiki/Tree_traversal</a>.</p>
<p>The most common way of traversing a tree is Pre Order Traversal as explained in the link above, this is also what is known as walking the tree, this is the default approach when traversing a tree in Doctrine, however Doctrine does plan to provide support for Post and Level Order Traversal (not currently implemented)</p>