__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
stringname of the HTTP method to set variables for, in lowercase
arrayassoc array of input fieldnames and values
all() : array
arraydelete(string $index, mixed $default) : string | array
stringThe index key
mixedThe default value
stringarray
extension() : string
stringget(string $index, string $default) : string | array
stringThe index to get
stringThe default value
stringarray
json(mixed $index, mixed $default) : array
mixed
mixed
arrayparsed request body content.method(string $default) : string
string
stringparam(string $index, mixed $default) : string | array
stringThe index key
mixedThe default value
stringarray
patch(string $index, mixed $default) : string | array
stringThe index key
mixedThe default value
stringarray
post(string $index, mixed $default) : string | array
stringThe index key
mixedThe default value
stringarray
put(string $index, mixed $default) : string | array
stringThe index key
mixedThe default value
stringarray
raw() : array
arrayuri() : string
\FuelException |
|---|
stringxml(mixed $index, mixed $default) : array
mixed
mixed
arrayparsed 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