|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Default Slim application not found handler. More...
Inheritance diagram for Slim\Handlers\NotFound:
Collaboration diagram for Slim\Handlers\NotFound:Public Member Functions | |
| __invoke (ServerRequestInterface $request, ResponseInterface $response) | |
| Invoke not found handler. More... | |
Protected Member Functions | |
| renderPlainNotFoundOutput () | |
| Render plain not found message. More... | |
| renderJsonNotFoundOutput () | |
| Return a response for application/json content not found. More... | |
| renderXmlNotFoundOutput () | |
| Return a response for xml content not found. More... | |
| renderHtmlNotFoundOutput (ServerRequestInterface $request) | |
| Return a response for text/html content not found. More... | |
Protected Member Functions inherited from Slim\Handlers\AbstractHandler | |
| determineContentType (ServerRequestInterface $request) | |
| Determine which content type we know about is wanted using Accept header. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Slim\Handlers\AbstractHandler | |
| $knownContentTypes | |
Default Slim application not found handler.
It outputs a simple message in either JSON, XML or HTML based on the Accept header.
Definition at line 22 of file NotFound.php.
| Slim\Handlers\NotFound::__invoke | ( | ServerRequestInterface | $request, |
| ResponseInterface | $response | ||
| ) |
Invoke not found handler.
| ServerRequestInterface | $request | The most recent Request object |
| ResponseInterface | $response | The most recent Response object |
| UnexpectedValueException |
Definition at line 33 of file NotFound.php.
References $contentType, $output, $response, Slim\Handlers\AbstractHandler\determineContentType(), Psr\Http\Message\RequestInterface\getMethod(), Slim\Handlers\NotFound\renderHtmlNotFoundOutput(), Slim\Handlers\NotFound\renderJsonNotFoundOutput(), Slim\Handlers\NotFound\renderPlainNotFoundOutput(), and Slim\Handlers\NotFound\renderXmlNotFoundOutput().
Here is the call graph for this function:
|
protected |
Return a response for text/html content not found.
| ServerRequestInterface | $request | The most recent Request object |
Definition at line 104 of file NotFound.php.
References Psr\Http\Message\RequestInterface\getUri(), and html().
Referenced by Slim\Handlers\NotFound\__invoke().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Return a response for application/json content not found.
Definition at line 82 of file NotFound.php.
Referenced by Slim\Handlers\NotFound\__invoke().
Here is the caller graph for this function:
|
protected |
Render plain not found message.
Definition at line 72 of file NotFound.php.
Referenced by Slim\Handlers\NotFound\__invoke().
Here is the caller graph for this function:
|
protected |
Return a response for xml content not found.
Definition at line 92 of file NotFound.php.
Referenced by Slim\Handlers\NotFound\__invoke().
Here is the caller graph for this function: