This commit is contained in:
bnu 2014-12-08 11:26:48 +09:00
parent 6b81ac1f5e
commit c3f005ec4c

View file

@ -138,7 +138,7 @@ class FileHandler
* Write $buff into the specified file
*
* @param string $filename Path of target file
* @param string $buff Content to be writeen
* @param string $buff Content to be written
* @param string $mode a(append) / w(write)
* @return void
*/
@ -510,7 +510,7 @@ class FileHandler
* @param int $timeout Connection timeout
* @param string $method GET/POST
* @param string $content_type Content type header of HTTP request
* @param string[] $headers Headers key vaule array.
* @param string[] $headers Headers key value array.
* @param string[] $cookies Cookies key value array.
* @param string $post_data Request arguments array for POST method
* @return string If success, the content of the target file. Otherwise: none
@ -612,7 +612,7 @@ class FileHandler
* @param string $timeout Connection timeout
* @param string $method GET/POST
* @param string $content_type Content type header of HTTP request
* @param string[] $headers Headers key vaule array.
* @param string[] $headers Headers key value array.
* @return bool TRUE: success, FALSE: failed
*/
function getRemoteFile($url, $target_filename, $body = null, $timeout = 3, $method = 'GET', $content_type = null, $headers = array(), $cookies = array(), $post_data = array(), $request_config = array())