BackendLayoutRenderer
Backend Layout Renderer
Draws a page layout - essentially, behaves as a wrapper for a view which renders the Resources/Private/PageLayout/PageLayout template with necessary assigned template variables.
this is experimental and subject to change in TYPO3 v10 / v11
Table of Contents
Properties
Methods
- __construct() : mixed
- drawContent() : string
- getGridForPageLayoutContext() : Grid
- getBackendUser() : BackendUserAuthentication
- getLanguageColumnsForPageLayoutContext() : array<string|int, LanguageColumn>
- getLanguageColumnsWithDefLangBindingForPageLayoutContext() : iterable<string|int, mixed>
- getLanguageService() : LanguageService
Properties
$backendViewFactory read-only
protected
BackendViewFactory
$backendViewFactory
Methods
__construct()
public
__construct(BackendViewFactory $backendViewFactory) : mixed
Parameters
- $backendViewFactory : BackendViewFactory
drawContent()
public
drawContent(ServerRequestInterface $request, PageLayoutContext $pageLayoutContext[, bool $renderUnused = true ]) : string
Parameters
- $request : ServerRequestInterface
- $pageLayoutContext : PageLayoutContext
- $renderUnused : bool = true
-
If true, renders the bottom column with unused records
Return values
stringgetGridForPageLayoutContext()
public
getGridForPageLayoutContext(PageLayoutContext $context) : Grid
Parameters
- $context : PageLayoutContext
Return values
GridgetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageColumnsForPageLayoutContext()
protected
getLanguageColumnsForPageLayoutContext(PageLayoutContext $context) : array<string|int, LanguageColumn>
Parameters
- $context : PageLayoutContext
Return values
array<string|int, LanguageColumn>getLanguageColumnsWithDefLangBindingForPageLayoutContext()
protected
getLanguageColumnsWithDefLangBindingForPageLayoutContext(PageLayoutContext $context) : iterable<string|int, mixed>
Parameters
- $context : PageLayoutContext
Return values
iterable<string|int, mixed>getLanguageService()
protected
getLanguageService() : LanguageService