doc/lib: Rename SectionFilterIterator to DocSectionFilterIterator
refs #6630
This commit is contained in:
parent
6c6c41a4f2
commit
d1aed4f773
|
@ -14,7 +14,7 @@ use Icinga\Data\Tree\TreeNodeIterator;
|
|||
* {@inheritdoc}
|
||||
* }
|
||||
*/
|
||||
class SectionFilterIterator extends RecursiveFilterIterator implements Countable
|
||||
class DocSectionFilterIterator extends RecursiveFilterIterator implements Countable
|
||||
{
|
||||
/**
|
||||
* Chapter to filter for
|
|
@ -61,7 +61,7 @@ class DocSectionRenderer extends DocRenderer
|
|||
public function __construct(SimpleTree $tree, $chapter = null)
|
||||
{
|
||||
if ($chapter !== null) {
|
||||
$filter = new SectionFilterIterator($tree->getIterator(), $chapter);
|
||||
$filter = new DocSectionFilterIterator($tree->getIterator(), $chapter);
|
||||
if ($filter->isEmpty()) {
|
||||
throw new ChapterNotFoundException(
|
||||
mt('doc', 'Chapter %s not found'), $chapter
|
||||
|
|
Loading…
Reference in New Issue