Commit e7e32c46 authored by meus's avatar meus

fixed error in documentation

parent 659d1054
......@@ -216,7 +216,7 @@ $query = new Doctrine_Query();
$query->select("base.name, hp.name, m.name")->from("Category base")
->leftJoin("base.hottestProduct hp")
->leftJoin("hp.manufacturer m")
->setHydrationMode(Doctrine_Query::HYDRATE_ARRAY);
->setHydrationMode(Doctrine::HYDRATE_ARRAY);
$treeObject = $conn->getTable('Category')->getTree();
$treeObject->setBaseQuery($query);
$tree = $treeObject->fetchTree();
......
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