__construct()
_set()
all()
delete()
extension()
get()
json()
method()
param()
patch()
post()
put()
raw()
uri()
xml()
hydrate()
$detected_ext
$detected_uri
$input_delete
$input_get
$input_json
$input_patch
$input_post
$input_put
$input_xml
$raw_input
$request
Input class instance
The input class allows you to access HTTP parameters, load server variables and user agent details.
package | Fuel |
---|---|
category | Core |
link | http://docs.fuelphp.com/classes/input.html |
__construct(\Fuel\Core\Request $new, \Fuel\Core\Input_Instance $input)
_set(string $method, array $input) : void
string
name of the HTTP method to set variables for, in lowercase
array
assoc array of input fieldnames and values
all() : array
array
delete(string $index, mixed $default) : string | array
string
The index key
mixed
The default value
string
array
extension() : string
string
get(string $index, string $default) : string | array
string
The index to get
string
The default value
string
array
json(mixed $index, mixed $default) : array
mixed
mixed
array
parsed request body content.method(string $default) : string
string
string
param(string $index, mixed $default) : string | array
string
The index key
mixed
The default value
string
array
patch(string $index, mixed $default) : string | array
string
The index key
mixed
The default value
string
array
post(string $index, mixed $default) : string | array
string
The index key
mixed
The default value
string
array
put(string $index, mixed $default) : string | array
string
The index key
mixed
The default value
string
array
raw() : array
array
uri() : string
\FuelException |
---|
string
xml(mixed $index, mixed $default) : array
mixed
mixed
array
parsed request body content.hydrate() : void
$detected_ext : \Fuel\Core\$detected_ext
$detected_uri : \Fuel\Core\$detected_uri
$input_delete : array
$input_get : array
$input_json : \Fuel\Core\$json
$input_patch : array
$input_post : array
$input_put : array
$input_xml : \Fuel\Core\$xml
$raw_input : string
$request : \Fuel\Core\$request