From 03100b8c5972539ac680400f837b571b6205bf52 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 11 Feb 2015 14:10:12 +0100 Subject: [PATCH] doc/lib: Move all renderer classes to the renderer namespace refs #6630 --- modules/doc/application/controllers/SearchController.php | 2 +- modules/doc/library/Doc/DocController.php | 2 ++ modules/doc/library/Doc/{ => Renderer}/DocRenderer.php | 2 +- .../library/Doc/{Search => Renderer}/DocSearchRenderer.php | 5 +++-- .../doc/library/Doc/{ => Renderer}/DocSectionRenderer.php | 3 ++- modules/doc/library/Doc/{ => Renderer}/DocTocRenderer.php | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) rename modules/doc/library/Doc/{ => Renderer}/DocRenderer.php (98%) rename modules/doc/library/Doc/{Search => Renderer}/DocSearchRenderer.php (96%) rename modules/doc/library/Doc/{ => Renderer}/DocSectionRenderer.php (98%) rename modules/doc/library/Doc/{ => Renderer}/DocTocRenderer.php (98%) diff --git a/modules/doc/application/controllers/SearchController.php b/modules/doc/application/controllers/SearchController.php index 2cfb04483..a2e90cd59 100644 --- a/modules/doc/application/controllers/SearchController.php +++ b/modules/doc/application/controllers/SearchController.php @@ -8,7 +8,7 @@ use Icinga\Module\Doc\DocParser; use Icinga\Module\Doc\Exception\DocException; use Icinga\Module\Doc\Search\DocSearch; use Icinga\Module\Doc\Search\DocSearchIterator; -use Icinga\Module\Doc\Search\DocSearchRenderer; +use Icinga\Module\Doc\Renderer\DocSearchRenderer; class Doc_SearchController extends DocController { diff --git a/modules/doc/library/Doc/DocController.php b/modules/doc/library/Doc/DocController.php index 5c9ebcfec..f555c2442 100644 --- a/modules/doc/library/Doc/DocController.php +++ b/modules/doc/library/Doc/DocController.php @@ -3,6 +3,8 @@ namespace Icinga\Module\Doc; +use Icinga\Module\Doc\Renderer\DocSectionRenderer; +use Icinga\Module\Doc\Renderer\DocTocRenderer; use Icinga\Web\Controller\ModuleActionController; class DocController extends ModuleActionController diff --git a/modules/doc/library/Doc/DocRenderer.php b/modules/doc/library/Doc/Renderer/DocRenderer.php similarity index 98% rename from modules/doc/library/Doc/DocRenderer.php rename to modules/doc/library/Doc/Renderer/DocRenderer.php index bebf06465..4d7ddd0ed 100644 --- a/modules/doc/library/Doc/DocRenderer.php +++ b/modules/doc/library/Doc/Renderer/DocRenderer.php @@ -1,7 +1,7 @@