PHP Class Contao\PageRegular

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

Méthodes publiques

Méthode Description
generate ( PageModel $objPage, boolean $blnCheckRequest = false ) Generate a regular page
getResponse ( PageModel $objPage, boolean $blnCheckRequest = false ) : Response Return a response object

Méthodes protégées

Méthode Description
createFooterScripts ( LayoutModel $objLayout ) Create all footer scripts
createHeaderScripts ( PageModel $objPage, LayoutModel $objLayout ) Create all header scripts
createTemplate ( PageModel $objPage, LayoutModel $objLayout ) Create a new template
getPageLayout ( PageModel $objPage ) : LayoutModel Get a page layout and return it as database result object
prepare ( PageModel $objPage ) Generate a regular page

Method Details

createFooterScripts() protected méthode

Create all footer scripts
protected createFooterScripts ( LayoutModel $objLayout )
$objLayout LayoutModel

createHeaderScripts() protected méthode

Create all header scripts
protected createHeaderScripts ( PageModel $objPage, LayoutModel $objLayout )
$objPage PageModel
$objLayout LayoutModel

createTemplate() protected méthode

Create a new template
protected createTemplate ( PageModel $objPage, LayoutModel $objLayout )
$objPage PageModel
$objLayout LayoutModel

generate() public méthode

Generate a regular page
public generate ( PageModel $objPage, boolean $blnCheckRequest = false )
$objPage PageModel
$blnCheckRequest boolean

getPageLayout() protected méthode

Get a page layout and return it as database result object
protected getPageLayout ( PageModel $objPage ) : LayoutModel
$objPage PageModel
Résultat LayoutModel

getResponse() public méthode

Return a response object
public getResponse ( PageModel $objPage, boolean $blnCheckRequest = false ) : Response
$objPage PageModel
$blnCheckRequest boolean
Résultat Symfony\Component\HttpFoundation\Response

prepare() protected méthode

Generate a regular page
protected prepare ( PageModel $objPage )
$objPage PageModel