diff --git a/autoload.php b/autoload.php index 328e337..6d252cd 100644 --- a/autoload.php +++ b/autoload.php @@ -4,10 +4,11 @@ * * Free Query Builder / Database Abstraction Layer * - * @author Timothy J. Warren + * @package Query + * @author Timothy J. Warren * @copyright Copyright (c) 2012 * @link https://github.com/aviat4ion/Query - * @license http://philsturgeon.co.uk/code/dbad-license + * @license http://philsturgeon.co.uk/code/dbad-license */ // -------------------------------------------------------------------------- diff --git a/classes/db_pdo.php b/classes/db_pdo.php index 50ccec7..ef66996 100644 --- a/classes/db_pdo.php +++ b/classes/db_pdo.php @@ -4,10 +4,11 @@ * * Free Query Builder / Database Abstraction Layer * - * @author Timothy J. Warren + * @package Query + * @author Timothy J. Warren * @copyright Copyright (c) 2012 * @link https://github.com/aviat4ion/Query - * @license http://philsturgeon.co.uk/code/dbad-license + * @license http://philsturgeon.co.uk/code/dbad-license */ // -------------------------------------------------------------------------- @@ -16,6 +17,9 @@ * Base Database class * * Extends PDO to simplify cross-database issues + * + * @package Query + * @subpackage Query */ abstract class DB_PDO extends PDO { diff --git a/classes/db_reg.php b/classes/db_reg.php index c09fa9c..2b82459 100644 --- a/classes/db_reg.php +++ b/classes/db_reg.php @@ -17,6 +17,9 @@ * * Decouples the Settings class from the query builder * and organizes database connections + * + * @package Query + * @subpackage Helper Classes */ class DB_Reg { diff --git a/classes/db_sql.php b/classes/db_sql.php index 444ca47..30f3d18 100644 --- a/classes/db_sql.php +++ b/classes/db_sql.php @@ -4,16 +4,20 @@ * * Free Query Builder / Database Abstraction Layer * - * @author Timothy J. Warren + * @author Timothy J. Warren * @copyright Copyright (c) 2012 * @link https://github.com/aviat4ion/Query - * @license http://philsturgeon.co.uk/code/dbad-license + * @license http://philsturgeon.co.uk/code/dbad-license + * @package Query */ // -------------------------------------------------------------------------- /** * Abstract parent for database manipulation subclasses + * + * @package Query + * @subpackage Query */ abstract class DB_SQL { diff --git a/classes/db_util.php b/classes/db_util.php index 5dee866..fd3cc4c 100644 --- a/classes/db_util.php +++ b/classes/db_util.php @@ -4,16 +4,20 @@ * * Free Query Builder / Database Abstraction Layer * - * @author Timothy J. Warren + * @package Query + * @author Timothy J. Warren * @copyright Copyright (c) 2012 * @link https://github.com/aviat4ion/Query - * @license http://philsturgeon.co.uk/code/dbad-license + * @license http://philsturgeon.co.uk/code/dbad-license */ // -------------------------------------------------------------------------- /** * Abstract class defining database / table creation methods + * + * @package Query + * @subpackage Query */ abstract class DB_Util { diff --git a/classes/query_builder.php b/classes/query_builder.php index ddca64b..bbb66ea 100644 --- a/classes/query_builder.php +++ b/classes/query_builder.php @@ -15,6 +15,9 @@ /** * Convienience class for creating sql queries - also the class that * instantiates the specific db driver + * + * @package Query + * @subpackage Query */ class Query_Builder { @@ -507,7 +510,7 @@ class Query_Builder { * @param string $field * @param mixed $val * @param string $pos - * @return $this; + * @return $this */ public function or_not_like($field, $val, $pos='both') { diff --git a/classes/settings.php b/classes/settings.php index 41000d0..e087205 100644 --- a/classes/settings.php +++ b/classes/settings.php @@ -4,10 +4,11 @@ * * Free Query Builder / Database Abstraction Layer * - * @author Timothy J. Warren + * @package Query + * @author Timothy J. Warren * @copyright Copyright (c) 2012 * @link https://github.com/aviat4ion/Query - * @license http://philsturgeon.co.uk/code/dbad-license + * @license http://philsturgeon.co.uk/code/dbad-license */ // -------------------------------------------------------------------------- @@ -15,7 +16,8 @@ /** * Class for manipulating datbase connections, and miscellaneous settings * - * Use JSON for compatibility + * @package Query + * @subpackage Helper Classes */ class Settings { diff --git a/docs/classes.svg b/docs/classes.svg index f353ad1..bd8364c 100644 --- a/docs/classes.svg +++ b/docs/classes.svg @@ -74,15 +74,15 @@ DB_Util - -\\pgSQL_SQL - + +\\PgSQL_SQL + -pgSQL_SQL +PgSQL_SQL - -\\pgSQL_SQL->\\DB_SQL + +\\PgSQL_SQL->\\DB_SQL @@ -98,15 +98,15 @@ - -\\pgSQL - + +\\PgSQL + -pgSQL +PgSQL - -\\pgSQL->\\DB_PDO + +\\PgSQL->\\DB_PDO diff --git a/docs/classes/DB_PDO.html b/docs/classes/DB_PDO.html index 8b46fc7..736631a 100644 --- a/docs/classes/DB_PDO.html +++ b/docs/classes/DB_PDO.html @@ -18,7 +18,11 @@ Query