浏览代码

[php] added externs for move_uploaded_file() and is_uploaded_file()

Alexander Kuzmenko 7 年之前
父节点
当前提交
a78e5538bb
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      std/php/Global.hx

+ 10 - 0
std/php/Global.hx

@@ -1212,4 +1212,14 @@ extern class Global {
 		@see http://php.net/manual/en/function.gzuncompress.php
 	**/
 	static function gzuncompress( data:String, ?length:Int ) : EitherType<String,Bool>;
+
+	/**
+		@see http://php.net/manual/en/function.move-uploaded-file.php
+	**/
+	static function move_uploaded_file( filename:String, destination:String ) : Bool;
+
+	/**
+		@see http://php.net/manual/en/function.is-uploaded-file.php
+	**/
+	static function is_uploaded_file( filename:String ) : Bool;
 }