diff --git a/.travis.yml b/.travis.yml
index af667cf..05fb06b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,5 @@ before_script:
- sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
- sh -c "psql -c 'create database test;' -U postgres"
- sh -c "mysql -e 'create database IF NOT EXISTS test;'"
- - phpenv config-add ./tests/php_test.ini
script: php ./tests/index.php
diff --git a/classes/db_pdo.php b/classes/db_pdo.php
index de6f805..c7452f1 100644
--- a/classes/db_pdo.php
+++ b/classes/db_pdo.php
@@ -145,25 +145,6 @@ abstract class DB_PDO extends PDO {
// -------------------------------------------------------------------------
- /**
- * Retreives the data from a select query
- *
- * @param PDOStatement $statement
- * @return array
- */
- public function get_query_data($statement)
- {
- $this->statement =& $statement;
-
- // Execute the query
- $this->statement->execute();
-
- // Return the data array fetched
- return $this->statement->fetchAll(PDO::FETCH_ASSOC);
- }
-
- // -------------------------------------------------------------------------
-
/**
* Returns number of rows affected by an INSERT, UPDATE, DELETE type query
*
@@ -490,12 +471,6 @@ abstract class DB_PDO extends PDO {
return NULL;
}
- // Return predefined data
- if (is_array($sql))
- {
- return $sql;
- }
-
$res = $this->query($sql);
$flag = ($filtered_index) ? PDO::FETCH_NUM : PDO::FETCH_ASSOC;
diff --git a/docs/classes.svg b/docs/classes.svg
index 7bb17ec..9ede3fc 100644
--- a/docs/classes.svg
+++ b/docs/classes.svg
@@ -20,247 +20,247 @@
\
-
-\\Query_Parser
-
-Query_Parser
-
-\\DB_PDO
-
-«abstract»
-DB_PDO
+\\DB_PDO
+
+«abstract»
+DB_PDO
\\PDO
-
-\PDO
+
+\PDO
\\DB_PDO->\\PDO
-
-
+
+
-
-\\Query_Builder
-
-Query_Builder
+
+\\Firebird_Result
+
+Firebird_Result
-
-\\iQuery_Builder
-
-iQuery_Builder
+
+\\PDOStatement
+
+\PDOStatement
-
-\\Query_Builder->\\iQuery_Builder
-
-
+
+\\Firebird_Result->\\PDOStatement
+
+
+
+
+\\Firebird_Util
+
+Firebird_Util
-\\DB_Util
-
-«abstract»
-DB_Util
+\\DB_Util
+
+«abstract»
+DB_Util
-
-\\BadDBDriverException
-
-BadDBDriverException
+
+\\Firebird_Util->\\DB_Util
+
+
-
-\\InvalidArgumentException
-
-\InvalidArgumentException
+
+\\Query_Builder
+
+Query_Builder
-
-\\BadDBDriverException->\\InvalidArgumentException
-
-
+
+\\iQuery_Builder
+
+iQuery_Builder
-
-\\BadConnectionException
-
-BadConnectionException
+
+\\Query_Builder->\\iQuery_Builder
+
+
-
-\\UnexpectedValueException
-
-\UnexpectedValueException
+
+\\Firebird
+
+Firebird
-
-\\BadConnectionException->\\UnexpectedValueException
-
-
+
+\\Firebird->\\DB_PDO
+
+
-
-\\PgSQL_SQL
-
-PgSQL_SQL
+
+\\MySQL_Util
+
+MySQL_Util
+
+
+\\MySQL_Util->\\DB_Util
+
+
+
+
+\\ODBC_SQL
+
+ODBC_SQL
-\\iDB_SQL
-
-iDB_SQL
+\\iDB_SQL
+
+iDB_SQL
-
-\\PgSQL_SQL->\\iDB_SQL
-
-
-
-
-\\PgSQL_Util
-
-PgSQL_Util
-
-
-\\PgSQL_Util->\\DB_Util
-
-
-
-
-\\PgSQL
-
-PgSQL
-
-
-\\PgSQL->\\DB_PDO
-
-
+
+\\ODBC_SQL->\\iDB_SQL
+
+
-\\ODBC_Util
+\\ODBC_Util
ODBC_Util
\\ODBC_Util->\\DB_Util
-
-
-
-
-\\ODBC_SQL
-
-ODBC_SQL
-
-
-\\ODBC_SQL->\\iDB_SQL
-
-
-
-
-\\ODBC
-
-ODBC
-
-
-\\ODBC->\\DB_PDO
-
-
-
-
-\\MySQL_Util
-
-MySQL_Util
-
-
-\\MySQL_Util->\\DB_Util
-
-
-
-
-\\MySQL
-
-MySQL
-
-
-\\MySQL->\\DB_PDO
-
-
-
-
-\\MySQL_SQL
-
-MySQL_SQL
-
-
-\\MySQL_SQL->\\iDB_SQL
-
-
+
+
-\\SQLite_Util
-
-SQLite_Util
+\\SQLite_Util
+
+SQLite_Util
-\\SQLite_Util->\\DB_Util
-
-
+\\SQLite_Util->\\DB_Util
+
+
+
+
+\\PgSQL_Util
+
+PgSQL_Util
+
+
+\\PgSQL_Util->\\DB_Util
+
+
+
+
+\\PgSQL_SQL
+
+PgSQL_SQL
+
+
+\\PgSQL_SQL->\\iDB_SQL
+
+
+
+
+\\MySQL_SQL
+
+MySQL_SQL
+
+
+\\MySQL_SQL->\\iDB_SQL
+
+
+
+
+\\Firebird_SQL
+
+Firebird_SQL
+
+
+\\Firebird_SQL->\\iDB_SQL
+
+
-\\SQLite
-
-SQLite
+\\SQLite
+
+SQLite
-\\SQLite->\\DB_PDO
-
-
+\\SQLite->\\DB_PDO
+
+
-\\SQLite_SQL
+\\SQLite_SQL
SQLite_SQL
-\\SQLite_SQL->\\iDB_SQL
-
-
+\\SQLite_SQL->\\iDB_SQL
+
+
-
-\\Firebird_SQL
-
-Firebird_SQL
+
+\\ODBC
+
+ODBC
-
-\\Firebird_SQL->\\iDB_SQL
-
-
+
+\\ODBC->\\DB_PDO
+
+
-
-\\Firebird_Result
-
-Firebird_Result
+
+\\PgSQL
+
+PgSQL
-
-\\PDOStatement
-
-\PDOStatement
+
+\\PgSQL->\\DB_PDO
+
+
-
-\\Firebird_Result->\\PDOStatement
-
-
+
+\\BadDBDriverException
+
+BadDBDriverException
-
-\\Firebird
-
-Firebird
+
+\\InvalidArgumentException
+
+\InvalidArgumentException
-
-\\Firebird->\\DB_PDO
-
-
+
+\\BadDBDriverException->\\InvalidArgumentException
+
+
-
-\\Firebird_Util
-
-Firebird_Util
+
+\\BadConnectionException
+
+BadConnectionException
-
-\\Firebird_Util->\\DB_Util
-
-
+
+\\UnexpectedValueException
+
+\UnexpectedValueException
+
+
+\\BadConnectionException->\\UnexpectedValueException
+
+
+
+
+\\Query_Parser
+
+Query_Parser
+
+
+\\MySQL
+
+MySQL
+
+
+\\MySQL->\\DB_PDO
+
+
diff --git a/docs/classes/BadConnectionException.html b/docs/classes/BadConnectionException.html
index 3f640f2..ce3296a 100644
--- a/docs/classes/BadConnectionException.html
+++ b/docs/classes/BadConnectionException.html
@@ -85,7 +85,7 @@
Template is built using Twitter Bootstrap 2 and icons provided by Glyphicons.
Documentation is powered by phpDocumentor 2.1.0
and
- generated on 2013-12-06T22:52:34-05:00.
+ generated on 2013-12-09T19:45:46-05:00.