doc/lib: Move all renderer classes to the renderer namespace

refs #6630
This commit is contained in:
Eric Lippmann 2015-02-11 14:10:12 +01:00
parent d1aed4f773
commit 03100b8c59
6 changed files with 10 additions and 6 deletions

View File

@ -8,7 +8,7 @@ use Icinga\Module\Doc\DocParser;
use Icinga\Module\Doc\Exception\DocException; use Icinga\Module\Doc\Exception\DocException;
use Icinga\Module\Doc\Search\DocSearch; use Icinga\Module\Doc\Search\DocSearch;
use Icinga\Module\Doc\Search\DocSearchIterator; use Icinga\Module\Doc\Search\DocSearchIterator;
use Icinga\Module\Doc\Search\DocSearchRenderer; use Icinga\Module\Doc\Renderer\DocSearchRenderer;
class Doc_SearchController extends DocController class Doc_SearchController extends DocController
{ {

View File

@ -3,6 +3,8 @@
namespace Icinga\Module\Doc; namespace Icinga\Module\Doc;
use Icinga\Module\Doc\Renderer\DocSectionRenderer;
use Icinga\Module\Doc\Renderer\DocTocRenderer;
use Icinga\Web\Controller\ModuleActionController; use Icinga\Web\Controller\ModuleActionController;
class DocController extends ModuleActionController class DocController extends ModuleActionController

View File

@ -1,7 +1,7 @@
<?php <?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Module\Doc; namespace Icinga\Module\Doc\Renderer;
use Exception; use Exception;
use RecursiveIteratorIterator; use RecursiveIteratorIterator;

View File

@ -1,10 +1,11 @@
<?php <?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Module\Doc\Search; namespace Icinga\Module\Doc\Renderer;
use RecursiveIteratorIterator; use RecursiveIteratorIterator;
use Icinga\Module\Doc\DocRenderer; use Icinga\Module\Doc\Search\DocSearchIterator;
use Icinga\Module\Doc\Search\DocSearchMatch;
/** /**
* Renderer for doc searches * Renderer for doc searches

View File

@ -1,7 +1,7 @@
<?php <?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Module\Doc; namespace Icinga\Module\Doc\Renderer;
require_once 'Parsedown/Parsedown.php'; require_once 'Parsedown/Parsedown.php';
@ -11,6 +11,7 @@ use Parsedown;
use RecursiveIteratorIterator; use RecursiveIteratorIterator;
use Icinga\Data\Tree\SimpleTree; use Icinga\Data\Tree\SimpleTree;
use Icinga\Module\Doc\Exception\ChapterNotFoundException; use Icinga\Module\Doc\Exception\ChapterNotFoundException;
use Icinga\Module\Doc\DocSectionFilterIterator;
use Icinga\Module\Doc\Search\DocSearch; use Icinga\Module\Doc\Search\DocSearch;
use Icinga\Module\Doc\Search\DocSearchMatch; use Icinga\Module\Doc\Search\DocSearchMatch;
use Icinga\Web\Dom\DomNodeIterator; use Icinga\Web\Dom\DomNodeIterator;

View File

@ -1,7 +1,7 @@
<?php <?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Module\Doc; namespace Icinga\Module\Doc\Renderer;
use Icinga\Web\View; use Icinga\Web\View;
use Icinga\Data\Tree\TreeNodeIterator; use Icinga\Data\Tree\TreeNodeIterator;