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|null
$iconFactory  : IconFactory
$localizationConfiguration  : array<string|int, mixed>
$translationInfo  : array<string|int, mixed>

Methods

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

Properties

$localizationConfiguration

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

$translationInfo

protected array<string|int, mixed> $translationInfo = ['hasStandaloneContent' => false, 'hasTranslations' => false, 'untranslatedRecordUids' => []]

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

getPageEditTitle()

public getPageEditTitle() : string
Return values
string

getPageEditUrl()

public getPageEditUrl() : string
Return values
string

getPageIcon()

public getPageIcon() : string
Return values
string

getPreviewUrlAttributes()

public getPreviewUrlAttributes() : string
Return values
string

getTranslatePageTitle()

public getTranslatePageTitle() : string
Return values
string

getTranslationData()

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

getUniqueId()

public getUniqueId() : string
Return values
string

getViewPageLinkTitle()

public getViewPageLinkTitle() : string
Return values
string

        
On this page

Search results