PHP Class Contao\FrontendIndex

Inheritance: extends Frontend
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Initialize the object
renderPage ( Collection | PageModel[] | PageModel $pageModel ) : Response Render a page
run ( ) : Response Run the controller

Méthodes protégées

Méthode Description
outputFromCache ( ) Try to load the page from the cache

Method Details

__construct() public méthode

Initialize the object
public __construct ( )

outputFromCache() protected méthode

Try to load the page from the cache
Deprecation: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use the kernel.request event instead.
protected outputFromCache ( )

renderPage() public méthode

Render a page
public renderPage ( Collection | PageModel[] | PageModel $pageModel ) : Response
$pageModel Contao\Model\Collection | PageModel[] | PageModel
Résultat Symfony\Component\HttpFoundation\Response

run() public méthode

Run the controller
public run ( ) : Response
Résultat Symfony\Component\HttpFoundation\Response