19 lines
567 B
PHP
19 lines
567 B
PHP
<?php
|
|
|
|
namespace Trinity\Bundle\ContentManagerBundle\Page;
|
|
|
|
class SitemapPage extends DefaultPage
|
|
{
|
|
public function __construct($template = null)
|
|
{
|
|
parent::__construct(null !== $template ? $template : 'TrinityContentManagerBundle:Page:sitemap.xml.twig');
|
|
}
|
|
|
|
public function getConfiguration()
|
|
{
|
|
return $this->configuration
|
|
->setDefaultController('TrinityContentManagerBundle:Page:sitemap')
|
|
->setDefaultControllerClass('Trinity\Bundle\ContentManagerBundle\Controller\PageController::sitemapAction');
|
|
}
|
|
}
|