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.
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
$context
        protected
            PageLayoutContext
    $context
    
    
    
    
    
    
$grid read-only
        protected
            Grid
    $grid
    
    
    
    
    
    
$iconFactory read-only
        protected
            IconFactory
    $iconFactory
    
    
    
    
    
    
$translationInfo read-only
        protected
            array<string|int, mixed>
    $translationInfo
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(PageLayoutContext $context, Grid $grid, array<string|int, mixed> $translationInfo) : mixed
    Parameters
- $context : PageLayoutContext
- $grid : Grid
- $translationInfo : array<string|int, mixed>
getAllowEditPage()
    public
                    getAllowEditPage() : bool
    Return values
boolgetAllowTranslate()
    public
                    getAllowTranslate() : bool
    Return values
boolgetAllowTranslateCopy()
    public
                    getAllowTranslateCopy() : bool
    Return values
boolgetAllowViewPage()
    public
                    getAllowViewPage() : bool
    Return values
boolgetContext()
    public
                    getContext() : PageLayoutContext
    Return values
PageLayoutContextgetGrid()
    public
                    getGrid() : Grid
    Return values
GridgetPageEditUrl()
    public
                    getPageEditUrl() : string
    Return values
stringgetPageIcon()
    public
                    getPageIcon() : string
    Return values
stringgetPreviewUrlAttributes()
    public
                    getPreviewUrlAttributes() : string
    Return values
stringgetTranslationData()
    public
                    getTranslationData() : array<string|int, mixed>
    Return values
array<string|int, mixed>getBackendUser()
    protected
                    getBackendUser() : BackendUserAuthentication
    Return values
BackendUserAuthenticationgetLanguageService()
    protected
                    getLanguageService() : LanguageService