doc/lib: Rename SectionRenderer to DocSectionRenderer

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

View File

@ -2,5 +2,5 @@
<?= /** @type \Icinga\Web\Widget\Tabs $tabs */ $tabs->showOnlyCloseButton() ?> <?= /** @type \Icinga\Web\Widget\Tabs $tabs */ $tabs->showOnlyCloseButton() ?>
</div> </div>
<div class="content"> <div class="content">
<?= /** @type \Icinga\Module\Doc\SectionRenderer $section */ $section ?> <?= /** @type \Icinga\Module\Doc\DocSectionRenderer $section */ $section ?>
</div> </div>

View File

@ -18,7 +18,7 @@ class DocController extends ModuleActionController
protected function renderChapter($path, $chapter, $url, array $urlParams = array()) protected function renderChapter($path, $chapter, $url, array $urlParams = array())
{ {
$parser = new DocParser($path); $parser = new DocParser($path);
$section = new SectionRenderer($parser->getDocTree(), SectionRenderer::decodeUrlParam($chapter)); $section = new DocSectionRenderer($parser->getDocTree(), DocSectionRenderer::decodeUrlParam($chapter));
$this->view->section = $section $this->view->section = $section
->setUrl($url) ->setUrl($url)
->setUrlParams($urlParams) ->setUrlParams($urlParams)

View File

@ -20,7 +20,7 @@ use Icinga\Web\View;
/** /**
* Section renderer * Section renderer
*/ */
class SectionRenderer extends Renderer class DocSectionRenderer extends Renderer
{ {
/** /**
* Content to render * Content to render