PHP Класс Frontend\Core\Engine\Page

Наследование: extends Frontend\Core\Engine\Base\Object
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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

Защищенные методы

Метод Описание
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

Описание методов

__construct() публичный Метод

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

display() публичный Метод

Display the page
public display ( )

getExtras() публичный Метод

Get the extras linked to this page
public getExtras ( ) : array
Результат array

getId() публичный Метод

Get the current page id
public getId ( ) : integer
Результат integer

getPageContent() защищенный Метод

Get page content
protected getPageContent ( $pageId ) : array
$pageId
Результат array

getRecord() публичный Метод

Get the content of the page
public getRecord ( ) : array
Результат array

getStatusCode() публичный Метод

Fetch the status code for the current page.
public getStatusCode ( ) : integer
Результат integer

load() публичный Метод

Loads the actual components on the page
public load ( )

parseLanguages() защищенный Метод

Parse the languages
protected parseLanguages ( )

parsePositions() защищенный Метод

Parse the positions to the template
protected parsePositions ( )

processExtras() защищенный Метод

Processes the extras linked to the page
protected processExtras ( )

processPage() защищенный Метод

Processes the page
protected processPage ( )

storeStatistics() защищенный Метод

Store the data for statistics
protected storeStatistics ( )

Описание свойств

$breadcrumb защищенное свойство

Breadcrumb instance
protected Breadcrumb,Frontend\Core\Engine $breadcrumb
Результат Breadcrumb

$extras защищенное свойство

Array of extras linked to this page
protected array $extras
Результат array

$header защищенное свойство

Header instance
protected Header,Frontend\Core\Engine $header
Результат Header

$pageId защищенное свойство

The current pageId
protected int $pageId
Результат integer

$record защищенное свойство

Content of the page
protected array $record
Результат array

$statusCode защищенное свойство

The statuscode
protected int $statusCode
Результат integer

$templatePath защищенное свойство

The path of the template to show
protected string $templatePath
Результат string