Helpers\Request
The Helpers\Request class is used for detecting the type of request and retrieving the request.
getMethod()
Request::getMethod()
Returns either GET or POST, depending if a $_GET request or a $_POST request has happened.
getIpAddress()
Request::getIpAddress()
Returns the client's IP Address.
post()
Request::post($key)
Returns the post key.
get()
Request::get($key)
Returns the get key.
server()
Request::server($key)
Returns the server key.
headers()
Request::headers($key)
Returns the HTTP Request Headers key.
files()
Request::files($key)
Returns the file key.
put()
Request::put($key)
Returns the put key.
isAjax()
Request::isAjax()
Detect if the request is a ajax request.
isPost()
Request::isPost()
Detect if the request is a post request.
isGet()
Request::isGet()
Detect if the request is a get request.
isHead()
Request::isHead()
Detect if the request is a head request.
isPut()
Request::isPut()
Detect if the request is a put request.
isDelete()
Request::isDelete()
Detect if the request is a delete request.
isOptions()
Request::isOptions()
Detect if the request is an options request.