Commit d657b346 authored by romanb's avatar romanb

Typo

parent 75613eb4
...@@ -25,10 +25,10 @@ $query->select("base.name, le.topic, a.name")->from("VForum_Model_ForumNode base ...@@ -25,10 +25,10 @@ $query->select("base.name, le.topic, a.name")->from("VForum_Model_ForumNode base
->leftJoin("base.lastEntry le") ->leftJoin("base.lastEntry le")
->leftJoin("le.author a") ->leftJoin("le.author a")
->setHydrationMode(Doctrine_Query::HYDRATE_ARRAY); ->setHydrationMode(Doctrine_Query::HYDRATE_ARRAY);
$tree = $conn->getTable('VForum_Model_Category')->getTree(); $treeMngr = $conn->getTable('VForum_Model_Category')->getTree();
$tree->setBaseQuery($query); $treeMngr->setBaseQuery($query);
$tree = $tree->fetchTree(); $tree = $tree->fetchTree();
$tree->resetBaseQuery(); $treeMngr->resetBaseQuery();
This example shows that even array fetching is possible. And since the level is now stored This example shows that even array fetching is possible. And since the level is now stored
in the database and is a regular field of every record you can access it like every other field in the database and is a regular field of every record you can access it like every other field
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment