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