getDocAndToc(); $this->view->chapterHtml = $docHtml; $this->_helper->viewRenderer('partials/chapter', null, true); } /** * Render a toc * * @param string $path Path to the documentation * @param string $name Name of the documentation */ protected function renderToc($path, $name) { $parser = new DocParser($path); list($docHtml, $docToc) = $parser->getDocAndToc(); $this->view->docToc = $docToc; $this->view->docName = $name; $this->_helper->viewRenderer('partials/toc', null, true); } }