PHP Класс Contao\FrontendIndex

Наследование: extends Frontend
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Initialize the object
renderPage ( Collection | PageModel[] | PageModel $pageModel ) : Response Render a page
run ( ) : Response Run the controller

Защищенные методы

Метод Описание
outputFromCache ( ) Try to load the page from the cache

Описание методов

__construct() публичный Метод

Initialize the object
public __construct ( )

outputFromCache() защищенный Метод

Try to load the page from the cache
Устаревший: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use the kernel.request event instead.
protected outputFromCache ( )

renderPage() публичный Метод

Render a page
public renderPage ( Collection | PageModel[] | PageModel $pageModel ) : Response
$pageModel Contao\Model\Collection | PageModel[] | PageModel
Результат Symfony\Component\HttpFoundation\Response

run() публичный Метод

Run the controller
public run ( ) : Response
Результат Symfony\Component\HttpFoundation\Response