From 3aff91d2044c5fc0de2695403f632aeffd865c38 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 11 Feb 2015 14:02:12 +0100 Subject: [PATCH] doc/lib: Rename TocRenderer to DocTocRenderer refs #6630 --- modules/doc/application/views/scripts/toc.phtml | 2 +- modules/doc/library/Doc/DocController.php | 2 +- modules/doc/library/Doc/{TocRenderer.php => DocTocRenderer.php} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename modules/doc/library/Doc/{TocRenderer.php => DocTocRenderer.php} (98%) diff --git a/modules/doc/application/views/scripts/toc.phtml b/modules/doc/application/views/scripts/toc.phtml index 175f4d3c3..09e3adf51 100644 --- a/modules/doc/application/views/scripts/toc.phtml +++ b/modules/doc/application/views/scripts/toc.phtml @@ -3,5 +3,5 @@

- +
diff --git a/modules/doc/library/Doc/DocController.php b/modules/doc/library/Doc/DocController.php index a003b911b..5c9ebcfec 100644 --- a/modules/doc/library/Doc/DocController.php +++ b/modules/doc/library/Doc/DocController.php @@ -38,7 +38,7 @@ class DocController extends ModuleActionController protected function renderToc($path, $name, $url, array $urlParams = array()) { $parser = new DocParser($path); - $toc = new TocRenderer($parser->getDocTree()->getIterator()); + $toc = new DocTocRenderer($parser->getDocTree()->getIterator()); $this->view->toc = $toc ->setUrl($url) ->setUrlParams($urlParams); diff --git a/modules/doc/library/Doc/TocRenderer.php b/modules/doc/library/Doc/DocTocRenderer.php similarity index 98% rename from modules/doc/library/Doc/TocRenderer.php rename to modules/doc/library/Doc/DocTocRenderer.php index 019ca2d9f..7e4dd636b 100644 --- a/modules/doc/library/Doc/TocRenderer.php +++ b/modules/doc/library/Doc/DocTocRenderer.php @@ -14,7 +14,7 @@ use RecursiveIteratorIterator; * {@inheritdoc} * } */ -class TocRenderer extends Renderer +class DocTocRenderer extends Renderer { /** * Content to render