public function getAllFiles($index = null)
	{
		// return the selection
		if ($selection = (func_num_args() and ! is_null($index)) ? $this[$index] : $this->container)
		{
			// make sure selection is an array
			is_array($selection) or $selection = array($selection);
		}
		else
		{
			$selection = array();
		}

		return $selection;
	}
public function getAllFiles($index = null)
	{
		// return the selection
		if ($selection = (func_num_args() and ! is_null($index)) ? $this[$index] : $this->container)
		{
			// make sure selection is an array
			is_array($selection) or $selection = array($selection);
		}
		else
		{
			$selection = array();
		}

		return $selection;
	}
public function getAllFiles ( $ index = null ) { // return the selection if ( $ selection = ( func_num_args ( ) and ! is_null ( $ index ) ) ? $ this [ $ index ] : $ this -> container ) { // make sure selection is an array is_array ( $ selection ) or $ selection = array ( $ selection ) ; } else { $ selection = array ( ) ; } return $ selection ; }
Returns the list of uploaded files

@param integer|string $index

@return File[]
Returns the list of uploaded files