AfterTemplatesHaveBeenDeterminedEvent
FinalYes
A PSR-14 event fired when sys_template rows have been fetched.
This event is intended to add own rows based on given rows or site resolution.
Table of Contents
Methods
- __construct() : mixed
- getRequest() : ServerRequestInterface|null
- getRootline() : array<string|int, mixed>
- getSite() : SiteInterface|null
- Convenience method to directly retrieve the Site. May be null though!
- getTemplateRows() : array<string|int, mixed>
- setTemplateRows() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $rootline, ServerRequestInterface|null $request, array<string|int, mixed> $templateRows) : mixed
Parameters
- $rootline : array<string|int, mixed>
- $request : ServerRequestInterface|null
- $templateRows : array<string|int, mixed>
getRequest()
public
getRequest() : ServerRequestInterface|null
Return values
ServerRequestInterface|nullgetRootline()
public
getRootline() : array<string|int, mixed>
Return values
array<string|int, mixed>getSite()
Convenience method to directly retrieve the Site. May be null though!
public
getSite() : SiteInterface|null
Return values
SiteInterface|nullgetTemplateRows()
public
getTemplateRows() : array<string|int, mixed>
Return values
array<string|int, mixed>setTemplateRows()
public
setTemplateRows(array<string|int, mixed> $templateRows) : void
Parameters
- $templateRows : array<string|int, mixed>