Arikaim CMS

PageErrors

PageErrors trait

Table of Contents

Methods

pageNotFound()  : ResponseInterface
Display page not found error
pageSystemError()  : ResponseInterface
Display system error page

Methods

pageNotFound()

Display page not found error

public pageNotFound(ResponseInterface $response[, array<string|int, mixed> $data = [] ][, string|null $templateName = null ]) : ResponseInterface
Parameters
$response : ResponseInterface
$data : array<string|int, mixed> = []
$templateName : string|null = null
Return values
ResponseInterface

pageSystemError()

Display system error page

public pageSystemError(ResponseInterface $response[, array<string|int, mixed> $error = [] ][, string $templateName = 'system' ]) : ResponseInterface
Parameters
$response : ResponseInterface
$error : array<string|int, mixed> = []
$templateName : string = 'system'
Return values
ResponseInterface

        
On this page

Search results