diff --git a/autoload.php b/autoload.php index 28d0d0b..da16cfd 100644 --- a/autoload.php +++ b/autoload.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/classes/db_pdo.php b/classes/db_pdo.php index e2d7bea..1139585 100644 --- a/classes/db_pdo.php +++ b/classes/db_pdo.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/classes/db_util.php b/classes/db_util.php index da9ffac..4956bdc 100644 --- a/classes/db_util.php +++ b/classes/db_util.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/classes/idb_sql.php b/classes/idb_sql.php index b1e373a..dde779e 100644 --- a/classes/idb_sql.php +++ b/classes/idb_sql.php @@ -5,7 +5,7 @@ * Free Query Builder / Database Abstraction Layer * * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license * @package Query diff --git a/classes/iquery_builder.php b/classes/iquery_builder.php index 8af659a..077f924 100644 --- a/classes/iquery_builder.php +++ b/classes/iquery_builder.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/classes/query_builder.php b/classes/query_builder.php index a4b9b18..b8762a3 100644 --- a/classes/query_builder.php +++ b/classes/query_builder.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/classes/query_parser.php b/classes/query_parser.php index 55b69ba..2a1c1df 100644 --- a/classes/query_parser.php +++ b/classes/query_parser.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/common.php b/common.php index 7709a76..bc0ebd8 100644 --- a/common.php +++ b/common.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ @@ -100,7 +100,7 @@ function db_filter($array, $index) function Query($params = '') { static $connections; - + // If there's existing connection(s) just return it if ( ! empty($connections)) { @@ -109,12 +109,12 @@ function Query($params = '') { return $connections[$params]; } - elseif (empty($params) && isset($connections[0])) + elseif (empty($params) && isset($connections[0])) // Otherwise, return the last one { return end($connections); } } - + // -------------------------------------------------------------------------- // Convert array to object @@ -142,7 +142,7 @@ function Query($params = '') { throw new BadDBDriverException('Database driver does not exist, or is not supported'); } - + // -------------------------------------------------------------------------- // Create the dsn for the database to connect to @@ -183,7 +183,7 @@ function Query($params = '') { throw new BadConnectionException('Connection failed, invalid arguments', 2); } - + // -------------------------------------------------------------------------- // Set the table prefix, if it exists @@ -191,10 +191,10 @@ function Query($params = '') { $db->table_prefix = $params->prefix; } - + // Create the Query Builder object $conn = new Query_Builder($db, $params); - + // Save it for later if (isset($params->alias)) { diff --git a/drivers/firebird/firebird_driver.php b/drivers/firebird/firebird_driver.php index 6a5fe26..4f4f5f7 100644 --- a/drivers/firebird/firebird_driver.php +++ b/drivers/firebird/firebird_driver.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/firebird/firebird_result.php b/drivers/firebird/firebird_result.php index a333b2f..2b5b047 100644 --- a/drivers/firebird/firebird_result.php +++ b/drivers/firebird/firebird_result.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/firebird/firebird_sql.php b/drivers/firebird/firebird_sql.php index 00d3dcc..55129dc 100644 --- a/drivers/firebird/firebird_sql.php +++ b/drivers/firebird/firebird_sql.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/firebird/firebird_util.php b/drivers/firebird/firebird_util.php index 7688827..744bed4 100644 --- a/drivers/firebird/firebird_util.php +++ b/drivers/firebird/firebird_util.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/mysql/mysql_driver.php b/drivers/mysql/mysql_driver.php index e1742ba..ff8cf67 100644 --- a/drivers/mysql/mysql_driver.php +++ b/drivers/mysql/mysql_driver.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/mysql/mysql_sql.php b/drivers/mysql/mysql_sql.php index df48649..166716b 100644 --- a/drivers/mysql/mysql_sql.php +++ b/drivers/mysql/mysql_sql.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/mysql/mysql_util.php b/drivers/mysql/mysql_util.php index 005e7cb..8d08a7b 100644 --- a/drivers/mysql/mysql_util.php +++ b/drivers/mysql/mysql_util.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/odbc/odbc_driver.php b/drivers/odbc/odbc_driver.php index 8254e86..cd96c0a 100644 --- a/drivers/odbc/odbc_driver.php +++ b/drivers/odbc/odbc_driver.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/odbc/odbc_sql.php b/drivers/odbc/odbc_sql.php index f7432fb..b063b5e 100644 --- a/drivers/odbc/odbc_sql.php +++ b/drivers/odbc/odbc_sql.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/odbc/odbc_util.php b/drivers/odbc/odbc_util.php index 14d0fd8..6104c51 100644 --- a/drivers/odbc/odbc_util.php +++ b/drivers/odbc/odbc_util.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/pgsql/pgsql_driver.php b/drivers/pgsql/pgsql_driver.php index aee7dd6..c81f00d 100644 --- a/drivers/pgsql/pgsql_driver.php +++ b/drivers/pgsql/pgsql_driver.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/pgsql/pgsql_sql.php b/drivers/pgsql/pgsql_sql.php index b19213b..72ba5fd 100644 --- a/drivers/pgsql/pgsql_sql.php +++ b/drivers/pgsql/pgsql_sql.php @@ -5,7 +5,7 @@ * Free Query Builder / Database Abstraction Layer * * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/pgsql/pgsql_util.php b/drivers/pgsql/pgsql_util.php index ee631b7..58c58bd 100644 --- a/drivers/pgsql/pgsql_util.php +++ b/drivers/pgsql/pgsql_util.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/sqlite/sqlite_driver.php b/drivers/sqlite/sqlite_driver.php index 20690b6..29e8e78 100644 --- a/drivers/sqlite/sqlite_driver.php +++ b/drivers/sqlite/sqlite_driver.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/sqlite/sqlite_sql.php b/drivers/sqlite/sqlite_sql.php index aa512d6..dedf560 100644 --- a/drivers/sqlite/sqlite_sql.php +++ b/drivers/sqlite/sqlite_sql.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/drivers/sqlite/sqlite_util.php b/drivers/sqlite/sqlite_util.php index 992304c..ea63984 100644 --- a/drivers/sqlite/sqlite_util.php +++ b/drivers/sqlite/sqlite_util.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/core/core.php b/tests/core/core.php index f645552..8909548 100644 --- a/tests/core/core.php +++ b/tests/core/core.php @@ -5,7 +5,7 @@ * Free Database manager for Open Source Databases * * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/OpenSQLManager * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/core/db_qb_test.php b/tests/core/db_qb_test.php index 7bcfb6b..32e1588 100644 --- a/tests/core/db_qb_test.php +++ b/tests/core/db_qb_test.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/core/db_qp_test.php b/tests/core/db_qp_test.php index 442e3d2..8d74ed7 100644 --- a/tests/core/db_qp_test.php +++ b/tests/core/db_qp_test.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/core/db_test.php b/tests/core/db_test.php index 7c4849e..5b8818b 100644 --- a/tests/core/db_test.php +++ b/tests/core/db_test.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/databases/firebird/firebird-qb.php b/tests/databases/firebird/firebird-qb.php index cee0905..7e3ccd5 100644 --- a/tests/databases/firebird/firebird-qb.php +++ b/tests/databases/firebird/firebird-qb.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/databases/firebird/firebird.php b/tests/databases/firebird/firebird.php index 333d5a1..83f8a7d 100644 --- a/tests/databases/firebird/firebird.php +++ b/tests/databases/firebird/firebird.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/databases/mysql/mysql-qb.php b/tests/databases/mysql/mysql-qb.php index 4437ab7..2341e2c 100644 --- a/tests/databases/mysql/mysql-qb.php +++ b/tests/databases/mysql/mysql-qb.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/databases/mysql/mysql.php b/tests/databases/mysql/mysql.php index ddb2c04..18104d3 100644 --- a/tests/databases/mysql/mysql.php +++ b/tests/databases/mysql/mysql.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/databases/pgsql/pgsql-qb.php b/tests/databases/pgsql/pgsql-qb.php index 830ffa7..ff039ac 100644 --- a/tests/databases/pgsql/pgsql-qb.php +++ b/tests/databases/pgsql/pgsql-qb.php @@ -5,7 +5,7 @@ * Free Database manager for Open Source Databases * * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/OpenSQLManager * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/databases/pgsql/pgsql.php b/tests/databases/pgsql/pgsql.php index b1be75a..460606b 100644 --- a/tests/databases/pgsql/pgsql.php +++ b/tests/databases/pgsql/pgsql.php @@ -5,7 +5,7 @@ * Free Database manager for Open Source Databases * * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/OpenSQLManager * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/databases/sqlite/sqlite-qb.php b/tests/databases/sqlite/sqlite-qb.php index 8c1dde1..b50e258 100644 --- a/tests/databases/sqlite/sqlite-qb.php +++ b/tests/databases/sqlite/sqlite-qb.php @@ -5,7 +5,7 @@ * Free Database manager for Open Source Databases * * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/OpenSQLManager * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/databases/sqlite/sqlite.php b/tests/databases/sqlite/sqlite.php index 74860bf..1d3aef8 100644 --- a/tests/databases/sqlite/sqlite.php +++ b/tests/databases/sqlite/sqlite.php @@ -5,7 +5,7 @@ * Free Database manager for Open Source Databases * * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/OpenSQLManager * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/db_files/FB_TEST_DB.FDB b/tests/db_files/FB_TEST_DB.FDB index c89f950..bdd8609 100644 Binary files a/tests/db_files/FB_TEST_DB.FDB and b/tests/db_files/FB_TEST_DB.FDB differ diff --git a/tests/index.php b/tests/index.php index 387c74f..205c515 100644 --- a/tests/index.php +++ b/tests/index.php @@ -6,7 +6,7 @@ * * @package Query * @author Timothy J. Warren - * @copyright Copyright (c) 2012 + * @copyright Copyright (c) 2012 - 2013 * @link https://github.com/aviat4ion/Query * @license http://philsturgeon.co.uk/code/dbad-license */ diff --git a/tests/simpletest/test_case.php b/tests/simpletest/test_case.php index ba023c3..1e12f7a 100644 --- a/tests/simpletest/test_case.php +++ b/tests/simpletest/test_case.php @@ -3,7 +3,7 @@ * Base include file for SimpleTest * @package SimpleTest * @subpackage UnitTester - * @version $Id: test_case.php 2012 2011-04-29 08:57:00Z pp11 $ + * @version $Id: test_case.php 2012 - 2013 2011-04-29 08:57:00Z pp11 $ */ /**#@+