Controller/SitemapController.php
public function sectionAction($name)
    {
        $section = $this->getGenerator()->fetch($name);

        if (!$section) {
            throw $this->createNotFoundException();
        }

        $response = Response::create($section->toXml());
        $response->setPublic();
        $response->setClientTtl($this->getTtl());

        return $response;
    }
public function sectionAction($name)
    {
        $section = $this->getGenerator()->fetch($name);

        if (!$section) {
            throw $this->createNotFoundException();
        }

        $response = Response::create($section->toXml());
        $response->setPublic();
        $response->setClientTtl($this->getTtl());

        return $response;
    }
public function sectionAction ( $ name ) { $ section = $ this -> getGenerator ( ) -> fetch ( $ name ) ; if ( ! $ section ) { throw $ this -> createNotFoundException ( ) ; } $ response = Response :: create ( $ section -> toXml ( ) ) ; $ response -> setPublic ( ) ; $ response -> setClientTtl ( $ this -> getTtl ( ) ) ; return $ response ; }
list urls of a section

@param string $name

@return Response
list urls of a section