Source for file files.php
Documentation is available at files.php
 * @package     Joomla.Platform  
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.  
 * @license     GNU General Public License version 2 or later; see LICENSE  
 * Joomla! Input Files Class  
 * @package     Joomla.Platform  
     * The pivoted data from a $_FILES or compatible array.  
     * @param   array  $source   The source argument is ignored. $_FILES is always used.  
     * @param   array  $options  An optional array of configuration options:  
     *                            filter : a custom JFilterInput object.  
    public function __construct(array $source = 
null, array $options = 
array())  
        if (isset
($options['filter']))  
            $this->filter = 
$options['filter'];  
        // Set the options for the class.  
     * Gets a value from the input data.  
     * @param   string  $name     The name of the input property (usually the name of the files INPUT tag) to get.  
     * @param   mixed   $default  The default value to return if the named property does not exist.  
     * @param   string  $filter   The filter to apply to the value.  
     * @return  mixed  The filtered input value.  
     * @see     JFilterInput::clean()  
    public function get($name, $default = 
null, $filter = 
'cmd')  
        if (isset
($this->data[$name]))  
                    $this->data[$name]['name'],  
                    $this->data[$name]['type'],  
                    $this->data[$name]['tmp_name'],  
                    $this->data[$name]['error'],  
                    $this->data[$name]['size']  
     * Method to decode a data array.  
     * @param   array  $data  The data array to decode.  
            foreach ($data[0] as $k => 
$v)  
                $result[$k] = 
$this->decodeData(array($data[0][$k], $data[1][$k], $data[2][$k], $data[3][$k], $data[4][$k]));  
        return array('name' => 
$data[0], 'type' => 
$data[1], 'tmp_name' => 
$data[2], 'error' => 
$data[3], 'size' => 
$data[4]);  
     * @param   string  $name   The name of the input property to set.  
     * @param   mixed   $value  The value to assign to the input property.  
    public function set($name, $value)  
 
 
	
		Documentation generated on Tue, 19 Nov 2013 15:03:13 +0100 by phpDocumentor 1.4.3