PageOutputInterface
interface PageOutputInterface (View source)
Where a controller's pages go: the themed chrome and body in production (PageRenderer), a recorder in tests. A controller hands over the template and the parameters exactly as it built them.
Methods
void
renderPage(string $template, array $params, array $requestData, string $pageTitle, array|null $systemMessages, array|null $scriptMessages)
A full page: the chrome, then $template rendered with $params.
void
renderChrome(array $requestData, string $pageTitle, array|null $systemMessages)
The chrome alone, which is how an error page shows its system messages.
Details
void
renderPage(string $template, array $params, array $requestData, string $pageTitle, array|null $systemMessages, array|null $scriptMessages)
A full page: the chrome, then $template rendered with $params.
void
renderChrome(array $requestData, string $pageTitle, array|null $systemMessages)
The chrome alone, which is how an error page shows its system messages.