Request
class Request
Handles all kind of stuff during one request
Properties
bool | $post | ||
bool | $get | ||
bool | $put | ||
bool | $delete |
Methods
Request constructor.
Returns true of the requesting browser accepts text/html as response mime type
Returns true of the requesting browser accepts image/* as response mime type
Checks if the browser accepts the passed mime types for this request. Parameter can contain wildcards using fnmatch syntax $XF->lib->request->accepts_mime("text/*")
Read everything from STDIN e.g. for PUT Requests
No description
No description
No description
Details
at line 37
__construct()
Request constructor.
at line 132
bool
accepts_html()
Returns true of the requesting browser accepts text/html as response mime type
at line 140
bool
accepts_image()
Returns true of the requesting browser accepts image/* as response mime type
at line 118
bool
accepts_mime($accepted_mime_type)
Checks if the browser accepts the passed mime types for this request. Parameter can contain wildcards using fnmatch syntax $XF->lib->request->accepts_mime("text/*")
at line 102
get_input()
Read everything from STDIN e.g. for PUT Requests
at line 61
mixed
get_var($var)
No description
at line 70
bool
is_webservice_call(string $type = 'any')
No description
at line 52
set_var($var, $value)
No description