PageLayoutContext

Internal

this is experimental and subject to change in TYPO3 v10 / v11

Table of Contents

Properties

$backendLayout  : BackendLayout
$contentFetcher  : ContentFetcher
$contentTypeLabels  : array<string|int, mixed>
Array of content type labels. Key is CType, value is either a plain text label or an LLL:EXT:... reference to a specific label.
$drawingConfiguration  : DrawingConfiguration
$itemLabels  : array<string|int, mixed>
Labels for columns, in format of TCA select options. Numerically indexed array of numerically indexed value arrays, with each sub-array containing at least two values and one optional third value:
$localizedPageRecord  : array<string|int, mixed>|null
$pageId  : int
$pageRecord  : array<string|int, mixed>
$recordIdentityMap  : RecordIdentityMap
$request  : ServerRequestInterface
$site  : SiteInterface
$siteLanguage  : SiteLanguage
$siteLanguages  : array<string|int, SiteLanguage>

Methods

__construct()  : mixed
cloneForLanguage()  : self
getAllowNewContent()  : bool
getBackendLayout()  : BackendLayout
getBackendUser()  : BackendUserAuthentication
getContentTypeLabels()  : array<string|int, mixed>
getCurrentRequest()  : ServerRequestInterface
getDrawingConfiguration()  : DrawingConfiguration
getItemLabels()  : array<string|int, mixed>
getLanguageMode()  : string
getLanguageModeIdentifier()  : string
getLanguageModeLabelClass()  : string
getLanguagesToShow()  : array<string|int, SiteLanguage>
getLocalizedPageRecord()  : array<string|int, mixed>|null
getLocalizedPageTitle()  : string
getNewLanguageOptions()  : array<string|int, mixed>
getPageId()  : int
getPageRecord()  : array<string|int, mixed>
getRecordIdentityMap()  : RecordIdentityMap
getReturnUrl()  : string
getSiteLanguage()  : SiteLanguage
getSiteLanguages()  : array<string|int, SiteLanguage>
isPageEditable()  : bool
getLanguageService()  : LanguageService
setSiteLanguage()  : void

Properties

$contentTypeLabels

Array of content type labels. Key is CType, value is either a plain text label or an LLL:EXT:... reference to a specific label.

protected array<string|int, mixed> $contentTypeLabels = []

$itemLabels

Labels for columns, in format of TCA select options. Numerically indexed array of numerically indexed value arrays, with each sub-array containing at least two values and one optional third value:

protected array<string|int, mixed> $itemLabels = []
  • label (hardcoded or LLL:EXT:... reference. MANDATORY)
  • value (colPos of column. MANDATORY)
  • icon (icon name or file reference. OPTIONAL)

$localizedPageRecord

protected array<string|int, mixed>|null $localizedPageRecord = null

$pageRecord read-only

protected array<string|int, mixed> $pageRecord

$request read-only

protected ServerRequestInterface $request

Methods

getAllowNewContent()

public getAllowNewContent() : bool
Return values
bool

getContentTypeLabels()

public getContentTypeLabels() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCurrentRequest()

public getCurrentRequest() : ServerRequestInterface
Return values
ServerRequestInterface

getItemLabels()

public getItemLabels() : array<string|int, mixed>
Return values
array<string|int, mixed>

getLanguageMode()

public getLanguageMode() : string
Return values
string

getLanguageModeIdentifier()

public getLanguageModeIdentifier() : string
Return values
string

getLanguageModeLabelClass()

public getLanguageModeLabelClass() : string
Return values
string

getLocalizedPageRecord()

public getLocalizedPageRecord() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getLocalizedPageTitle()

public getLocalizedPageTitle() : string
Return values
string

getNewLanguageOptions()

public getNewLanguageOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPageId()

public getPageId() : int
Return values
int

getPageRecord()

public getPageRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>

getReturnUrl()

public getReturnUrl() : string
Return values
string

isPageEditable()

public isPageEditable() : bool
Return values
bool

        
On this page

Search results