original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: Returns the list of uploaded files
  
  @param integer|string $index
  
  @return File[]
docstring_tokens: Returns the list of uploaded files