From 6fe89e3c14ec53db7c21b3717d1e9a98c0db855d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Dec 2012 09:10:46 +0100 Subject: PHP 5.5: save extension reflection --- reflection/PDO.txt | 488 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 488 insertions(+) create mode 100644 reflection/PDO.txt (limited to 'reflection/PDO.txt') diff --git a/reflection/PDO.txt b/reflection/PDO.txt new file mode 100644 index 0000000..b18d6ee --- /dev/null +++ b/reflection/PDO.txt @@ -0,0 +1,488 @@ +Extension [ extension #63 PDO version 1.0.4dev ] { + + - Dependencies { + Dependency [ spl (Required) ] + } + + - Functions { + Function [ function pdo_drivers ] { + + - Parameters [0] { + } + } + } + + - Classes [4] { + Class [ class PDOException extends RuntimeException ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + Property [ public $errorInfo ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class PDO ] { + + - Constants [97] { + Constant [ integer PARAM_BOOL ] { 5 } + Constant [ integer PARAM_NULL ] { 0 } + Constant [ integer PARAM_INT ] { 1 } + Constant [ integer PARAM_STR ] { 2 } + Constant [ integer PARAM_LOB ] { 3 } + Constant [ integer PARAM_STMT ] { 4 } + Constant [ integer PARAM_INPUT_OUTPUT ] { 2147483648 } + Constant [ integer PARAM_EVT_ALLOC ] { 0 } + Constant [ integer PARAM_EVT_FREE ] { 1 } + Constant [ integer PARAM_EVT_EXEC_PRE ] { 2 } + Constant [ integer PARAM_EVT_EXEC_POST ] { 3 } + Constant [ integer PARAM_EVT_FETCH_PRE ] { 4 } + Constant [ integer PARAM_EVT_FETCH_POST ] { 5 } + Constant [ integer PARAM_EVT_NORMALIZE ] { 6 } + Constant [ integer FETCH_LAZY ] { 1 } + Constant [ integer FETCH_ASSOC ] { 2 } + Constant [ integer FETCH_NUM ] { 3 } + Constant [ integer FETCH_BOTH ] { 4 } + Constant [ integer FETCH_OBJ ] { 5 } + Constant [ integer FETCH_BOUND ] { 6 } + Constant [ integer FETCH_COLUMN ] { 7 } + Constant [ integer FETCH_CLASS ] { 8 } + Constant [ integer FETCH_INTO ] { 9 } + Constant [ integer FETCH_FUNC ] { 10 } + Constant [ integer FETCH_GROUP ] { 65536 } + Constant [ integer FETCH_UNIQUE ] { 196608 } + Constant [ integer FETCH_KEY_PAIR ] { 12 } + Constant [ integer FETCH_CLASSTYPE ] { 262144 } + Constant [ integer FETCH_SERIALIZE ] { 524288 } + Constant [ integer FETCH_PROPS_LATE ] { 1048576 } + Constant [ integer FETCH_NAMED ] { 11 } + Constant [ integer ATTR_AUTOCOMMIT ] { 0 } + Constant [ integer ATTR_PREFETCH ] { 1 } + Constant [ integer ATTR_TIMEOUT ] { 2 } + Constant [ integer ATTR_ERRMODE ] { 3 } + Constant [ integer ATTR_SERVER_VERSION ] { 4 } + Constant [ integer ATTR_CLIENT_VERSION ] { 5 } + Constant [ integer ATTR_SERVER_INFO ] { 6 } + Constant [ integer ATTR_CONNECTION_STATUS ] { 7 } + Constant [ integer ATTR_CASE ] { 8 } + Constant [ integer ATTR_CURSOR_NAME ] { 9 } + Constant [ integer ATTR_CURSOR ] { 10 } + Constant [ integer ATTR_ORACLE_NULLS ] { 11 } + Constant [ integer ATTR_PERSISTENT ] { 12 } + Constant [ integer ATTR_STATEMENT_CLASS ] { 13 } + Constant [ integer ATTR_FETCH_TABLE_NAMES ] { 14 } + Constant [ integer ATTR_FETCH_CATALOG_NAMES ] { 15 } + Constant [ integer ATTR_DRIVER_NAME ] { 16 } + Constant [ integer ATTR_STRINGIFY_FETCHES ] { 17 } + Constant [ integer ATTR_MAX_COLUMN_LEN ] { 18 } + Constant [ integer ATTR_EMULATE_PREPARES ] { 20 } + Constant [ integer ATTR_DEFAULT_FETCH_MODE ] { 19 } + Constant [ integer ERRMODE_SILENT ] { 0 } + Constant [ integer ERRMODE_WARNING ] { 1 } + Constant [ integer ERRMODE_EXCEPTION ] { 2 } + Constant [ integer CASE_NATURAL ] { 0 } + Constant [ integer CASE_LOWER ] { 2 } + Constant [ integer CASE_UPPER ] { 1 } + Constant [ integer NULL_NATURAL ] { 0 } + Constant [ integer NULL_EMPTY_STRING ] { 1 } + Constant [ integer NULL_TO_STRING ] { 2 } + Constant [ string ERR_NONE ] { 00000 } + Constant [ integer FETCH_ORI_NEXT ] { 0 } + Constant [ integer FETCH_ORI_PRIOR ] { 1 } + Constant [ integer FETCH_ORI_FIRST ] { 2 } + Constant [ integer FETCH_ORI_LAST ] { 3 } + Constant [ integer FETCH_ORI_ABS ] { 4 } + Constant [ integer FETCH_ORI_REL ] { 5 } + Constant [ integer CURSOR_FWDONLY ] { 0 } + Constant [ integer CURSOR_SCROLL ] { 1 } + Constant [ integer FB_ATTR_DATE_FORMAT ] { 1000 } + Constant [ integer FB_ATTR_TIME_FORMAT ] { 1001 } + Constant [ integer FB_ATTR_TIMESTAMP_FORMAT ] { 1002 } + Constant [ integer MYSQL_ATTR_USE_BUFFERED_QUERY ] { 1000 } + Constant [ integer MYSQL_ATTR_LOCAL_INFILE ] { 1001 } + Constant [ integer MYSQL_ATTR_INIT_COMMAND ] { 1002 } + Constant [ integer MYSQL_ATTR_COMPRESS ] { 1003 } + Constant [ integer MYSQL_ATTR_DIRECT_QUERY ] { 1004 } + Constant [ integer MYSQL_ATTR_FOUND_ROWS ] { 1005 } + Constant [ integer MYSQL_ATTR_IGNORE_SPACE ] { 1006 } + Constant [ integer MYSQL_ATTR_SSL_KEY ] { 1007 } + Constant [ integer MYSQL_ATTR_SSL_CERT ] { 1008 } + Constant [ integer MYSQL_ATTR_SSL_CA ] { 1009 } + Constant [ integer MYSQL_ATTR_SSL_CAPATH ] { 1010 } + Constant [ integer MYSQL_ATTR_SSL_CIPHER ] { 1011 } + Constant [ integer MYSQL_ATTR_SERVER_PUBLIC_KEY ] { 1012 } + Constant [ integer ODBC_ATTR_USE_CURSOR_LIBRARY ] { 1000 } + Constant [ integer ODBC_ATTR_ASSUME_UTF8 ] { 1001 } + Constant [ integer ODBC_SQL_USE_IF_NEEDED ] { 0 } + Constant [ integer ODBC_SQL_USE_DRIVER ] { 2 } + Constant [ integer ODBC_SQL_USE_ODBC ] { 1 } + Constant [ integer PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT ] { 1000 } + Constant [ integer PGSQL_TRANSACTION_IDLE ] { 0 } + Constant [ integer PGSQL_TRANSACTION_ACTIVE ] { 1 } + Constant [ integer PGSQL_TRANSACTION_INTRANS ] { 2 } + Constant [ integer PGSQL_TRANSACTION_INERROR ] { 3 } + Constant [ integer PGSQL_TRANSACTION_UNKNOWN ] { 4 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method getAvailableDrivers ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method __construct ] { + + - Parameters [4] { + Parameter #0 [ $dsn ] + Parameter #1 [ $username ] + Parameter #2 [ $passwd ] + Parameter #3 [ $options ] + } + } + + Method [ public method prepare ] { + + - Parameters [2] { + Parameter #0 [ $statement ] + Parameter #1 [ $options ] + } + } + + Method [ public method beginTransaction ] { + + - Parameters [0] { + } + } + + Method [ public method commit ] { + + - Parameters [0] { + } + } + + Method [ public method rollBack ] { + + - Parameters [0] { + } + } + + Method [ public method inTransaction ] { + + - Parameters [0] { + } + } + + Method [ public method setAttribute ] { + + - Parameters [2] { + Parameter #0 [ $attribute ] + Parameter #1 [ $value ] + } + } + + Method [ public method exec ] { + + - Parameters [1] { + Parameter #0 [ $query ] + } + } + + Method [ public method query ] { + } + + Method [ public method lastInsertId ] { + + - Parameters [1] { + Parameter #0 [ $seqname ] + } + } + + Method [ public method errorCode ] { + + - Parameters [0] { + } + } + + Method [ public method errorInfo ] { + + - Parameters [0] { + } + } + + Method [ public method getAttribute ] { + + - Parameters [1] { + Parameter #0 [ $attribute ] + } + } + + Method [ public method quote ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $paramtype ] + } + } + + Method [ final public method __wakeup ] { + + - Parameters [0] { + } + } + + Method [ final public method __sleep ] { + + - Parameters [0] { + } + } + } + } + + Class [ class PDOStatement implements Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ public $queryString ] + } + + - Methods [21] { + Method [ public method execute ] { + + - Parameters [1] { + Parameter #0 [ $bound_input_params ] + } + } + + Method [ public method fetch ] { + + - Parameters [3] { + Parameter #0 [ $how ] + Parameter #1 [ $orientation ] + Parameter #2 [ $offset ] + } + } + + Method [ public method bindParam ] { + + - Parameters [5] { + Parameter #0 [ $paramno ] + Parameter #1 [ &$param ] + Parameter #2 [ $type ] + Parameter #3 [ $maxlen ] + Parameter #4 [ $driverdata ] + } + } + + Method [ public method bindColumn ] { + + - Parameters [5] { + Parameter #0 [ $column ] + Parameter #1 [ &$param ] + Parameter #2 [ $type ] + Parameter #3 [ $maxlen ] + Parameter #4 [ $driverdata ] + } + } + + Method [ public method bindValue ] { + + - Parameters [3] { + Parameter #0 [ $paramno ] + Parameter #1 [ $param ] + Parameter #2 [ $type ] + } + } + + Method [ public method rowCount ] { + + - Parameters [0] { + } + } + + Method [ public method fetchColumn ] { + + - Parameters [1] { + Parameter #0 [ $column_number ] + } + } + + Method [ public method fetchAll ] { + + - Parameters [3] { + Parameter #0 [ $how ] + Parameter #1 [ $class_name ] + Parameter #2 [ $ctor_args ] + } + } + + Method [ public method fetchObject ] { + + - Parameters [2] { + Parameter #0 [ $class_name ] + Parameter #1 [ $ctor_args ] + } + } + + Method [ public method errorCode ] { + + - Parameters [0] { + } + } + + Method [ public method errorInfo ] { + + - Parameters [0] { + } + } + + Method [ public method setAttribute ] { + + - Parameters [2] { + Parameter #0 [ $attribute ] + Parameter #1 [ $value ] + } + } + + Method [ public method getAttribute ] { + + - Parameters [1] { + Parameter #0 [ $attribute ] + } + } + + Method [ public method columnCount ] { + + - Parameters [0] { + } + } + + Method [ public method getColumnMeta ] { + + - Parameters [1] { + Parameter #0 [ $column ] + } + } + + Method [ public method setFetchMode ] { + + - Parameters [2] { + Parameter #0 [ $mode ] + Parameter #1 [ $params ] + } + } + + Method [ public method nextRowset ] { + + - Parameters [0] { + } + } + + Method [ public method closeCursor ] { + + - Parameters [0] { + } + } + + Method [ public method debugDumpParams ] { + + - Parameters [0] { + } + } + + Method [ final public method __wakeup ] { + + - Parameters [0] { + } + } + + Method [ final public method __sleep ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class PDORow ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + } +} + -- cgit