PHP 클래스 Frontend\Core\Engine\Page

상속: extends Frontend\Core\Engine\Base\Object
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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