Example #1
0
 /**
  * DOCUMENT ME
  * @param mixed $slot
  */
 public static function treeSlotOn($slot)
 {
     $query = aPageTable::queryWithSlot($slot);
     aPageTable::$treeObject = Doctrine::getTable('aPage')->getTree();
     // I'm not crazy about how I have to set the base query and then
     // reset it, instead of simply passing it to getChildren. A
     // Doctrine oddity
     aPageTable::$treeObject->setBaseQuery($query);
 }