PHP Class Frontend\Core\Engine\Page

Inheritance: extends Frontend\Core\Engine\Base\Object
Afficher le fichier Open project: forkcms/forkcms Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

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

display() public méthode

Display the page
public display ( )

getExtras() public méthode

Get the extras linked to this page
public getExtras ( ) : array
Résultat array

getId() public méthode

Get the current page id
public getId ( ) : integer
Résultat integer

getPageContent() protected méthode

Get page content
protected getPageContent ( $pageId ) : array
$pageId
Résultat array

getRecord() public méthode

Get the content of the page
public getRecord ( ) : array
Résultat array

getStatusCode() public méthode

Fetch the status code for the current page.
public getStatusCode ( ) : integer
Résultat integer

load() public méthode

Loads the actual components on the page
public load ( )

parseLanguages() protected méthode

Parse the languages
protected parseLanguages ( )

parsePositions() protected méthode

Parse the positions to the template
protected parsePositions ( )

processExtras() protected méthode

Processes the extras linked to the page
protected processExtras ( )

processPage() protected méthode

Processes the page
protected processPage ( )

storeStatistics() protected méthode

Store the data for statistics
protected storeStatistics ( )

Property Details

$breadcrumb protected_oe property

Breadcrumb instance
protected Breadcrumb,Frontend\Core\Engine $breadcrumb
Résultat Breadcrumb

$extras protected_oe property

Array of extras linked to this page
protected array $extras
Résultat array

$header protected_oe property

Header instance
protected Header,Frontend\Core\Engine $header
Résultat Header

$pageId protected_oe property

The current pageId
protected int $pageId
Résultat integer

$record protected_oe property

Content of the page
protected array $record
Résultat array

$statusCode protected_oe property

The statuscode
protected int $statusCode
Résultat integer

$templatePath protected_oe property

The path of the template to show
protected string $templatePath
Résultat string