|
@@ -26,70 +26,70 @@ import php.*;
|
|
|
|
|
|
@:native('PDO')
|
|
@:native('PDO')
|
|
extern class PDO {
|
|
extern class PDO {
|
|
- @:phpClassConst static var PARAM_BOOL:Int;
|
|
|
|
- @:phpClassConst static var PARAM_NULL:Int;
|
|
|
|
- @:phpClassConst static var PARAM_INT:Int;
|
|
|
|
- @:phpClassConst static var PARAM_STR:Int;
|
|
|
|
- @:phpClassConst static var PARAM_LOB:Int;
|
|
|
|
- @:phpClassConst static var PARAM_STMT:Int;
|
|
|
|
- @:phpClassConst static var PARAM_INPUT_OUTPUT:Int;
|
|
|
|
- @:phpClassConst static var FETCH_LAZY:Int;
|
|
|
|
- @:phpClassConst static var FETCH_ASSOC:Int;
|
|
|
|
- @:phpClassConst static var FETCH_NAMED:Int;
|
|
|
|
- @:phpClassConst static var FETCH_NUM:Int;
|
|
|
|
- @:phpClassConst static var FETCH_BOTH:Int;
|
|
|
|
- @:phpClassConst static var FETCH_OBJ:Int;
|
|
|
|
- @:phpClassConst static var FETCH_BOUND:Int;
|
|
|
|
- @:phpClassConst static var FETCH_COLUMN:Int;
|
|
|
|
- @:phpClassConst static var FETCH_CLASS:Int;
|
|
|
|
- @:phpClassConst static var FETCH_INTO:Int;
|
|
|
|
- @:phpClassConst static var FETCH_FUNC:Int;
|
|
|
|
- @:phpClassConst static var FETCH_GROUP:Int;
|
|
|
|
- @:phpClassConst static var FETCH_UNIQUE:Int;
|
|
|
|
- @:phpClassConst static var FETCH_KEY_PAIR:Int;
|
|
|
|
- @:phpClassConst static var FETCH_CLASSTYPE:Int;
|
|
|
|
- @:phpClassConst static var FETCH_SERIALIZE:Int;
|
|
|
|
- @:phpClassConst static var FETCH_PROPS_LATE:Int;
|
|
|
|
- @:phpClassConst static var ATTR_AUTOCOMMIT:Int;
|
|
|
|
- @:phpClassConst static var ATTR_PREFETCH:Int;
|
|
|
|
- @:phpClassConst static var ATTR_TIMEOUT:Int;
|
|
|
|
- @:phpClassConst static var ATTR_ERRMODE:Int;
|
|
|
|
- @:phpClassConst static var ATTR_SERVER_VERSION:Int;
|
|
|
|
- @:phpClassConst static var ATTR_CLIENT_VERSION:Int;
|
|
|
|
- @:phpClassConst static var ATTR_SERVER_INFO:Int;
|
|
|
|
- @:phpClassConst static var ATTR_CONNECTION_STATUS:Int;
|
|
|
|
- @:phpClassConst static var ATTR_CASE:Int;
|
|
|
|
- @:phpClassConst static var ATTR_CURSOR_NAME:Int;
|
|
|
|
- @:phpClassConst static var ATTR_CURSOR:Int;
|
|
|
|
- @:phpClassConst static var ATTR_DRIVER_NAME:String;
|
|
|
|
- @:phpClassConst static var ATTR_ORACLE_NULLS:Int;
|
|
|
|
- @:phpClassConst static var ATTR_PERSISTENT:Int;
|
|
|
|
- @:phpClassConst static var ATTR_STATEMENT_CLASS:Int;
|
|
|
|
- @:phpClassConst static var ATTR_FETCH_TABLE_NAMES:Int;
|
|
|
|
- @:phpClassConst static var ATTR_STRINGIFY_FETCHES:Int;
|
|
|
|
- @:phpClassConst static var ATTR_EMULATE_PREPARES:Int;
|
|
|
|
- @:phpClassConst static var ERRMODE_SILENT:Int;
|
|
|
|
- @:phpClassConst static var ERRMODE_WARNING:Int;
|
|
|
|
- @:phpClassConst static var ERRMODE_EXCEPTION:Int;
|
|
|
|
- @:phpClassConst static var CASE_NATURAL:Int;
|
|
|
|
- @:phpClassConst static var CASE_LOWER:Int;
|
|
|
|
- @:phpClassConst static var CASE_UPPER:Int;
|
|
|
|
- @:phpClassConst static var NULL_NATURAL:Int;
|
|
|
|
- @:phpClassConst static var FETCH_ORI_PRIOR:Int;
|
|
|
|
- @:phpClassConst static var FETCH_ORI_FIRST:Int;
|
|
|
|
- @:phpClassConst static var FETCH_ORI_LAST:Int;
|
|
|
|
- @:phpClassConst static var FETCH_ORI_ABS:Int;
|
|
|
|
- @:phpClassConst static var FETCH_ORI_REL:Int;
|
|
|
|
- @:phpClassConst static var CURSOR_FWDONLY:Int;
|
|
|
|
- @:phpClassConst static var CURSOR_SCROLL:Int;
|
|
|
|
- @:phpClassConst static var ERR_NONE:String;
|
|
|
|
- @:phpClassConst static var PARAM_EVT_ALLOC:Int;
|
|
|
|
- @:phpClassConst static var PARAM_EVT_FREE:Int;
|
|
|
|
- @:phpClassConst static var PARAM_EVT_EXEC_PRE:Int;
|
|
|
|
- @:phpClassConst static var PARAM_EVT_EXEC_POST:Int;
|
|
|
|
- @:phpClassConst static var PARAM_EVT_FETCH_PRE:Int;
|
|
|
|
- @:phpClassConst static var PARAM_EVT_FETCH_POST:Int;
|
|
|
|
- @:phpClassConst static var PARAM_EVT_NORMALIZE:Int;
|
|
|
|
|
|
+ @:phpClassConst static final PARAM_BOOL:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_NULL:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_INT:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_STR:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_LOB:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_STMT:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_INPUT_OUTPUT:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_LAZY:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_ASSOC:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_NAMED:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_NUM:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_BOTH:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_OBJ:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_BOUND:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_COLUMN:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_CLASS:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_INTO:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_FUNC:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_GROUP:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_UNIQUE:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_KEY_PAIR:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_CLASSTYPE:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_SERIALIZE:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_PROPS_LATE:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_AUTOCOMMIT:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_PREFETCH:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_TIMEOUT:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_ERRMODE:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_SERVER_VERSION:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_CLIENT_VERSION:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_SERVER_INFO:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_CONNECTION_STATUS:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_CASE:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_CURSOR_NAME:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_CURSOR:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_DRIVER_NAME:String;
|
|
|
|
+ @:phpClassConst static final ATTR_ORACLE_NULLS:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_PERSISTENT:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_STATEMENT_CLASS:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_FETCH_TABLE_NAMES:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_STRINGIFY_FETCHES:Int;
|
|
|
|
+ @:phpClassConst static final ATTR_EMULATE_PREPARES:Int;
|
|
|
|
+ @:phpClassConst static final ERRMODE_SILENT:Int;
|
|
|
|
+ @:phpClassConst static final ERRMODE_WARNING:Int;
|
|
|
|
+ @:phpClassConst static final ERRMODE_EXCEPTION:Int;
|
|
|
|
+ @:phpClassConst static final CASE_NATURAL:Int;
|
|
|
|
+ @:phpClassConst static final CASE_LOWER:Int;
|
|
|
|
+ @:phpClassConst static final CASE_UPPER:Int;
|
|
|
|
+ @:phpClassConst static final NULL_NATURAL:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_ORI_PRIOR:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_ORI_FIRST:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_ORI_LAST:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_ORI_ABS:Int;
|
|
|
|
+ @:phpClassConst static final FETCH_ORI_REL:Int;
|
|
|
|
+ @:phpClassConst static final CURSOR_FWDONLY:Int;
|
|
|
|
+ @:phpClassConst static final CURSOR_SCROLL:Int;
|
|
|
|
+ @:phpClassConst static final ERR_NONE:String;
|
|
|
|
+ @:phpClassConst static final PARAM_EVT_ALLOC:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_EVT_FREE:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_EVT_EXEC_PRE:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_EVT_EXEC_POST:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_EVT_FETCH_PRE:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_EVT_FETCH_POST:Int;
|
|
|
|
+ @:phpClassConst static final PARAM_EVT_NORMALIZE:Int;
|
|
|
|
|
|
function new(dns:String, ?username:String, ?password:String, ?options:NativeArray):Void;
|
|
function new(dns:String, ?username:String, ?password:String, ?options:NativeArray):Void;
|
|
function beginTransaction():Bool;
|
|
function beginTransaction():Bool;
|