$itCounter
$itCounter : mixed
itCounter
Class DAO_TREE
select_tree( $root) : NULL
this is a bias towards selecting the whole menu rather than a sub-branch break out functions for these conditions A) if $root is_int - select the root node data inc whereCols [scope a specific tree] (new func to build "from clause") - select all the sub-nodes of that tree/branch ELSE - select the root node data - select all sub-nodes of the tree B) if $this->config["treeStyle"] == EXTENDED -
$root |
joinAttributes( $setAnd = true) : NULL
joinAttributes must return Select extension (add the fields of multiple attributes tables) From extension (add the attributes table) Where extension (scope the look up to FK join)
SELECT [$structureScopeTable]leftBound, [$structureScopeTable]rightBound [selectExt] FROM treeStructure [structureScopeTableFrom] [fromExt] [setWhereClause()] [whereExt] ORDER BY leftBound ASC ;
$setAnd |