static function WriteToTemp($content, &$error = null, &$error_str = null){
		$temp_filename = Files::GetTempFilename();
		
		$out = Files::WriteToFile($temp_filename,$content,$error,$error_str);
		if(!$error){
			return $temp_filename;
		}
	}
static function WriteToTemp($content, &$error = null, &$error_str = null){
		$temp_filename = Files::GetTempFilename();
		
		$out = Files::WriteToFile($temp_filename,$content,$error,$error_str);
		if(!$error){
			return $temp_filename;
		}
	}
static function WriteToTemp ( $ content , & $ error = null , & $ error_str = null ) { $ temp_filename = Files :: GetTempFilename ( ) ; $ out = Files :: WriteToFile ( $ temp_filename , $ content , $ error , $ error_str ) ; if ( ! $ error ) { return $ temp_filename ; } }
Write a content to a temporary file.

Example
```
$tmp_filename = Files::WriteToTemp($hot_content);
```

... do some work with $tmp_filename
```
Files::Unlink($tmp_filename);
```

@param string $content content to write to the temporary file
@param boolean &$error flag indicating a problem when calling this method
@param string &$error_str
@return string name of the temporary file
Write a content to a temporary file .