PageLayoutContext

class \TYPO3\CMS\Backend\View\PageLayoutContext

Table of Contents

Properties

$backendLayout  : BackendLayout
$contentFetcher  : ContentFetcher
$contentTypeLabels  : array
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
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|null
$pageId  : int
$pageRecord  : array
$site  : SiteInterface
$siteLanguage  : SiteLanguage
$siteLanguages  : SiteLanguage[]

Methods

__construct()  : mixed
cloneForLanguage()  : self
getAllowNewContent()  : bool
getBackendLayout()  : BackendLayout
getBackendUser()  : BackendUserAuthentication
getContentTypeLabels()  : array
getDrawingConfiguration()  : DrawingConfiguration
getItemLabels()  : array
getLanguageMode()  : string
getLanguageModeIdentifier()  : string
getLanguageModeLabelClass()  : string
getLanguagesToShow()  : SiteLanguage[]
getLocalizedPageRecord()  : array|null
getLocalizedPageTitle()  : string
getNewLanguageOptions()  : array
getPageId()  : int
getPageRecord()  : array
getSiteLanguage()  : SiteLanguage
getSiteLanguages()  : SiteLanguage[]
isPageEditable()  : bool
setSiteLanguage()  : void
getLanguageService()  : LanguageService

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 $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 $itemLabels = []
  • label (hardcoded or LLL:EXT:... reference. MANDATORY)
  • value (colPos of column. MANDATORY)
  • icon (icon name or file reference. OPTIONAL)

$localizedPageRecord

protected array|null $localizedPageRecord

Methods

getAllowNewContent()

public getAllowNewContent() : bool

Return values

bool

getContentTypeLabels()

public getContentTypeLabels() : array

Return values

array

getItemLabels()

public getItemLabels() : array

Return values

array

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|null

Return values

array|null

getLocalizedPageTitle()

public getLocalizedPageTitle() : string

Return values

string

getNewLanguageOptions()

public getNewLanguageOptions() : array

Return values

array

getPageId()

public getPageId() : int

Return values

int

getPageRecord()

public getPageRecord() : array

Return values

array

isPageEditable()

public isPageEditable() : bool

Return values

bool
On this page