Static Public Member Functions |
static | is_ajax () |
| Returns true if request is an ajax request This works for mose js-libraries like jQuery, prototype.
|
static | accepts_xhtml () |
| Returns true if call accepts xhtml.
|
static | accepts_xml () |
| Returns true if call accepts xml.
|
static | accepts_rss () |
| Returns true if call accepts rss.
|
static | accepts_atom () |
| Returns true if call accepts atom.
|
static | is_post () |
| Returns true if the request is POST.
|
static | is_put () |
| Returns true if the request is PUT.
|
static | is_get () |
| Returns true if the request is GET.
|
static | is_delete () |
| Returns true if the request is DELETE.
|
static | method () |
| Returns current request method.
|
static | accepts ($type=null) |
| Returns boolean of whether client accepts content type.
|
Static Protected Attributes |
static | $http_methods = array('get', 'post', 'put', 'delete') |
static | $accept_types = array() |
Member Function Documentation
static request::accepts |
( |
|
$type = null | ) |
|
|
static |
Returns boolean of whether client accepts content type.
- Returns
- boolean
static request::accepts_atom |
( |
| ) |
|
|
static |
Returns true if call accepts atom.
- Returns
- bool
static request::accepts_rss |
( |
| ) |
|
|
static |
Returns true if call accepts rss.
- Returns
- bool
static request::accepts_xhtml |
( |
| ) |
|
|
static |
Returns true if call accepts xhtml.
- Returns
- bool
static request::accepts_xml |
( |
| ) |
|
|
static |
Returns true if call accepts xml.
- Returns
- bool
static request::is_ajax |
( |
| ) |
|
|
static |
Returns true if request is an ajax request This works for mose js-libraries like jQuery, prototype.
- Returns
- bool
static request::is_delete |
( |
| ) |
|
|
static |
Returns true if the request is DELETE.
- Returns
- bool
static request::is_get |
( |
| ) |
|
|
static |
Returns true if the request is GET.
- Returns
- bool
static request::is_post |
( |
| ) |
|
|
static |
Returns true if the request is POST.
- Returns
- bool
static request::is_put |
( |
| ) |
|
|
static |
Returns true if the request is PUT.
- Returns
- bool
static request::method |
( |
| ) |
|
|
static |
Returns current request method.
- Returns
- string
The documentation for this class was generated from the following file: