Files
Extends InputJoomla! Input Files Class
| since |
1.7.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Files instead |
| package |
Joomla CMS |
Methods
__construct
Constructor.
__construct(array source = null, array options = array()) : mixed
| since |
1.7.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Input instead |
Arguments
- source
arraySource data (Optional, default is $_REQUEST)- options
arrayArray of configuration parameters (Optional)
Response
mixed
__get
Magic method to get an input object
__get(mixed name) : \Joomla\CMS\Input\Input
| since |
1.7.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Input instead |
Arguments
- name
mixedName of the input object to retrieve.
Response
\Joomla\CMS\Input\InputThe request input object
decodeData
Method to decode a data array.
decodeData(array data) : array
| since |
1.7.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Files instead |
Arguments
- data
arrayThe data array to decode.
Response
array
get
Gets a value from the input data.
get(string name, mixed default = null, string filter = 'cmd') : mixed
| see | JFilterInput::clean() |
|---|---|
| since |
1.7.0 |
| deprecated |
5.0 Use Joomla\Input\Files instead |
Arguments
- name
stringThe name of the input property (usually the name of the files INPUT tag) to get.- default
mixedThe default value to return if the named property does not exist.- filter
stringThe filter to apply to the value.
Response
mixedThe filtered input value.
getArray
Gets an array of values from the request.
getArray(array vars = array(), mixed datasource = null, string defaultFilter = 'unknown') : mixed
| since |
1.7.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Input instead |
Arguments
- vars
arrayAssociative array of keys and filter types to apply. If empty and datasource is null, all the input data will be returned but filtered using the filter given by the parameter defaultFilter in JFilterInput::clean.- datasource
mixedArray to retrieve data from, or null.- defaultFilter
stringDefault filter used in JFilterInput::clean if vars is empty and datasource is null. If 'unknown', the default case is used in JFilterInput::clean.
Response
mixedThe filtered input data.
getArrayRecursive
Gets an array of values from the request.
getArrayRecursive(array vars = array(), mixed datasource = null, string defaultFilter = 'unknown', bool recursion = false) : mixed
| since |
3.4.2 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Input instead |
Arguments
- vars
arrayAssociative array of keys and filter types to apply. If empty and datasource is null, all the input data will be returned but filtered using the filter given by the parameter defaultFilter in JFilterInput::clean.- datasource
mixedArray to retrieve data from, or null.- defaultFilter
stringDefault filter used in JFilterInput::clean if vars is empty and datasource is null. If 'unknown', the default case is used in JFilterInput::clean.- recursion
boolFlag to indicate a recursive function call.
Response
mixedThe filtered input data.
set
Sets a value.
set(string name, mixed value) : void
| since |
1.7.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Files instead |
Arguments
- name
stringThe name of the input property to set.- value
mixedThe value to assign to the input property.
unserialize
Method to unserialize the input.
unserialize(string input) : \Joomla\CMS\Input\Input
| since |
3.0.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Input instead |
Arguments
- input
stringThe serialized input.
Response
\Joomla\CMS\Input\InputThe input object.
Properties
decodedData
The pivoted data from a $_FILES or compatible array.
| since |
1.7.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Files instead |
Type(s)
array
allowedGlobals
Container with allowed superglobals
| since |
3.8.9 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Input instead |
Type(s)
array
inputs
Input objects
| since |
1.7.0 |
|---|---|
| deprecated |
5.0 Use Joomla\Input\Input instead |
Type(s)
\Joomla\CMS\Input\Input[]
get
Type(s)
\Joomla\CMS\Input\Input
post
Type(s)
\Joomla\CMS\Input\Input
request
Type(s)
\Joomla\CMS\Input\Input
server
Type(s)
\Joomla\CMS\Input\Input
env
Type(s)
\Joomla\CMS\Input\Input
files
Type(s)
\Joomla\CMS\Input\Files
cookie
Type(s)
\Joomla\CMS\Input\Cookie