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
- createView() : ViewInterface
- getBackendUser() : BackendUserAuthentication
- getLanguageColumnsForPageLayoutContext() : array<string|int, LanguageColumn>
- getLanguageColumnsWithDefLangBindingForPageLayoutContext() : iterable<string|int, mixed>
- getLanguageService() : LanguageService
- renderUnused() : string
Properties
$backendViewFactory read-only
protected
BackendViewFactory
$backendViewFactory
$recordFactory read-only
protected
RecordFactory
$recordFactory
Methods
__construct()
public
__construct(BackendViewFactory $backendViewFactory, RecordFactory $recordFactory) : mixed
Parameters
- $backendViewFactory : BackendViewFactory
- $recordFactory : RecordFactory
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
GridcreateView()
protected
createView(ServerRequestInterface $request, PageLayoutContext $pageLayoutContext) : ViewInterface
Parameters
- $request : ServerRequestInterface
- $pageLayoutContext : PageLayoutContext
Return values
ViewInterfacegetBackendUser()
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
Return values
LanguageServicerenderUnused()
protected
renderUnused(ServerRequestInterface $request, PageLayoutContext $pageLayoutContext) : string
Parameters
- $request : ServerRequestInterface
- $pageLayoutContext : PageLayoutContext