From 22f28b766b14011ad2b6bd18ea87e9ab9cc69667 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Wed, 26 Mar 2014 20:54:40 -0400 Subject: [PATCH] Remove PDO_Firebird driver --- docs/classes.svg | 474 +- .../{DB_PDO.html => Abstract_Driver.html} | 12 +- docs/classes/BadConnectionException.html | 2 +- docs/classes/BadDBDriverException.html | 2 +- docs/classes/DB_Util.html | 2 +- docs/classes/Firebird.html | 117 +- docs/classes/Firebird_Result.html | 6 +- docs/classes/Firebird_SQL.html | 2 +- docs/classes/Firebird_Util.html | 16 +- docs/classes/MySQL.html | 2 +- docs/classes/MySQL_SQL.html | 2 +- docs/classes/MySQL_Util.html | 16 +- docs/classes/PDO_Firebird.html | 183 - docs/classes/PDO_Firebird_SQL.html | 96 - docs/classes/PDO_Firebird_Util.html | 96 - docs/classes/PgSQL.html | 2 +- docs/classes/PgSQL_SQL.html | 2 +- docs/classes/PgSQL_Util.html | 62 +- docs/classes/Query_Builder.html | 44 +- docs/classes/Query_Parser.html | 2 +- docs/classes/SQLite.html | 12 +- docs/classes/SQLite_SQL.html | 6 +- docs/classes/SQLite_Util.html | 62 +- docs/classes/iDB_SQL.html | 2 +- docs/classes/iQuery_Builder.html | 2 +- docs/classes/idriver.html | 302 + docs/deprecated.html | 2 +- docs/errors.html | 4 +- docs/graph_class.html | 2 +- docs/markers.html | 6 +- docs/namespaces/global.html | 34 +- docs/packages/Default.html | 2 +- docs/packages/Query.Drivers.html | 44 +- docs/packages/Query.Query.html | 24 +- docs/packages/Query.html | 49 +- docs/structure.xml | 9175 +++++++++-------- drivers/pdo_firebird/pdo_firebird_driver.php | 77 - drivers/pdo_firebird/pdo_firebird_sql.php | 25 - drivers/pdo_firebird/pdo_firebird_util.php | 25 - .../pdo_firebird/PDOFirebirdQBTest.php | 81 - .../pdo_firebird/PDOFirebirdTest.php | 40 - tests/phpunit.xml | 4 - 42 files changed, 5537 insertions(+), 5583 deletions(-) rename docs/classes/{DB_PDO.html => Abstract_Driver.html} (98%) delete mode 100644 docs/classes/PDO_Firebird.html delete mode 100644 docs/classes/PDO_Firebird_SQL.html delete mode 100644 docs/classes/PDO_Firebird_Util.html create mode 100644 docs/classes/idriver.html delete mode 100644 drivers/pdo_firebird/pdo_firebird_driver.php delete mode 100644 drivers/pdo_firebird/pdo_firebird_sql.php delete mode 100644 drivers/pdo_firebird/pdo_firebird_util.php delete mode 100644 tests/databases/pdo_firebird/PDOFirebirdQBTest.php delete mode 100644 tests/databases/pdo_firebird/PDOFirebirdTest.php diff --git a/docs/classes.svg b/docs/classes.svg index aef8715..91db7b1 100644 --- a/docs/classes.svg +++ b/docs/classes.svg @@ -4,263 +4,243 @@ - - + + G - + cluster_Global - - - - - - - + + + + + + + -\ - - -\\DB_PDO - -«abstract» -DB_PDO - - -\\PDO - -\PDO - - -\\DB_PDO->\\PDO - - - - -\\Firebird_Result - -Firebird_Result - - -\\PDOStatement - -\PDOStatement - - -\\Firebird_Result->\\PDOStatement - - - - -\\Firebird_Util - -Firebird_Util +\ -\\DB_Util - -«abstract» -DB_Util - - -\\Firebird_Util->\\DB_Util - - - - -\\PDO_Firebird_Util - -PDO_Firebird_Util - - -\\PDO_Firebird_Util->\\Firebird_Util - - - - -\\Query_Builder - -Query_Builder - - -\\iQuery_Builder - -iQuery_Builder - - -\\Query_Builder->\\iQuery_Builder - - - - -\\Firebird - -Firebird - - -\\Firebird->\\DB_PDO - - - - -\\MySQL_Util - -MySQL_Util - - -\\MySQL_Util->\\DB_Util - - - - -\\SQLite_Util - -SQLite_Util - - -\\SQLite_Util->\\DB_Util - - - - -\\PDO_Firebird - -PDO_Firebird - - -\\PDO_Firebird->\\DB_PDO - - - - -\\PgSQL_Util - -PgSQL_Util - - -\\PgSQL_Util->\\DB_Util - - - - -\\PgSQL_SQL - -PgSQL_SQL - - -\\iDB_SQL - -iDB_SQL - - -\\PgSQL_SQL->\\iDB_SQL - - - - -\\PDO_Firebird_SQL - -PDO_Firebird_SQL - - -\\Firebird_SQL - -Firebird_SQL - - -\\PDO_Firebird_SQL->\\Firebird_SQL - - - - -\\MySQL_SQL - -MySQL_SQL - - -\\MySQL_SQL->\\iDB_SQL - - - - -\\Firebird_SQL->\\iDB_SQL - - - - -\\SQLite - -SQLite - - -\\SQLite->\\DB_PDO - - - - -\\SQLite_SQL - -SQLite_SQL - - -\\SQLite_SQL->\\iDB_SQL - - - - -\\PgSQL - -PgSQL - - -\\PgSQL->\\DB_PDO - - - - -\\BadDBDriverException - -BadDBDriverException - - -\\InvalidArgumentException - -\InvalidArgumentException - - -\\BadDBDriverException->\\InvalidArgumentException - - - - -\\BadConnectionException - -BadConnectionException - - -\\UnexpectedValueException - -\UnexpectedValueException - - -\\BadConnectionException->\\UnexpectedValueException - - +\\DB_Util + +«abstract» +DB_Util -\\Query_Parser - -Query_Parser +\\Query_Parser + +Query_Parser + + +\\Abstract_Driver + +«abstract» +Abstract_Driver + + +\\idriver + +idriver + + +\\Abstract_Driver->\\idriver + + + + +\\PDO + +\PDO + + +\\Abstract_Driver->\\PDO + + + + +\\Query_Builder + +Query_Builder + + +\\iQuery_Builder + +iQuery_Builder + + +\\Query_Builder->\\iQuery_Builder + + + + +\\SQLite_Util + +SQLite_Util + + +\\SQLite_Util->\\DB_Util + + + + +\\SQLite + +SQLite + + +\\SQLite->\\Abstract_Driver + + + + +\\SQLite_SQL + +SQLite_SQL + + +\\iDB_SQL + +iDB_SQL + + +\\SQLite_SQL->\\iDB_SQL + + + + +\\Firebird_SQL + +Firebird_SQL + + +\\Firebird_SQL->\\iDB_SQL + + + + +\\Firebird_Util + +Firebird_Util + + +\\Firebird_Util->\\DB_Util + + + + +\\Firebird_Result + +Firebird_Result + + +\\PDOStatement + +\PDOStatement + + +\\Firebird_Result->\\PDOStatement + + + + +\\Firebird + +Firebird + + +\\Firebird->\\Abstract_Driver + + + + +\\PgSQL_Util + +PgSQL_Util + + +\\PgSQL_Util->\\DB_Util + + + + +\\PgSQL_SQL + +PgSQL_SQL + + +\\PgSQL_SQL->\\iDB_SQL + + + + +\\PgSQL + +PgSQL + + +\\PgSQL->\\Abstract_Driver + + + + +\\MySQL_SQL + +MySQL_SQL + + +\\MySQL_SQL->\\iDB_SQL + + + + +\\MySQL_Util + +MySQL_Util + + +\\MySQL_Util->\\DB_Util + + -\\MySQL - -MySQL +\\MySQL + +MySQL - -\\MySQL->\\DB_PDO - - + +\\MySQL->\\Abstract_Driver + + + + +\\BadDBDriverException + +BadDBDriverException + + +\\InvalidArgumentException + +\InvalidArgumentException + + +\\BadDBDriverException->\\InvalidArgumentException + + + + +\\BadConnectionException + +BadConnectionException + + +\\UnexpectedValueException + +\UnexpectedValueException + + +\\BadConnectionException->\\UnexpectedValueException + + diff --git a/docs/classes/DB_PDO.html b/docs/classes/Abstract_Driver.html similarity index 98% rename from docs/classes/DB_PDO.html rename to docs/classes/Abstract_Driver.html index c4b6ecd..975d580 100644 --- a/docs/classes/DB_PDO.html +++ b/docs/classes/Abstract_Driver.html @@ -3,7 +3,7 @@ -Query » \DB_PDO +Query » \Abstract_Driver @@ -108,12 +108,12 @@ the connection/database
get_system_tables()
-
@@ -522,7 +522,7 @@ the connection/database Template is built using Twitter Bootstrap 2 and icons provided by Glyphicons.
Documentation is powered by phpDocumentor 2.2.0 and
- generated on 2014-03-17T19:32:00-04:00.
+ generated on 2014-03-26T20:50:45-04:00.
diff --git a/docs/classes/BadConnectionException.html b/docs/classes/BadConnectionException.html index ca58c14..8d8afb7 100644 --- a/docs/classes/BadConnectionException.html +++ b/docs/classes/BadConnectionException.html @@ -90,7 +90,7 @@ Template is built using Twitter Bootstrap 2 and icons provided by Glyphicons.
Documentation is powered by phpDocumentor 2.2.0 and
- generated on 2014-03-17T19:32:00-04:00.
+ generated on 2014-03-26T20:50:45-04:00.
diff --git a/docs/classes/BadDBDriverException.html b/docs/classes/BadDBDriverException.html index 6581f1d..e527a7a 100644 --- a/docs/classes/BadDBDriverException.html +++ b/docs/classes/BadDBDriverException.html @@ -90,7 +90,7 @@ Template is built using Twitter Bootstrap 2 and icons provided by Glyphicons.
Documentation is powered by phpDocumentor 2.2.0 and
- generated on 2014-03-17T19:32:00-04:00.
+ generated on 2014-03-26T20:50:45-04:00.
diff --git a/docs/classes/DB_Util.html b/docs/classes/DB_Util.html index 12616e1..99ffbb6 100644 --- a/docs/classes/DB_Util.html +++ b/docs/classes/DB_Util.html @@ -233,7 +233,7 @@ Template is built using Twitter Bootstrap 2 and icons provided by Glyphicons.
Documentation is powered by phpDocumentor 2.2.0 and
- generated on 2014-03-17T19:32:00-04:00.
+ generated on 2014-03-26T20:50:45-04:00.
diff --git a/docs/classes/Firebird.html b/docs/classes/Firebird.html index 7a715bd..852dfe7 100644 --- a/docs/classes/Firebird.html +++ b/docs/classes/Firebird.html @@ -66,13 +66,18 @@
  • Commit a database transaction
    commit()
  • Method to emulate PDO->errorCode
    errorCode()
  • Method to emulate PDO->errorInfo / PDOStatement->errorInfo
    errorInfo()
  • +
  • Execute an sql statement and return number of affected rows
    exec()
  • +
  • Implement for compatibility with PDO
    getAttribute()
  • +
  • Return whether the current statement is in a transaction
    inTransaction()
  • Create sql for batch insert
    insert_batch()
  • +
  • Returns the last value of the specified generator
    lastInsertId()
  • Emulate PDO prepare
    prepare()
  • Prepare and execute a query
    prepare_execute()
  • Bind a prepared query with arguments for executing
    prepare_query()
  • Wrapper public function to better match PDO
    query()
  • Method to emulate PDO->quote
    quote()
  • Rollback a transaction
    rollBack()
  • +
  • Set a connection attribute
    setAttribute()
  • Empty a database table
    truncate()
  • @@ -143,12 +148,14 @@ the last query executed">
    $statement_link
     

    Start a database transaction

    -
    beginTransaction() : bool
    +
    beginTransaction() : boolean | null

    Returns

    -
    bool
    +
    +booleannull +
    @@ -181,6 +188,46 @@ the last query executed">
    $statement_linkarray
    +
    +

    Execute an sql statement and return number of affected rows

    +
    exec(string $sql) : int
    +
    +
    +
    +

    Parameters

    +
    +

    $sql

    +string +
    +

    Returns

    +
    int
    +
    +
    +
    +

    Implement for compatibility with PDO

    +
    getAttribute(int $attribute) : mixed
    +
    +
    +
    +

    Parameters

    +
    +

    $attribute

    +int +
    +

    Returns

    +
    mixed
    +
    +
    +
    +

    Return whether the current statement is in a transaction

    +
    inTransaction() : bool
    +
    +
    +
    +

    Returns

    +
    bool
    +
    +

    Create sql for batch insert

    insert_batch(string $table, array $data = array()) : string
    @@ -200,16 +247,27 @@ the last query executed">
    $statement_linkstring
    -
    -

    Emulate PDO prepare

    -
    prepare(string $query, array $options = NULL) : \Firebird
    +
    +

    Returns the last value of the specified generator

    +
    lastInsertId(string $name = NULL) : mixed
    +
    +
    +
    +

    Parameters

    +
    +

    $name

    +string +
    +

    Returns

    +
    mixed
    +
    +
    +
    +

    Emulate PDO prepare

    +
    prepare(string $query, array $options = array()) : \Firebird_Result
    - - - -
    fluentThis method is part of a fluent interface and will return the same instance

    Parameters

    $query

    @@ -225,12 +283,12 @@ the last query executed">
    $statement_link
     
     

    Returns

    -
    \Firebird
    +

    Prepare and execute a query

    -
    prepare_execute(string $sql, array $args) : resource
    +
    prepare_execute(string $sql, array $args) : \Firebird_Result
    @@ -244,7 +302,7 @@ the last query executed">
    $statement_linkarray
     

    Returns

    -
    resource
    +
    @@ -268,14 +326,10 @@ the last query executed">
    $statement_link
     

    Wrapper public function to better match PDO

    -
    query(string $sql) : \Firebird
    +
    query(string $sql = '') : \Firebird_Result
    - - - -
    fluentThis method is part of a fluent interface and will return the same instance

    Parameters

    $sql

    @@ -287,12 +341,12 @@ the last query executed">
    $statement_link
     
     

    Returns

    -
    \Firebird
    +

    Method to emulate PDO->quote

    -
    quote(string $str, int $param_type = NULL) : string
    +
    quote(string $str, int $param_type = \PDO::PARAM_STR) : string
    @@ -319,6 +373,25 @@ the last query executed">
    $statement_linkbool
    +
    +

    Set a connection attribute

    +
    setAttribute(int $attribute, mixed $value) : bool
    +
    +
    +
    +

    Parameters

    +
    +

    $attribute

    +int +
    +
    +

    $value

    +mixed +
    +

    Returns

    +
    bool
    +
    +

    Empty a database table

    truncate(string $table) 
    @@ -360,7 +433,7 @@ the last query executed
    $statement_link : resource

    Default

    -
    +
    NULL
    @@ -370,7 +443,7 @@ the last query executed
    $trans : resource

    Default

    -
    +
    NULL
    @@ -383,7 +456,7 @@ the last query executed Template is built using Twitter Bootstrap 2 and icons provided by Glyphicons.
    Documentation is powered by phpDocumentor 2.2.0 and
    - generated on 2014-03-17T19:32:00-04:00.
    + generated on 2014-03-26T20:50:45-04:00.
    diff --git a/docs/classes/Firebird_Result.html b/docs/classes/Firebird_Result.html index 00186b5..0694477 100644 --- a/docs/classes/Firebird_Result.html +++ b/docs/classes/Firebird_Result.html @@ -237,7 +237,7 @@ the query

    Run a prepared statement query

    -
    execute(array $args = NULL) : bool
    +
    execute(array $args = NULL) : \Firebird_Result
    @@ -247,7 +247,7 @@ the query array

    Returns

    -
    bool
    +
    @@ -386,7 +386,7 @@ the query Template is built using Twitter Bootstrap 2 and icons provided by Glyphicons.
    Documentation is powered by phpDocumentor 2.2.0 and
    - generated on 2014-03-17T19:32:00-04:00.
    + generated on 2014-03-26T20:50:45-04:00.
    diff --git a/docs/classes/Firebird_SQL.html b/docs/classes/Firebird_SQL.html index 2880b1f..183145c 100644 --- a/docs/classes/Firebird_SQL.html +++ b/docs/classes/Firebird_SQL.html @@ -262,7 +262,7 @@ Template is built using Twitter Bootstrap 2 and icons provided by Glyphicons.
    Documentation is powered by phpDocumentor 2.2.0 and
    - generated on 2014-03-17T19:32:00-04:00.
    + generated on 2014-03-26T20:50:45-04:00.
    diff --git a/docs/classes/Firebird_Util.html b/docs/classes/Firebird_Util.html index 7a72d7d..63afee0 100644 --- a/docs/classes/Firebird_Util.html +++ b/docs/classes/Firebird_Util.html @@ -60,7 +60,6 @@