PHP Class Frontend\Core\Engine\Page

Inheritance: extends Frontend\Core\Engine\Base\Object
Datei anzeigen Open project: forkcms/forkcms Class Usage Examples

Protected Properties

Property Type Description
$breadcrumb Breadcrumb Breadcrumb instance
$extras array Array of extras linked to this page
$footer Footer Footer instance
$header Header Header instance
$pageId integer The current pageId
$record array Content of the page
$statusCode integer The statuscode
$templatePath string The path of the template to show

Public Methods

Method Description
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
display ( ) Display the page
getExtras ( ) : array Get the extras linked to this page
getId ( ) : integer Get the current page id
getRecord ( ) : array Get the content of the page
getStatusCode ( ) : integer Fetch the status code for the current page.
load ( ) Loads the actual components on the page

Protected Methods

Method Description
getPageContent ( $pageId ) : array Get page content
parseLanguages ( ) Parse the languages
parsePositions ( ) Parse the positions to the template
processExtras ( ) Processes the extras linked to the page
processPage ( ) Processes the page
storeStatistics ( ) Store the data for statistics

Method Details

__construct() public method

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface

display() public method

Display the page
public display ( )

getExtras() public method

Get the extras linked to this page
public getExtras ( ) : array
return array

getId() public method

Get the current page id
public getId ( ) : integer
return integer

getPageContent() protected method

Get page content
protected getPageContent ( $pageId ) : array
$pageId
return array

getRecord() public method

Get the content of the page
public getRecord ( ) : array
return array

getStatusCode() public method

Fetch the status code for the current page.
public getStatusCode ( ) : integer
return integer

load() public method

Loads the actual components on the page
public load ( )

parseLanguages() protected method

Parse the languages
protected parseLanguages ( )

parsePositions() protected method

Parse the positions to the template
protected parsePositions ( )

processExtras() protected method

Processes the extras linked to the page
protected processExtras ( )

processPage() protected method

Processes the page
protected processPage ( )

storeStatistics() protected method

Store the data for statistics
protected storeStatistics ( )

Property Details

$breadcrumb protected_oe property

Breadcrumb instance
protected Breadcrumb,Frontend\Core\Engine $breadcrumb
return Breadcrumb

$extras protected_oe property

Array of extras linked to this page
protected array $extras
return array

$header protected_oe property

Header instance
protected Header,Frontend\Core\Engine $header
return Header

$pageId protected_oe property

The current pageId
protected int $pageId
return integer

$record protected_oe property

Content of the page
protected array $record
return array

$statusCode protected_oe property

The statuscode
protected int $statusCode
return integer

$templatePath protected_oe property

The path of the template to show
protected string $templatePath
return string