Exemplo n.º 1
0
 public function tableOfContents(HumanHelp_Model_Book $book, HumanHelp_Model_Page $page = null)
 {
     $this->_baseUrl = $this->view->baseUrl . '/content/' . $book->getName() . '/';
     $html = '<ul class="toc">' . $this->_getSubTree($book->getToc()) . '</ul>';
     return $html;
 }