LanguageColumn extends AbstractGridObject

Language Column

Object representation of a site language selected in the "page" module to show translations of content elements.

Contains getter methods to return various values associated with a single language, e.g. localized page title, associated SiteLanguage instance, edit URLs and link titles and so on.

Stores a duplicated Grid object associated with the SiteLanguage.

Accessed from Fluid templates - generated from within BackendLayout when "page" module is in "languages" mode.

Internal

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

Table of Contents

Properties

$context  : PageLayoutContext
$grid  : Grid
$iconFactory  : IconFactory
$translationInfo  : array<string|int, mixed>

Methods

__construct()  : mixed
getAllowEditPage()  : bool
getAllowTranslate()  : bool
getAllowTranslateCopy()  : bool
getAllowViewPage()  : bool
getContext()  : PageLayoutContext
getGrid()  : Grid
getPageEditUrl()  : string
getPageIcon()  : string
getPreviewUrlAttributes()  : string
getTranslationData()  : array<string|int, mixed>
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService

Properties

$translationInfo read-only

protected array<string|int, mixed> $translationInfo

Methods

getAllowEditPage()

public getAllowEditPage() : bool
Return values
bool

getAllowTranslate()

public getAllowTranslate() : bool
Return values
bool

getAllowTranslateCopy()

public getAllowTranslateCopy() : bool
Return values
bool

getAllowViewPage()

public getAllowViewPage() : bool
Return values
bool

getPageEditUrl()

public getPageEditUrl() : string
Return values
string

getPageIcon()

public getPageIcon() : string
Return values
string

getPreviewUrlAttributes()

public getPreviewUrlAttributes() : string
Return values
string

getTranslationData()

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

        
On this page

Search results