Documentation

Noauth
in package
implements FilterInterface

Interfaces, Classes and Traits

FilterInterface
Filter interface

Table of Contents

after()  : mixed
Allows After filters to inspect and modify the response object as needed. This method does not allow any way to stop execution of other after filters, short of throwing an Exception or Error.
before()  : mixed
Do whatever processing this filter needs to do.

Methods

after()

Allows After filters to inspect and modify the response object as needed. This method does not allow any way to stop execution of other after filters, short of throwing an Exception or Error.

public after(RequestInterface $request, ResponseInterface $response[, mixed $arguments = null ]) : mixed
Parameters
$request : RequestInterface
$response : ResponseInterface
$arguments : mixed = null
Return values
mixed

before()

Do whatever processing this filter needs to do.

public before(RequestInterface $request[, mixed $arguments = null ]) : mixed

By default it should not return anything during normal execution. However, when an abnormal state is found, it should return an instance of CodeIgniter\HTTP\Response. If it does, script execution will end and that Response will be sent back to the client, allowing for error pages, redirects, etc.

Parameters
$request : RequestInterface
$arguments : mixed = null
Return values
mixed

Search results