Back to Joomla project (class list)

Class Files - list of methods

Joomla! Input Files Class

Extends

Package: Joomla\CMS\Input
Copyright: (C) 2011 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Input/Files.php
Project: Joomla

Method Summary

public
(array $source = null, array $options = array())

The class constructor.
Parameters
  • array $source The source argument is ignored. $_FILES is always used.
  • array $options An optional array of configuration options: filter : a custom InputFilter object.
Since
  • 3.0.0
Deprecated
  • 5.0
Show source code of this method: __construct Source Code

public mixed
(mixed $name, mixed $default = null, mixed $filter = 'cmd')

Gets a value from the input data.
Parameters
  • 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.
Returns
  • mixed The filtered input value.
Since
  • 1.7.0
Deprecated
  • 5.0
-
  • \Joomla\CMS\Filter\InputFilter::clean()
Show source code of this method: get Source Code

protected array
(array $data)

Method to decode a data array.
Parameters
  • array $data The data array to decode.
Returns
  • array
Since
  • 1.7.0
Deprecated
  • 5.0
Show source code of this method: decodeData Source Code

public void
(mixed $name, mixed $value)

Sets a value.
Parameters
  • string $name The name of the input property to set.
  • mixed $value The value to assign to the input property.
Returns
  • void
Since
  • 1.7.0
Deprecated
  • 5.0
Show source code of this method: set Source Code

Properties Summary

protected array
$decodedData
The pivoted data from a $_FILES or compatible array.
Since
  • 1.7.0
-
  • array

Tags Summary

Since
1.7.0
Deprecated
5.0
Use Joomla\Input\Files instead