doc/lib: Rename TocRenderer to DocTocRenderer

refs #6630
This commit is contained in:
Eric Lippmann 2015-02-11 14:02:12 +01:00
parent 96ea02e59f
commit 3aff91d204
3 changed files with 3 additions and 3 deletions

View File

@ -3,5 +3,5 @@
<h1><?= /** @type string $title */ $title ?></h1> <h1><?= /** @type string $title */ $title ?></h1>
</div> </div>
<div class="content"> <div class="content">
<?= /** @type \Icinga\Module\Doc\TocRenderer $toc */ $toc ?> <?= /** @type \Icinga\Module\Doc\DocTocRenderer $toc */ $toc ?>
</div> </div>

View File

@ -38,7 +38,7 @@ class DocController extends ModuleActionController
protected function renderToc($path, $name, $url, array $urlParams = array()) protected function renderToc($path, $name, $url, array $urlParams = array())
{ {
$parser = new DocParser($path); $parser = new DocParser($path);
$toc = new TocRenderer($parser->getDocTree()->getIterator()); $toc = new DocTocRenderer($parser->getDocTree()->getIterator());
$this->view->toc = $toc $this->view->toc = $toc
->setUrl($url) ->setUrl($url)
->setUrlParams($urlParams); ->setUrlParams($urlParams);

View File

@ -14,7 +14,7 @@ use RecursiveIteratorIterator;
* {@inheritdoc} * {@inheritdoc}
* } * }
*/ */
class TocRenderer extends Renderer class DocTocRenderer extends Renderer
{ {
/** /**
* Content to render * Content to render