Метод | Описание | |
---|---|---|
body ( ) : array | Returns the request body from POST requests for example | |
data ( ) | fetch all data from the request and sanitize it | |
get ( mixed $key = false, mixed $default = null ) : mixed | Gets a request value by key | |
is_ajax ( ) : boolean | Checks if the current request is an AJAX request | |
is_delete ( ) : boolean | Checks if the current request is a DELETE request | |
is_get ( ) : boolean | Checks if the current request is a GET request | |
is_post ( ) : boolean | Checks if the current request is a POST request | |
is_put ( ) : boolean | Checks if the current request is a PUT request | |
method ( ) : string | Returns the current request method | |
referer ( string $default = null ) : string | Returns the HTTP_REFERER | |
sanitize ( array $data ) : array | Sanitizes the incoming data | |
set ( mixed $key, mixed $value = null ) | Sets a request value by key |
static public data ( ) |