Phorm/Field/FileUpload.class.php
/**
	 * On a successful upload, returns a new File instance.
	 *
	 * @param array $value the file data from $_FILES
	 * @return File a new File instance
	 * @see File
	 */
On a successful upload, returns a new File instance.
@param array $value the file data from $_FILES
@return File a new File instance
@see File
On a successful upload returns a new File instance . @param array $value the file data from $_FILES @return File a new File instance @see File
public function import_value($value)
	{
		if( $this->file_was_uploaded() )
		{
			return $this->get_file();
		}
	}
public function import_value ( $ value ) { if ( $ this -> file_was_uploaded ( ) ) { return $ this -> get_file ( ) ; } }
On a successful upload, returns a new File instance.
On a successful upload returns a new File instance .