src/BoomCMS/Support/Helpers.php
public static function getTagsInSection(PageInterface $page = null, $group = null)
    {
        $page = $page ?: Router::getActivePage();

        $finder = new Tag\Finder\Finder();
        $finder->addFilter(new Tag\Finder\AppliedToPageDescendants($page));
        $finder->addFilter(new Tag\Finder\Group($group));

        return $finder->setOrderBy('name', 'asc')->findAll();
    }
public static function getTagsInSection(PageInterface $page = null, $group = null)
    {
        $page = $page ?: Router::getActivePage();

        $finder = new Tag\Finder\Finder();
        $finder->addFilter(new Tag\Finder\AppliedToPageDescendants($page));
        $finder->addFilter(new Tag\Finder\Group($group));

        return $finder->setOrderBy('name', 'asc')->findAll();
    }
public static function getTagsInSection ( PageInterface $ page = null , $ group = null ) { $ page = $ page ? : Router :: getActivePage ( ) ; $ finder = new Tag \ Finder \ Finder ( ) ; $ finder -> addFilter ( new Tag \ Finder \ AppliedToPageDescendants ( $ page ) ) ; $ finder -> addFilter ( new Tag \ Finder \ Group ( $ group ) ) ; return $ finder -> setOrderBy ( 'name' , 'asc' ) -> findAll ( ) ; }
Get the pages applied to the children of a page.

@param Page\Page $page
@param string    $group

@return array
Get the pages applied to the children of a page .