Mercurial > owls
comparison Includes/Nav.inc.php @ 8:2672cd855fa2
added further doxygen-comments
author | Meillo r e t u r n s <meillo@marmaro.de> |
---|---|
date | Wed, 13 Dec 2006 23:08:55 +0100 |
parents | 92a8978e68c5 |
children | 144bc36a6c27 |
comparison
equal
deleted
inserted
replaced
7:a3a651f0cac6 | 8:2672cd855fa2 |
---|---|
91 </ul> | 91 </ul> |
92 | 92 |
93 <?php | 93 <?php |
94 | 94 |
95 | 95 |
96 | 96 /** |
97 * recursive function creates the output for the nav tree | |
98 * | |
99 * @param $root the id of the parent of the root node | |
100 * @return string HTML output that shows the nav tree | |
101 */ | |
97 function navtree($root) { | 102 function navtree($root) { |
98 // fetch subcategories | 103 // fetch subcategories |
99 $sql = sprintf(" | 104 $sql = sprintf(" |
100 select | 105 select |
101 id, idParent, name | 106 id, idParent, name |