AjaxHandlerInterface
in
AJAX handler interface
Tags
Table of Contents
- STATUS_HTTP_BAD_REQUEST = 400
- STATUS_HTTP_ERROR = 500
- STATUS_HTTP_FORBIDDEN = 403
- STATUS_HTTP_NEED_AUTH = 401
- STATUS_HTTP_UNAVAILABLE = 503
- handleRequest() : array<string|int, mixed>
- Handle a request.
Constants
STATUS_HTTP_BAD_REQUEST
public
mixed
STATUS_HTTP_BAD_REQUEST
= 400
STATUS_HTTP_ERROR
public
mixed
STATUS_HTTP_ERROR
= 500
STATUS_HTTP_FORBIDDEN
public
mixed
STATUS_HTTP_FORBIDDEN
= 403
STATUS_HTTP_NEED_AUTH
public
mixed
STATUS_HTTP_NEED_AUTH
= 401
STATUS_HTTP_UNAVAILABLE
public
mixed
STATUS_HTTP_UNAVAILABLE
= 503
Methods
handleRequest()
Handle a request.
public
handleRequest(Params $params) : array<string|int, mixed>
Parameters
- $params : Params
-
Parameter helper from controller
Return values
array<string|int, mixed> —[response data, HTTP status code]