doc/lib: Rename Renderer to DocRenderer

refs #6630
This commit is contained in:
Eric Lippmann 2015-02-11 14:05:18 +01:00
parent 3aff91d204
commit 924e67f2aa
4 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ use Icinga\Web\View;
/**
* Base class for toc and section renderer
*/
abstract class Renderer extends RecursiveIteratorIterator
abstract class DocRenderer extends RecursiveIteratorIterator
{
/**
* URL to replace links with

View File

@ -20,7 +20,7 @@ use Icinga\Web\View;
/**
* Section renderer
*/
class DocSectionRenderer extends Renderer
class DocSectionRenderer extends DocRenderer
{
/**
* Content to render
@ -245,7 +245,7 @@ class DocSectionRenderer extends Renderer
}
$this->content[] = sprintf(
'<a name="%1$s"></a><h%2$d>%3$s</h%2$d>',
Renderer::encodeAnchor($section->getId()),
static::encodeAnchor($section->getId()),
$section->getLevel(),
$title
);

View File

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

View File

@ -4,7 +4,7 @@
namespace Icinga\Module\Doc\Search;
use RecursiveIteratorIterator;
use Icinga\Module\Doc\Renderer;
use Icinga\Module\Doc\DocRenderer;
/**
* Renderer for doc searches
@ -13,7 +13,7 @@ use Icinga\Module\Doc\Renderer;
* @{inheritdoc}
* }
*/
class DocSearchRenderer extends Renderer
class DocSearchRenderer extends DocRenderer
{
/**
* The content to render