PHP 클래스 Sulu\Bundle\WebsiteBundle\Controller\SitemapController

상속: extends WebsiteController
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
indexAction ( Request $request ) : Response Render sitemap-index of all available sitemap.xml files.
sitemapAction ( string $alias ) : Response Redirect to the first page of a single sitemap provider.
sitemapPaginatedAction ( Request $request, string $alias, integer $page ) : Response Render a single page for a single sitemap.xml provider.

비공개 메소드들

메소드 설명
createBinaryFileResponse ( string $file ) : BinaryFileResponse Create a binary file response.
getDumpedIndexResponse ( Request $request ) : null | BinaryFileResponse Returns index-response if dumped file exists.
getDumpedSitemapResponse ( Request $request, string $alias, integer $page ) : null | BinaryFileResponse Returns index-response if dumped file exists.
setCacheLifetime ( Response $response ) : Response Set cache headers.

메소드 상세

indexAction() 공개 메소드

If only one provider exists this provider will be rendered directly.
public indexAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

sitemapAction() 공개 메소드

Redirect to the first page of a single sitemap provider.
public sitemapAction ( string $alias ) : Response
$alias string
리턴 Symfony\Component\HttpFoundation\Response

sitemapPaginatedAction() 공개 메소드

Render a single page for a single sitemap.xml provider.
public sitemapPaginatedAction ( Request $request, string $alias, integer $page ) : Response
$request Symfony\Component\HttpFoundation\Request
$alias string
$page integer
리턴 Symfony\Component\HttpFoundation\Response