Class JInputFiles

Description

Joomla! Input Files Class

  • since: 11.1

Located in /libraries/joomla/input/files.php (line 19)

JInput
   |
   --JInputFiles
Variable Summary
 array $decodedData
Method Summary
 JInputFiles __construct ([array $source = null], [array $options = array()])
 array decodeData (array $data)
 mixed get (string $name, [mixed $default = null], [string $filter = 'cmd'])
 void set (string $name, mixed $value)
Variables
array $decodedData = array() (line 27)

The pivoted data from a $_FILES or compatible array.

  • since: 11.1
  • access: protected

Inherited Variables

Inherited from JInput

JInput::$data
JInput::$filter
JInput::$inputs
JInput::$options
Methods
Constructor __construct (line 38)

The class constructor.

  • since: 12.1
  • access: public
JInputFiles __construct ([array $source = null], [array $options = array()])
  • array $source: The source argument is ignored. $_FILES is always used.
  • array $options: An optional array of configuration options: filter : a custom JFilterInput object.

Redefinition of:
JInput::__construct()
Constructor.
decodeData (line 98)

Method to decode a data array.

  • since: 11.1
  • access: protected
array decodeData (array $data)
  • array $data: The data array to decode.
get (line 68)

Gets a value from the input data.

mixed get (string $name, [mixed $default = null], [string $filter = 'cmd'])
  • string $name: The name of the input property (usually the name of the files INPUT tag) to get.
  • mixed $default: The default value to return if the named property does not exist.
  • string $filter: The filter to apply to the value.

Redefinition of:
JInput::get()
Gets a value from the input data.
set (line 124)

Sets a value.

  • since: 11.1
  • access: public
void set (string $name, mixed $value)
  • string $name: The name of the input property to set.
  • mixed $value: The value to assign to the input property.

Redefinition of:
JInput::set()
Sets a value

Inherited Methods

Inherited From JInput

 JInput::__construct()
 JInput::count()
 JInput::def()
 JInput::get()
 JInput::getArray()
 JInput::getMethod()
 JInput::loadAllInputs()
 JInput::serialize()
 JInput::set()
 JInput::unserialize()
 JInput::__call()
 JInput::__get()

Documentation generated on Tue, 19 Nov 2013 15:03:13 +0100 by phpDocumentor 1.4.3