‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Page\PageInformation Class Reference

Public Member Functions

 setId (int $id)
 
 getId ()
 
 setPageRecord (array $pageRecord)
 
 getPageRecord ()
 
 setMountPoint (string $mountPoint)
 
 getMountPoint ()
 
 setRootLine (array $rootLine)
 
 getRootLine ()
 
 setLocalRootLine (array $localRootLine)
 
 getLocalRootLine ()
 
 setSysTemplateRows (array $sysTemplateRows)
 
 getSysTemplateRows ()
 
 setOriginalShortcutPageRecord (array $originalShortcutPageRecord)
 
 getOriginalShortcutPageRecord ()
 
 setOriginalMountPointPageRecord (array $originalMountPointPageRecord)
 
 getOriginalMountPointPageRecord ()
 
 setContentFromPid (int $contentFromPid)
 
 getContentFromPid ()
 

Private Attributes

int $id
 
array $pageRecord
 
string $mountPoint = ''
 
int $contentFromPid
 
array $originalShortcutPageRecord = null
 
array $originalMountPointPageRecord = null
 
array $rootLine
 
array $localRootLine
 
array $sysTemplateRows
 

Detailed Description

This DTO carries various Frontend rendering related page information. It is set up by a Frontend middleware and attached to as 'frontend.page.information' Request attribute.

Still experimental

Definition at line 27 of file PageInformation.php.

Member Function Documentation

◆ getContentFromPid()

TYPO3\CMS\Frontend\Page\PageInformation::getContentFromPid ( )

Only to be read by core

Definition at line 230 of file PageInformation.php.

References TYPO3\CMS\Frontend\Page\PageInformation\$contentFromPid.

◆ getId()

◆ getLocalRootLine()

TYPO3\CMS\Frontend\Page\PageInformation::getLocalRootLine ( )

◆ getMountPoint()

TYPO3\CMS\Frontend\Page\PageInformation::getMountPoint ( )

◆ getOriginalMountPointPageRecord()

TYPO3\CMS\Frontend\Page\PageInformation::getOriginalMountPointPageRecord ( )

Only to be read by core

Definition at line 214 of file PageInformation.php.

References TYPO3\CMS\Frontend\Page\PageInformation\$originalMountPointPageRecord.

◆ getOriginalShortcutPageRecord()

TYPO3\CMS\Frontend\Page\PageInformation::getOriginalShortcutPageRecord ( )

◆ getPageRecord()

◆ getRootLine()

◆ getSysTemplateRows()

TYPO3\CMS\Frontend\Page\PageInformation::getSysTemplateRows ( )

◆ setContentFromPid()

TYPO3\CMS\Frontend\Page\PageInformation::setContentFromPid ( int  $contentFromPid)

◆ setId()

TYPO3\CMS\Frontend\Page\PageInformation::setId ( int  $id)

◆ setLocalRootLine()

TYPO3\CMS\Frontend\Page\PageInformation::setLocalRootLine ( array  $localRootLine)

◆ setMountPoint()

TYPO3\CMS\Frontend\Page\PageInformation::setMountPoint ( string  $mountPoint)

◆ setOriginalMountPointPageRecord()

TYPO3\CMS\Frontend\Page\PageInformation::setOriginalMountPointPageRecord ( array  $originalMountPointPageRecord)

◆ setOriginalShortcutPageRecord()

TYPO3\CMS\Frontend\Page\PageInformation::setOriginalShortcutPageRecord ( array  $originalShortcutPageRecord)

◆ setPageRecord()

TYPO3\CMS\Frontend\Page\PageInformation::setPageRecord ( array  $pageRecord)

◆ setRootLine()

TYPO3\CMS\Frontend\Page\PageInformation::setRootLine ( array  $rootLine)

◆ setSysTemplateRows()

TYPO3\CMS\Frontend\Page\PageInformation::setSysTemplateRows ( array  $sysTemplateRows)

Member Data Documentation

◆ $contentFromPid

int TYPO3\CMS\Frontend\Page\PageInformation::$contentFromPid
private

◆ $id

int TYPO3\CMS\Frontend\Page\PageInformation::$id
private

◆ $localRootLine

array TYPO3\CMS\Frontend\Page\PageInformation::$localRootLine
private

◆ $mountPoint

string TYPO3\CMS\Frontend\Page\PageInformation::$mountPoint = ''
private

◆ $originalMountPointPageRecord

array TYPO3\CMS\Frontend\Page\PageInformation::$originalMountPointPageRecord = null
private

Gets set when we are processing a page of type mountpoint with enabled overlay in getPageAndRootline() Used later in a middleware to determine the final target URL where the user should be redirected to.

Definition at line 44 of file PageInformation.php.

Referenced by TYPO3\CMS\Frontend\Page\PageInformation\getOriginalMountPointPageRecord(), and TYPO3\CMS\Frontend\Page\PageInformation\setOriginalMountPointPageRecord().

◆ $originalShortcutPageRecord

array TYPO3\CMS\Frontend\Page\PageInformation::$originalShortcutPageRecord = null
private

Gets set when we are processing a page of type shortcut in the early stages of the request, used later in a middleware to resolve the shortcut and redirect again.

Definition at line 38 of file PageInformation.php.

Referenced by TYPO3\CMS\Frontend\Page\PageInformation\getOriginalShortcutPageRecord(), and TYPO3\CMS\Frontend\Page\PageInformation\setOriginalShortcutPageRecord().

◆ $pageRecord

array TYPO3\CMS\Frontend\Page\PageInformation::$pageRecord
private

◆ $rootLine

array TYPO3\CMS\Frontend\Page\PageInformation::$rootLine
private

◆ $sysTemplateRows

array TYPO3\CMS\Frontend\Page\PageInformation::$sysTemplateRows
private