Update year

This commit is contained in:
Timothy Warren 2013-01-02 14:26:42 -05:00
parent 785e5f2e1f
commit 0e44bbaf0d
39 changed files with 45 additions and 45 deletions

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -5,7 +5,7 @@
* Free Query Builder / Database Abstraction Layer * Free Query Builder / Database Abstraction Layer
* *
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
* @package Query * @package Query

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */
@ -100,7 +100,7 @@ function db_filter($array, $index)
function Query($params = '') function Query($params = '')
{ {
static $connections; static $connections;
// If there's existing connection(s) just return it // If there's existing connection(s) just return it
if ( ! empty($connections)) if ( ! empty($connections))
{ {
@ -109,12 +109,12 @@ function Query($params = '')
{ {
return $connections[$params]; return $connections[$params];
} }
elseif (empty($params) && isset($connections[0])) elseif (empty($params) && isset($connections[0])) // Otherwise, return the last one
{ {
return end($connections); return end($connections);
} }
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// Convert array to object // Convert array to object
@ -142,7 +142,7 @@ function Query($params = '')
{ {
throw new BadDBDriverException('Database driver does not exist, or is not supported'); throw new BadDBDriverException('Database driver does not exist, or is not supported');
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// Create the dsn for the database to connect to // Create the dsn for the database to connect to
@ -183,7 +183,7 @@ function Query($params = '')
{ {
throw new BadConnectionException('Connection failed, invalid arguments', 2); throw new BadConnectionException('Connection failed, invalid arguments', 2);
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// Set the table prefix, if it exists // Set the table prefix, if it exists
@ -191,10 +191,10 @@ function Query($params = '')
{ {
$db->table_prefix = $params->prefix; $db->table_prefix = $params->prefix;
} }
// Create the Query Builder object // Create the Query Builder object
$conn = new Query_Builder($db, $params); $conn = new Query_Builder($db, $params);
// Save it for later // Save it for later
if (isset($params->alias)) if (isset($params->alias))
{ {

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -5,7 +5,7 @@
* Free Query Builder / Database Abstraction Layer * Free Query Builder / Database Abstraction Layer
* *
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -5,7 +5,7 @@
* Free Database manager for Open Source Databases * Free Database manager for Open Source Databases
* *
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/OpenSQLManager * @link https://github.com/aviat4ion/OpenSQLManager
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -5,7 +5,7 @@
* Free Database manager for Open Source Databases * Free Database manager for Open Source Databases
* *
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/OpenSQLManager * @link https://github.com/aviat4ion/OpenSQLManager
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -5,7 +5,7 @@
* Free Database manager for Open Source Databases * Free Database manager for Open Source Databases
* *
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/OpenSQLManager * @link https://github.com/aviat4ion/OpenSQLManager
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -5,7 +5,7 @@
* Free Database manager for Open Source Databases * Free Database manager for Open Source Databases
* *
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/OpenSQLManager * @link https://github.com/aviat4ion/OpenSQLManager
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -5,7 +5,7 @@
* Free Database manager for Open Source Databases * Free Database manager for Open Source Databases
* *
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/OpenSQLManager * @link https://github.com/aviat4ion/OpenSQLManager
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

Binary file not shown.

View File

@ -6,7 +6,7 @@
* *
* @package Query * @package Query
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2012 * @copyright Copyright (c) 2012 - 2013
* @link https://github.com/aviat4ion/Query * @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */

View File

@ -3,7 +3,7 @@
* Base include file for SimpleTest * Base include file for SimpleTest
* @package SimpleTest * @package SimpleTest
* @subpackage UnitTester * @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 $
*/ */
/**#@+ /**#@+