AfterTemplatesHaveBeenDeterminedEvent
final class \
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
- getSite() : SiteInterface|null
- Convenience method to directly retrieve the Site. May be null though!
- getTemplateRows() : array
- setTemplateRows() : void
Methods
__construct()
public
__construct(array $rootline, ServerRequestInterface|null $request, array $templateRows) : mixed
Parameters
- $rootline : array
- $request : ServerRequestInterface|null
- $templateRows : array
getRequest()
public
getRequest() : ServerRequestInterface|null
Return values
ServerRequestInterface|nullgetRootline()
public
getRootline() : array
Return values
arraygetSite()
Convenience method to directly retrieve the Site. May be null though!
public
getSite() : SiteInterface|null
Return values
SiteInterface|nullgetTemplateRows()
public
getTemplateRows() : array
Return values
arraysetTemplateRows()
public
setTemplateRows(array $templateRows) : void
Parameters
- $templateRows : array