PHP Class Contao\PageRegular

Inheritance: extends Frontend
显示文件 Open project: contao/core-bundle Class Usage Examples

Public Methods

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

Protected Methods

Method 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 method

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

createHeaderScripts() protected method

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

createTemplate() protected method

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

generate() public method

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

getPageLayout() protected method

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

getResponse() public method

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

prepare() protected method

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