From 5968696c12a64c4cde5f35d490b5c9efbcdde755 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 8 Aug 2014 13:50:55 -0400 Subject: [PATCH] Re-generate docs --- .../classes/Query.Abstract_Query_Builder.html | 80 +- docs/classes/Query.BadDBDriverException.html | 78 +- docs/classes/Query.Connection_Manager.html | 80 +- .../classes/Query.Driver.Abstract_Driver.html | 111 +- docs/classes/Query.Driver.Abstract_SQL.html | 447 ----- docs/classes/Query.Driver.Abstract_Util.html | 750 -------- .../Query.Driver.Driver_Interface.html | 80 +- docs/classes/Query.Driver.Firebird.html | 107 +- .../classes/Query.Driver.Firebird_Result.html | 74 +- docs/classes/Query.Driver.Firebird_SQL.html | 959 ---------- docs/classes/Query.Driver.Firebird_Util.html | 769 -------- docs/classes/Query.Driver.MySQL.html | 107 +- docs/classes/Query.Driver.MySQL_SQL.html | 967 ---------- docs/classes/Query.Driver.MySQL_Util.html | 769 -------- docs/classes/Query.Driver.PgSQL.html | 107 +- docs/classes/Query.Driver.PgSQL_SQL.html | 959 ---------- docs/classes/Query.Driver.PgSQL_Util.html | 769 -------- .../Query.Driver.SQL.Abstract_SQL.html | 80 +- .../Query.Driver.SQL.Firebird_SQL.html | 74 +- docs/classes/Query.Driver.SQL.MySQL_SQL.html | 74 +- docs/classes/Query.Driver.SQL.PgSQL_SQL.html | 74 +- .../Query.Driver.SQL.SQL_Interface.html | 80 +- docs/classes/Query.Driver.SQL.SQLite_SQL.html | 74 +- docs/classes/Query.Driver.SQL_Interface.html | 934 ---------- docs/classes/Query.Driver.SQLite.html | 107 +- docs/classes/Query.Driver.SQLite_SQL.html | 959 ---------- docs/classes/Query.Driver.SQLite_Util.html | 841 --------- .../Query.Driver.Util.Abstract_Util.html | 80 +- .../Query.Driver.Util.Firebird_Util.html | 74 +- .../classes/Query.Driver.Util.MySQL_Util.html | 74 +- .../classes/Query.Driver.Util.PgSQL_Util.html | 74 +- .../Query.Driver.Util.SQLite_Util.html | 74 +- docs/classes/Query.Query_Builder.html | 80 +- .../Query.Query_Builder_Interface.html | 80 +- docs/classes/Query.Query_Parser.html | 80 +- docs/classes/Query.Table.Abstract_Table.html | 630 ------- docs/classes/Query.Table.Table_Builder.html | 1643 ----------------- docs/classes/Query.Table.Table_Column.html | 753 -------- .../Query.Table.Table_Foreign_Key.html | 641 ------- docs/classes/Query.Table.Table_Index.html | 641 ------- ... => Query.Abstract_Query_Builder.php.html} | 78 +- ...ml => Query.BadDBDriverException.php.html} | 78 +- ...html => Query.Connection_Manager.php.html} | 78 +- ... => Query.Driver.Abstract_Driver.php.html} | 78 +- ...=> Query.Driver.Driver_Interface.php.html} | 78 +- ...=> Query.Driver.SQL.Abstract_SQL.php.html} | 78 +- ...> Query.Driver.SQL.SQL_Interface.php.html} | 78 +- ... Query.Driver.Util.Abstract_Util.php.html} | 78 +- ....php.html => Query.Query_Builder.php.html} | 78 +- ...=> Query.Query_Builder_Interface.php.html} | 78 +- ...r.php.html => Query.Query_Parser.php.html} | 78 +- .../Abstract_Query_Builder.php.txt} | 2 - .../BadDBDriverException.php.txt | 0 .../Connection_Manager.php.txt} | 1 - .../Driver/Abstract_Driver.php.txt} | 6 - .../Driver/Driver_Interface.php.txt} | 0 .../Driver/SQL/Abstract_SQL.php.txt} | 0 .../Driver/SQL/SQL_Interface.php.txt} | 0 .../Driver/Util/Abstract_Util.php.txt} | 0 .../Query_Builder.php.txt} | 0 .../Query_Builder_Interface.php.txt} | 0 .../Query_Parser.php.txt} | 0 docs/files/autoload.php.html | 74 +- docs/files/autoload.php.txt | 29 +- docs/files/common.php.html | 74 +- .../core.abstract.abstract_table.php.html | 395 ---- docs/files/core.table_builder.php.html | 395 ---- docs/files/core.table_column.php.html | 395 ---- docs/files/core.table_foreign_key.php.html | 395 ---- docs/files/core.table_index.php.html | 395 ---- .../core/abstract/abstract_table.php.txt | 99 - docs/files/core/table_builder.php.txt | 442 ----- docs/files/core/table_column.php.txt | 83 - docs/files/core/table_foreign_key.php.txt | 42 - docs/files/core/table_index.php.txt | 43 - .../drivers.firebird.firebird_driver.php.html | 74 +- .../drivers.firebird.firebird_result.php.html | 74 +- .../drivers.firebird.firebird_sql.php.html | 74 +- .../drivers.firebird.firebird_util.php.html | 74 +- .../files/drivers.mysql.mysql_driver.php.html | 74 +- docs/files/drivers.mysql.mysql_sql.php.html | 74 +- docs/files/drivers.mysql.mysql_util.php.html | 74 +- .../files/drivers.pgsql.pgsql_driver.php.html | 74 +- docs/files/drivers.pgsql.pgsql_sql.php.html | 74 +- docs/files/drivers.pgsql.pgsql_util.php.html | 74 +- .../drivers.sqlite.sqlite_driver.php.html | 74 +- docs/files/drivers.sqlite.sqlite_sql.php.html | 74 +- .../files/drivers.sqlite.sqlite_util.php.html | 74 +- docs/graphs/class.html | 2 +- docs/graphs/classes.svg | 414 ++--- docs/namespaces/Query.Driver.SQL.html | 74 +- docs/namespaces/Query.Driver.Util.html | 82 +- docs/namespaces/Query.Driver.html | 86 +- docs/namespaces/Query.Table.html | 325 ---- docs/namespaces/Query.html | 92 +- docs/namespaces/default.html | 74 +- docs/reports/deprecated.html | 2 +- docs/reports/errors.html | 2 +- docs/reports/markers.html | 10 +- 99 files changed, 2335 insertions(+), 18952 deletions(-) delete mode 100644 docs/classes/Query.Driver.Abstract_SQL.html delete mode 100644 docs/classes/Query.Driver.Abstract_Util.html delete mode 100644 docs/classes/Query.Driver.Firebird_SQL.html delete mode 100644 docs/classes/Query.Driver.Firebird_Util.html delete mode 100644 docs/classes/Query.Driver.MySQL_SQL.html delete mode 100644 docs/classes/Query.Driver.MySQL_Util.html delete mode 100644 docs/classes/Query.Driver.PgSQL_SQL.html delete mode 100644 docs/classes/Query.Driver.PgSQL_Util.html delete mode 100644 docs/classes/Query.Driver.SQL_Interface.html delete mode 100644 docs/classes/Query.Driver.SQLite_SQL.html delete mode 100644 docs/classes/Query.Driver.SQLite_Util.html delete mode 100644 docs/classes/Query.Table.Abstract_Table.html delete mode 100644 docs/classes/Query.Table.Table_Builder.html delete mode 100644 docs/classes/Query.Table.Table_Column.html delete mode 100644 docs/classes/Query.Table.Table_Foreign_Key.html delete mode 100644 docs/classes/Query.Table.Table_Index.html rename docs/files/{core.abstract.abstract_query_builder.php.html => Query.Abstract_Query_Builder.php.html} (94%) rename docs/files/{core.BadDBDriverException.php.html => Query.BadDBDriverException.php.html} (94%) rename docs/files/{core.connection_manager.php.html => Query.Connection_Manager.php.html} (94%) rename docs/files/{core.abstract.abstract_driver.php.html => Query.Driver.Abstract_Driver.php.html} (94%) rename docs/files/{core.interfaces.driver_interface.php.html => Query.Driver.Driver_Interface.php.html} (94%) rename docs/files/{core.abstract.abstract_sql.php.html => Query.Driver.SQL.Abstract_SQL.php.html} (94%) rename docs/files/{core.interfaces.sql_interface.php.html => Query.Driver.SQL.SQL_Interface.php.html} (94%) rename docs/files/{core.abstract.abstract_util.php.html => Query.Driver.Util.Abstract_Util.php.html} (94%) rename docs/files/{core.query_builder.php.html => Query.Query_Builder.php.html} (94%) rename docs/files/{core.interfaces.query_builder_interface.php.html => Query.Query_Builder_Interface.php.html} (94%) rename docs/files/{core.query_parser.php.html => Query.Query_Parser.php.html} (94%) rename docs/files/{core/abstract/abstract_query_builder.php.txt => Query/Abstract_Query_Builder.php.txt} (99%) rename docs/files/{core => Query}/BadDBDriverException.php.txt (100%) rename docs/files/{core/connection_manager.php.txt => Query/Connection_Manager.php.txt} (99%) rename docs/files/{core/abstract/abstract_driver.php.txt => Query/Driver/Abstract_Driver.php.txt} (99%) rename docs/files/{core/interfaces/driver_interface.php.txt => Query/Driver/Driver_Interface.php.txt} (100%) rename docs/files/{core/abstract/abstract_sql.php.txt => Query/Driver/SQL/Abstract_SQL.php.txt} (100%) rename docs/files/{core/interfaces/sql_interface.php.txt => Query/Driver/SQL/SQL_Interface.php.txt} (100%) rename docs/files/{core/abstract/abstract_util.php.txt => Query/Driver/Util/Abstract_Util.php.txt} (100%) rename docs/files/{core/query_builder.php.txt => Query/Query_Builder.php.txt} (100%) rename docs/files/{core/interfaces/query_builder_interface.php.txt => Query/Query_Builder_Interface.php.txt} (100%) rename docs/files/{core/query_parser.php.txt => Query/Query_Parser.php.txt} (100%) delete mode 100644 docs/files/core.abstract.abstract_table.php.html delete mode 100644 docs/files/core.table_builder.php.html delete mode 100644 docs/files/core.table_column.php.html delete mode 100644 docs/files/core.table_foreign_key.php.html delete mode 100644 docs/files/core.table_index.php.html delete mode 100644 docs/files/core/abstract/abstract_table.php.txt delete mode 100644 docs/files/core/table_builder.php.txt delete mode 100644 docs/files/core/table_column.php.txt delete mode 100644 docs/files/core/table_foreign_key.php.txt delete mode 100644 docs/files/core/table_index.php.txt delete mode 100644 docs/namespaces/Query.Table.html diff --git a/docs/classes/Query.Abstract_Query_Builder.html b/docs/classes/Query.Abstract_Query_Builder.html index 63a7eea..989b88d 100644 --- a/docs/classes/Query.Abstract_Query_Builder.html +++ b/docs/classes/Query.Abstract_Query_Builder.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -347,7 +347,7 @@
File
-
core/abstract/abstract_query_builder.php
+
Query/Abstract_Query_Builder.php
Package
\Query
Class hierarchy
@@ -1788,10 +1788,10 @@ array(

@@ -1832,7 +1832,7 @@ array(


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.BadDBDriverException.html b/docs/classes/Query.BadDBDriverException.html index 73f7843..6e01db0 100644 --- a/docs/classes/Query.BadDBDriverException.html +++ b/docs/classes/Query.BadDBDriverException.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -313,7 +313,7 @@
File
-
core/BadDBDriverException.php
+
Query/BadDBDriverException.php
Package
\Query\Core\Core
Class hierarchy
@@ -352,7 +352,7 @@

BadDBDriverException.php

@@ -393,7 +393,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Connection_Manager.html b/docs/classes/Query.Connection_Manager.html index bc75e55..803dc59 100644 --- a/docs/classes/Query.Connection_Manager.html +++ b/docs/classes/Query.Connection_Manager.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -322,7 +322,7 @@ Query method

File
-
core/connection_manager.php
+
Query/Connection_Manager.php
Package
\Query\Core\Core
Class hierarchy
@@ -773,10 +773,10 @@ Query method

@@ -817,7 +817,7 @@ Query method


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Abstract_Driver.html b/docs/classes/Query.Driver.Abstract_Driver.html index 72ede65..2d55536 100644 --- a/docs/classes/Query.Driver.Abstract_Driver.html +++ b/docs/classes/Query.Driver.Abstract_Driver.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -307,7 +307,6 @@
$sql
$util
- $table
$last_query
$table_prefix
@@ -348,7 +347,7 @@
File
-
core/abstract/abstract_driver.php
+
Query/Driver/Abstract_Driver.php
Package
\Query\Drivers\Drivers
Class hierarchy
@@ -447,36 +446,6 @@
- -
-

$table

-
$table : \Query\Table\Table_Builder
-

Reference to table_builder class

- - -

Type

- \Query\Table\Table_Builder -
-
- -
- -
-

$last_query

@@ -1801,10 +1770,10 @@ the connection/database

@@ -1845,7 +1814,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Abstract_SQL.html b/docs/classes/Query.Driver.Abstract_SQL.html deleted file mode 100644 index 135a25b..0000000 --- a/docs/classes/Query.Driver.Abstract_SQL.html +++ /dev/null @@ -1,447 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverAbstract_SQL

-

parent for database manipulation subclasses

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- limit()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - - -
-

Methods

- -
- -
-
- -
-

limit()

- -
limit(string $sql, int $limit, int|bool $offset) : string
-

Limit clause

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$sql
int$limit
int|bool$offset
- - -

Returns

- string -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.Abstract_Util.html b/docs/classes/Query.Driver.Abstract_Util.html deleted file mode 100644 index 447756f..0000000 --- a/docs/classes/Query.Driver.Abstract_Util.html +++ /dev/null @@ -1,750 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverAbstract_Util

-

Abstract class defining database / table creation methods

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- __construct()
- get_driver()
- create_table()
- delete_table()
- backup_structure()
- backup_data()
- quote_ident()
- quote_table()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- $conn
-
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$conn

-
$conn
-

Reference to the current connection object

- - -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

__construct()

- -
__construct(\Query\Driver\Driver_Interface $conn)
-

Save a reference to the connection object for later use

- - -

Parameters

- - - - - - -
\Query\Driver\Driver_Interface$conn
- - -
-
- -
- -
-
- -
-

get_driver()

- -
get_driver() : \Query\Driver\Driver_Interface
-

Get the driver object for the current connection

- - - - -

Returns

- \Query\Driver\Driver_Interface -
-
- -
- -
-
- -
-

create_table()

- -
create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string
-

Convenience public function to generate sql for creating a db table

- - -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string$name
array$fields
array$constraints
bool$if_not_exists
- - -

Returns

- string -
-
- -
- -
-
- -
-

delete_table()

- -
delete_table(string $name) : string
-

Drop the selected table

- - -

Parameters

- - - - - - -
string$name
- - -

Returns

- string -
-
- -
- -
-
- -
-

backup_structure()

- -
backup_structure() : string
-

Return an SQL file with the database table structure

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

backup_data()

- -
backup_data() : string
-

Return an SQL file with the database data as insert statements

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

quote_ident()

- -
quote_ident(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

quote_table()

- -
quote_table(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.Driver_Interface.html b/docs/classes/Query.Driver.Driver_Interface.html index ebbb404..f13bc6d 100644 --- a/docs/classes/Query.Driver.Driver_Interface.html +++ b/docs/classes/Query.Driver.Driver_Interface.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -331,7 +331,7 @@
File
-
core/interfaces/driver_interface.php
+
Query/Driver/Driver_Interface.php
Package
\Query\Drivers\Drivers
@@ -1577,10 +1577,10 @@ the connection/database

@@ -1621,7 +1621,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Firebird.html b/docs/classes/Query.Driver.Firebird.html index 95a4fe8..4685372 100644 --- a/docs/classes/Query.Driver.Firebird.html +++ b/docs/classes/Query.Driver.Firebird.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -322,7 +322,6 @@
$sql
$util
- $table
$last_query
$table_prefix
@@ -471,38 +470,6 @@
- -
-

$table

-
$table : \Query\Table\Table_Builder
-

Reference to table_builder class

- - -

Type

- \Query\Table\Table_Builder -
-
- -
- -
-

$last_query

@@ -2644,7 +2611,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Firebird_Result.html b/docs/classes/Query.Driver.Firebird_Result.html index c207a8b..aa7735a 100644 --- a/docs/classes/Query.Driver.Firebird_Result.html +++ b/docs/classes/Query.Driver.Firebird_Result.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -1095,7 +1095,7 @@ the query


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Firebird_SQL.html b/docs/classes/Query.Driver.Firebird_SQL.html deleted file mode 100644 index b5d49f8..0000000 --- a/docs/classes/Query.Driver.Firebird_SQL.html +++ /dev/null @@ -1,959 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverFirebird_SQL

-

Firebird Specific SQL

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- limit()
- explain()
- random()
- db_list()
- table_list()
- system_table_list()
- view_list()
- trigger_list()
- function_list()
- procedure_list()
- sequence_list()
- column_list()
- type_list()
- fk_list()
- index_list()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - - -
-

Methods

- -
- -
-
- -
-

limit()

- -
limit(string $sql, int $limit, int|bool $offset) : string
-

Limit clause

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$sql
int$limit
int|bool$offset
- - -

Returns

- string -
-
- -
- -
-
- -
-

explain()

- -
explain(string $sql) : string
-

Get the query plan for the sql query

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

random()

- -
random() : string
-

Random ordering keyword

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

db_list()

- -
db_list() : NULL
-

Returns sql to list other databases

- - - - -

Returns

- NULL -
-
- -
- -
-
- -
-

table_list()

- -
table_list() : string
-

Returns sql to list tables

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

system_table_list()

- -
system_table_list() : string
-

Returns sql to list system tables

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

view_list()

- -
view_list() : string
-

Returns sql to list views

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

trigger_list()

- -
trigger_list() : string
-

Returns sql to list triggers

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

function_list()

- -
function_list() : string
-

Return sql to list functions

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

procedure_list()

- -
procedure_list() : string
-

Return sql to list stored procedures

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

sequence_list()

- -
sequence_list() : string
-

Return sql to list sequences

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

column_list()

- -
column_list(string $table) : string
-

Return sql to list columns of the specified table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

type_list()

- -
type_list() : string
-

SQL to show list of field types

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

fk_list()

- -
fk_list(string $table) : string
-

Get the list of foreign keys for the current -table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

index_list()

- -
index_list(string $table) : array
-

Get the list of indexes for the current table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- array -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.Firebird_Util.html b/docs/classes/Query.Driver.Firebird_Util.html deleted file mode 100644 index 2372685..0000000 --- a/docs/classes/Query.Driver.Firebird_Util.html +++ /dev/null @@ -1,769 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverFirebird_Util

-

Firebird-specific backup, import and creation methods

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- create_table()
- delete_table()
- backup_structure()
- backup_data()
- __construct()
- get_driver()
- quote_ident()
- quote_table()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- $conn
-
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$conn

-
$conn
-

Reference to the current connection object

- - -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

create_table()

- -
create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string
-

Convenience public function to generate sql for creating a db table

- - -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string$name
array$fields
array$constraints
bool$if_not_exists
- - -

Returns

- string -
-
- -
- -
-
- -
-

delete_table()

- -
delete_table(string $name) : string
-

Drop the selected table

- - -

Parameters

- - - - - - -
string$name
- - -

Returns

- string -
-
- -
- -
-
- -
-

backup_structure()

- -
backup_structure() : string
-

Return an SQL file with the database table structure

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

backup_data()

- -
backup_data() : string
-

Return an SQL file with the database data as insert statements

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

__construct()

- -
__construct(\Query\Driver\Driver_Interface $conn)
-

Save a reference to the connection object for later use

- - -

Parameters

- - - - - - -
\Query\Driver\Driver_Interface$conn
- - -
-
- -
- -
-
- -
-

get_driver()

- -
get_driver() : \Query\Driver\Driver_Interface
-

Get the driver object for the current connection

- - - - -

Returns

- \Query\Driver\Driver_Interface -
-
- -
- -
-
- -
-

quote_ident()

- -
quote_ident(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

quote_table()

- -
quote_table(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.MySQL.html b/docs/classes/Query.Driver.MySQL.html index ab42c25..1b7146d 100644 --- a/docs/classes/Query.Driver.MySQL.html +++ b/docs/classes/Query.Driver.MySQL.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -307,7 +307,6 @@
$sql
$util
- $table
$last_query
$table_prefix
@@ -452,38 +451,6 @@
- -
-

$table

-
$table : \Query\Table\Table_Builder
-

Reference to table_builder class

- - -

Type

- \Query\Table\Table_Builder -
-
- -
- -
-

$last_query

@@ -1922,7 +1889,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.MySQL_SQL.html b/docs/classes/Query.Driver.MySQL_SQL.html deleted file mode 100644 index 7dff64f..0000000 --- a/docs/classes/Query.Driver.MySQL_SQL.html +++ /dev/null @@ -1,967 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverMySQL_SQL

-

MySQL specifc SQL

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- limit()
- explain()
- random()
- db_list()
- table_list()
- system_table_list()
- view_list()
- trigger_list()
- function_list()
- procedure_list()
- sequence_list()
- type_list()
- column_list()
- fk_list()
- index_list()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - - -
-

Methods

- -
- -
-
- -
-

limit()

- -
limit(string $sql, int $limit, int|bool $offset) : string
-

Limit clause

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$sql
int$limit
int|bool$offset
- - -

Returns

- string -
-
- -
- -
-
- -
-

explain()

- -
explain(string $sql) : string
-

Get the query plan for the sql query

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

random()

- -
random() : string
-

Random ordering keyword

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

db_list()

- -
db_list() : string
-

Returns sql to list other databases

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

table_list()

- -
table_list(string $database) : string
-

Returns sql to list tables

- - -

Parameters

- - - - - - -
string$database
- - -

Returns

- string -
-
- -
- -
-
- -
-

system_table_list()

- -
system_table_list() : string
-

Overridden in MySQL class

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

view_list()

- -
view_list() : string
-

Returns sql to list views

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

trigger_list()

- -
trigger_list() : string
-

Returns sql to list triggers

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

function_list()

- -
function_list() : string
-

Return sql to list functions

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

procedure_list()

- -
procedure_list() : string
-

Return sql to list stored procedures

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

sequence_list()

- -
sequence_list() : NULL
-

Return sql to list sequences

- - - - -

Returns

- NULL -
-
- -
- -
-
- -
-

type_list()

- -
type_list() : string
-

SQL to show list of field types

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

column_list()

- -
column_list(string $table) : string
-

SQL to show infromation about columns in a table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

fk_list()

- -
fk_list(string $table) : string
-

Get the list of foreign keys for the current -table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

index_list()

- -
index_list(string $table) : array
-

Get the list of indexes for the current table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- array -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.MySQL_Util.html b/docs/classes/Query.Driver.MySQL_Util.html deleted file mode 100644 index 4e3b9a6..0000000 --- a/docs/classes/Query.Driver.MySQL_Util.html +++ /dev/null @@ -1,769 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverMySQL_Util

-

MySQL-specific backup, import and creation methods

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- backup_structure()
- backup_data()
- __construct()
- get_driver()
- create_table()
- delete_table()
- quote_ident()
- quote_table()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- $conn
-
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$conn

-
$conn
-

Reference to the current connection object

- - -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

backup_structure()

- -
backup_structure() : string
-

Return an SQL file with the database table structure

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

backup_data()

- -
backup_data() : string
-

Return an SQL file with the database data as insert statements

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

__construct()

- -
__construct(\Query\Driver\Driver_Interface $conn)
-

Save a reference to the connection object for later use

- - -

Parameters

- - - - - - -
\Query\Driver\Driver_Interface$conn
- - -
-
- -
- -
-
- -
-

get_driver()

- -
get_driver() : \Query\Driver\Driver_Interface
-

Get the driver object for the current connection

- - - - -

Returns

- \Query\Driver\Driver_Interface -
-
- -
- -
-
- -
-

create_table()

- -
create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string
-

Convenience public function to generate sql for creating a db table

- - -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string$name
array$fields
array$constraints
bool$if_not_exists
- - -

Returns

- string -
-
- -
- -
-
- -
-

delete_table()

- -
delete_table(string $name) : string
-

Drop the selected table

- - -

Parameters

- - - - - - -
string$name
- - -

Returns

- string -
-
- -
- -
-
- -
-

quote_ident()

- -
quote_ident(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

quote_table()

- -
quote_table(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.PgSQL.html b/docs/classes/Query.Driver.PgSQL.html index ddb0347..cf7ee1f 100644 --- a/docs/classes/Query.Driver.PgSQL.html +++ b/docs/classes/Query.Driver.PgSQL.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -307,7 +307,6 @@
$sql
$util
- $table
$last_query
$table_prefix
@@ -452,38 +451,6 @@
- -
-

$table

-
$table : \Query\Table\Table_Builder
-

Reference to table_builder class

- - -

Type

- \Query\Table\Table_Builder -
-
- -
- -
-

$last_query

@@ -1922,7 +1889,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.PgSQL_SQL.html b/docs/classes/Query.Driver.PgSQL_SQL.html deleted file mode 100644 index 4edf10b..0000000 --- a/docs/classes/Query.Driver.PgSQL_SQL.html +++ /dev/null @@ -1,959 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverPgSQL_SQL

-

PostgreSQL specifc SQL

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- explain()
- random()
- db_list()
- table_list()
- system_table_list()
- view_list()
- trigger_list()
- function_list()
- procedure_list()
- sequence_list()
- column_list()
- type_list()
- fk_list()
- index_list()
- limit()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - - -
-

Methods

- -
- -
-
- -
-

explain()

- -
explain(string $sql) : string
-

Get the query plan for the sql query

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

random()

- -
random() : string
-

Random ordering keyword

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

db_list()

- -
db_list() : string
-

Returns sql to list other databases

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

table_list()

- -
table_list() : string
-

Returns sql to list tables

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

system_table_list()

- -
system_table_list() : string
-

Returns sql to list system tables

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

view_list()

- -
view_list() : string
-

Returns sql to list views

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

trigger_list()

- -
trigger_list() : string
-

Returns sql to list triggers

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

function_list()

- -
function_list() : NULL
-

Return sql to list functions

- - - - -

Returns

- NULL -
-
- -
- -
-
- -
-

procedure_list()

- -
procedure_list() : string
-

Return sql to list stored procedures

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

sequence_list()

- -
sequence_list() : string
-

Return sql to list sequences

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

column_list()

- -
column_list(string $table) : string
-

Return sql to list columns of the specified table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

type_list()

- -
type_list() : string
-

SQL to show list of field types

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

fk_list()

- -
fk_list(string $table) : string
-

Get the list of foreign keys for the current -table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

index_list()

- -
index_list(string $table) : array
-

Get the list of indexes for the current table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- array -
-
- -
- -
-
- -
-

limit()

- -
limit(string $sql, int $limit, int|bool $offset) : string
-

Limit clause

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$sql
int$limit
int|bool$offset
- - -

Returns

- string -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.PgSQL_Util.html b/docs/classes/Query.Driver.PgSQL_Util.html deleted file mode 100644 index be71952..0000000 --- a/docs/classes/Query.Driver.PgSQL_Util.html +++ /dev/null @@ -1,769 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverPgSQL_Util

-

Posgres-specific backup, import and creation methods

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- backup_structure()
- backup_data()
- __construct()
- get_driver()
- create_table()
- delete_table()
- quote_ident()
- quote_table()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- $conn
-
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$conn

-
$conn
-

Reference to the current connection object

- - -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

backup_structure()

- -
backup_structure() : string
-

Return an SQL file with the database table structure

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

backup_data()

- -
backup_data() : string
-

Return an SQL file with the database data as insert statements

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

__construct()

- -
__construct(\Query\Driver\Driver_Interface $conn)
-

Save a reference to the connection object for later use

- - -

Parameters

- - - - - - -
\Query\Driver\Driver_Interface$conn
- - -
-
- -
- -
-
- -
-

get_driver()

- -
get_driver() : \Query\Driver\Driver_Interface
-

Get the driver object for the current connection

- - - - -

Returns

- \Query\Driver\Driver_Interface -
-
- -
- -
-
- -
-

create_table()

- -
create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string
-

Convenience public function to generate sql for creating a db table

- - -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string$name
array$fields
array$constraints
bool$if_not_exists
- - -

Returns

- string -
-
- -
- -
-
- -
-

delete_table()

- -
delete_table(string $name) : string
-

Drop the selected table

- - -

Parameters

- - - - - - -
string$name
- - -

Returns

- string -
-
- -
- -
-
- -
-

quote_ident()

- -
quote_ident(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

quote_table()

- -
quote_table(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.SQL.Abstract_SQL.html b/docs/classes/Query.Driver.SQL.Abstract_SQL.html index c5d49eb..e8b2a67 100644 --- a/docs/classes/Query.Driver.SQL.Abstract_SQL.html +++ b/docs/classes/Query.Driver.SQL.Abstract_SQL.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -314,7 +314,7 @@
File
-
core/abstract/abstract_sql.php
+
Query/Driver/SQL/Abstract_SQL.php
Package
\Query\Drivers\Drivers
Class hierarchy
@@ -405,10 +405,10 @@ @@ -449,7 +449,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.SQL.Firebird_SQL.html b/docs/classes/Query.Driver.SQL.Firebird_SQL.html index b3a15a9..b907540 100644 --- a/docs/classes/Query.Driver.SQL.Firebird_SQL.html +++ b/docs/classes/Query.Driver.SQL.Firebird_SQL.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -961,7 +961,7 @@ table


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.SQL.MySQL_SQL.html b/docs/classes/Query.Driver.SQL.MySQL_SQL.html index f82dc21..145d72b 100644 --- a/docs/classes/Query.Driver.SQL.MySQL_SQL.html +++ b/docs/classes/Query.Driver.SQL.MySQL_SQL.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -969,7 +969,7 @@ table


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.SQL.PgSQL_SQL.html b/docs/classes/Query.Driver.SQL.PgSQL_SQL.html index eaaaca6..dbb20c3 100644 --- a/docs/classes/Query.Driver.SQL.PgSQL_SQL.html +++ b/docs/classes/Query.Driver.SQL.PgSQL_SQL.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -961,7 +961,7 @@ table


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.SQL.SQL_Interface.html b/docs/classes/Query.Driver.SQL.SQL_Interface.html index da62ae8..fbf5cf7 100644 --- a/docs/classes/Query.Driver.SQL.SQL_Interface.html +++ b/docs/classes/Query.Driver.SQL.SQL_Interface.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -314,7 +314,7 @@
File
-
core/interfaces/sql_interface.php
+
Query/Driver/SQL/SQL_Interface.php
Package
\Query\Drivers\Drivers
@@ -892,10 +892,10 @@ table

@@ -936,7 +936,7 @@ table


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.SQL.SQLite_SQL.html b/docs/classes/Query.Driver.SQL.SQLite_SQL.html index 8fc8e69..9566a37 100644 --- a/docs/classes/Query.Driver.SQL.SQLite_SQL.html +++ b/docs/classes/Query.Driver.SQL.SQLite_SQL.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -961,7 +961,7 @@ table


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.SQL_Interface.html b/docs/classes/Query.Driver.SQL_Interface.html deleted file mode 100644 index 5c4309f..0000000 --- a/docs/classes/Query.Driver.SQL_Interface.html +++ /dev/null @@ -1,934 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverSQL_Interface

-

parent for database manipulation subclasses

- - -
-

Summary

-
-
- Methods -
-
- Constants -
-
-
-
- limit()
- explain()
- random()
- db_list()
- table_list()
- system_table_list()
- view_list()
- trigger_list()
- function_list()
- procedure_list()
- sequence_list()
- type_list()
- column_list()
- fk_list()
- index_list()
-
-
- No constants found -
-
-
-
- No protected methods found -
-
- N/A -
-
-
-
- No private methods found -
-
- N/A -
-
-
-
- -
- - -
-
-

Methods

-
- -
- -
-
- -
-

limit()

- -
limit(string $sql, int $limit, int|bool $offset) : string
-

Get database specific sql for limit clause

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$sql
int$limit
int|bool$offset
- - -

Returns

- string -
-
- -
- -
-
- -
-

explain()

- -
explain(string $sql) : string
-

Modify the query to get the query plan

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

random()

- -
random() : string
-

Get the sql for random ordering

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

db_list()

- -
db_list() : string
-

Returns sql to list other databases

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

table_list()

- -
table_list() : string
-

Returns sql to list tables

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

system_table_list()

- -
system_table_list() : string
-

Returns sql to list system tables

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

view_list()

- -
view_list() : string
-

Returns sql to list views

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

trigger_list()

- -
trigger_list() : string
-

Returns sql to list triggers

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

function_list()

- -
function_list() : NULL
-

Return sql to list functions

- - - - -

Returns

- NULL -
-
- -
- -
-
- -
-

procedure_list()

- -
procedure_list() : string
-

Return sql to list stored procedures

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

sequence_list()

- -
sequence_list() : string
-

Return sql to list sequences

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

type_list()

- -
type_list() : string|array
-

Return sql to list database field types

- - - - -

Returns

- string|array -
-
- -
- -
-
- -
-

column_list()

- -
column_list(string $table) : string
-

Get information about the columns in the -specified table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

fk_list()

- -
fk_list(string $table) : array
-

Get the list of foreign keys for the current -table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- array -
-
- -
- -
-
- -
-

index_list()

- -
index_list(string $table) : array
-

Get the list of indexes for the current table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- array -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.SQLite.html b/docs/classes/Query.Driver.SQLite.html index b99851c..67d1a29 100644 --- a/docs/classes/Query.Driver.SQLite.html +++ b/docs/classes/Query.Driver.SQLite.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -307,7 +307,6 @@
$sql
$util
- $table
$last_query
$table_prefix
@@ -452,38 +451,6 @@
- -
-

$table

-
$table : \Query\Table\Table_Builder
-

Reference to table_builder class

- - -

Type

- \Query\Table\Table_Builder -
-
- -
- -
-

$last_query

@@ -1922,7 +1889,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.SQLite_SQL.html b/docs/classes/Query.Driver.SQLite_SQL.html deleted file mode 100644 index 9916b18..0000000 --- a/docs/classes/Query.Driver.SQLite_SQL.html +++ /dev/null @@ -1,959 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverSQLite_SQL

-

SQLite Specific SQL

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- explain()
- random()
- db_list()
- table_list()
- system_table_list()
- view_list()
- trigger_list()
- function_list()
- procedure_list()
- sequence_list()
- type_list()
- column_list()
- fk_list()
- index_list()
- limit()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - - -
-

Methods

- -
- -
-
- -
-

explain()

- -
explain(string $sql) : string
-

Get the query plan for the sql query

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

random()

- -
random() : string
-

Random ordering keyword

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

db_list()

- -
db_list() : string
-

Returns sql to list other databases

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

table_list()

- -
table_list() : string
-

Returns sql to list tables

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

system_table_list()

- -
system_table_list() : array
-

List the system tables

- - - - -

Returns

- array -
-
- -
- -
-
- -
-

view_list()

- -
view_list() : string
-

Returns sql to list views

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

trigger_list()

- -
trigger_list() : NULL
-

Returns sql to list triggers

- - - - -

Returns

- NULL -
-
- -
- -
-
- -
-

function_list()

- -
function_list() : NULL
-

Return sql to list functions

- - - - -

Returns

- NULL -
-
- -
- -
-
- -
-

procedure_list()

- -
procedure_list() : NULL
-

Return sql to list stored procedures

- - - - -

Returns

- NULL -
-
- -
- -
-
- -
-

sequence_list()

- -
sequence_list() : NULL
-

Return sql to list sequences

- - - - -

Returns

- NULL -
-
- -
- -
-
- -
-

type_list()

- -
type_list() : string[]
-

SQL to show list of field types

- - - - -

Returns

- string[] -
-
- -
- -
-
- -
-

column_list()

- -
column_list(string $table) : string
-

SQL to show infromation about columns in a table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

fk_list()

- -
fk_list(string $table) : string
-

Get the list of foreign keys for the current -table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

index_list()

- -
index_list(string $table) : string
-

Get the list of indexes for the current table

- - -

Parameters

- - - - - - -
string$table
- - -

Returns

- string -
-
- -
- -
-
- -
-

limit()

- -
limit(string $sql, int $limit, int|bool $offset) : string
-

Limit clause

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$sql
int$limit
int|bool$offset
- - -

Returns

- string -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.SQLite_Util.html b/docs/classes/Query.Driver.SQLite_Util.html deleted file mode 100644 index 0ff44d7..0000000 --- a/docs/classes/Query.Driver.SQLite_Util.html +++ /dev/null @@ -1,841 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\DriverSQLite_Util

-

SQLite-specific backup, import and creation methods

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- backup_data()
- backup_structure()
- __construct()
- get_driver()
- create_table()
- delete_table()
- query()
- quote()
- quote_ident()
- quote_table()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- No protected properties found -
-
- N/A -
-
-
-
- No private methods found -
-
- $conn
-
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$conn

-
$conn
-

Reference to the current connection object

- - -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

backup_data()

- -
backup_data() : string
-

Return an SQL file with the database data as insert statements

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

backup_structure()

- -
backup_structure() : string
-

Return an SQL file with the database table structure

- - - - -

Returns

- string -
-
- -
- -
-
- -
-

__construct()

- -
__construct(\Query\Driver\Driver_Interface $conn)
-

Save a reference to the connection object for later use

- - -

Parameters

- - - - - - -
\Query\Driver\Driver_Interface$conn
- - -
-
- -
- -
-
- -
-

get_driver()

- -
get_driver() : \Query\Driver\Driver_Interface
-

Get the driver object for the current connection

- - - - -

Returns

- \Query\Driver\Driver_Interface -
-
- -
- -
-
- -
-

create_table()

- -
create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string
-

Convenience public function to generate sql for creating a db table

- - -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string$name
array$fields
array$constraints
bool$if_not_exists
- - -

Returns

- string -
-
- -
- -
-
- -
-

delete_table()

- -
delete_table(string $name) : string
-

Drop the selected table

- - -

Parameters

- - - - - - -
string$name
- - -

Returns

- string -
-
- -
- -
-
- -
-

query()

- -
query(string $sql) : mixed
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- mixed -
-
- -
- -
-
- -
-

quote()

- -
quote(string $str) : string
-

- - -

Parameters

- - - - - - -
string$str
- - -

Returns

- string -
-
- -
- -
-
- -
-

quote_ident()

- -
quote_ident(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- -
-

quote_table()

- -
quote_table(string $sql) : string
-

- - -

Parameters

- - - - - - -
string$sql
- - -

Returns

- string -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Driver.Util.Abstract_Util.html b/docs/classes/Query.Driver.Util.Abstract_Util.html index a132ba0..7786dec 100644 --- a/docs/classes/Query.Driver.Util.Abstract_Util.html +++ b/docs/classes/Query.Driver.Util.Abstract_Util.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -321,7 +321,7 @@
File
-
core/abstract/abstract_util.php
+
Query/Driver/Util/Abstract_Util.php
Package
\Query\Drivers\Drivers
Class hierarchy
@@ -704,10 +704,10 @@ @@ -748,7 +748,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Util.Firebird_Util.html b/docs/classes/Query.Driver.Util.Firebird_Util.html index 3f9978a..5548ce7 100644 --- a/docs/classes/Query.Driver.Util.Firebird_Util.html +++ b/docs/classes/Query.Driver.Util.Firebird_Util.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -767,7 +767,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Util.MySQL_Util.html b/docs/classes/Query.Driver.Util.MySQL_Util.html index 58fb295..cf675e9 100644 --- a/docs/classes/Query.Driver.Util.MySQL_Util.html +++ b/docs/classes/Query.Driver.Util.MySQL_Util.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -767,7 +767,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Util.PgSQL_Util.html b/docs/classes/Query.Driver.Util.PgSQL_Util.html index 194619e..913560f 100644 --- a/docs/classes/Query.Driver.Util.PgSQL_Util.html +++ b/docs/classes/Query.Driver.Util.PgSQL_Util.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -767,7 +767,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Driver.Util.SQLite_Util.html b/docs/classes/Query.Driver.Util.SQLite_Util.html index 880f9bf..cae65e8 100644 --- a/docs/classes/Query.Driver.Util.SQLite_Util.html +++ b/docs/classes/Query.Driver.Util.SQLite_Util.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -839,7 +839,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Query_Builder.html b/docs/classes/Query.Query_Builder.html index 3fbcb28..460f61b 100644 --- a/docs/classes/Query.Query_Builder.html +++ b/docs/classes/Query.Query_Builder.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -392,7 +392,7 @@ instantiates the specific db driver

File
-
core/query_builder.php
+
Query/Query_Builder.php
Package
\Query\Query_Builder\Query_Builder
Class hierarchy
@@ -3956,10 +3956,10 @@ in place of the get() method

@@ -4000,7 +4000,7 @@ in place of the get() method


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Query_Builder_Interface.html b/docs/classes/Query.Query_Builder_Interface.html index 0f0305f..61a1174 100644 --- a/docs/classes/Query.Query_Builder_Interface.html +++ b/docs/classes/Query.Query_Builder_Interface.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -341,7 +341,7 @@
File
-
core/interfaces/query_builder_interface.php
+
Query/Query_Builder_Interface.php
Package
\Query\Query_Builder\Query_Builder
@@ -2237,10 +2237,10 @@ in place of the get() method

@@ -2281,7 +2281,7 @@ in place of the get() method


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Query_Parser.html b/docs/classes/Query.Query_Parser.html index 804ee4d..b13ff7b 100644 --- a/docs/classes/Query.Query_Parser.html +++ b/docs/classes/Query.Query_Parser.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -316,7 +316,7 @@
File
-
core/query_parser.php
+
Query/Query_Parser.php
Package
\Query\Query_Builder\Query_Builder
Class hierarchy
@@ -616,10 +616,10 @@ @@ -660,7 +660,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/classes/Query.Table.Abstract_Table.html b/docs/classes/Query.Table.Abstract_Table.html deleted file mode 100644 index 01ea99b..0000000 --- a/docs/classes/Query.Table.Abstract_Table.html +++ /dev/null @@ -1,630 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\TableAbstract_Table

-

Base class for table builder component classes`

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- __toString()
- set_options()
- __get()
- __set()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- $valid_options
-
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$valid_options

-
$valid_options : array
-

Valid options for the current class

- - -

Type

- array -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

__toString()

- -
__toString()
-

String representation of the column/index

- - - - -
-
- -
- -
-
- -
-

set_options()

- -
set_options(array $options)
-

Set options for the current column

- - -

Parameters

- - - - - - -
array$options

return \Query\Table_Column

- - -
-
- -
- -
-
- -
-

__get()

- -
__get(mixed $name) : mixed
-

Getters

- - -

Parameters

- - - - - - -
mixed$name
- - -

Returns

- mixed -
-
- -
- -
-
- -
-

__set()

- -
__set(mixed $name, mixed $val) : \Query\Table\Abstract_Table
-

Setters

- - -

Parameters

- - - - - - - - - - - -
mixed$name
mixed$val
- - -

Returns

- \Query\Table\Abstract_Table -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Table.Table_Builder.html b/docs/classes/Query.Table.Table_Builder.html deleted file mode 100644 index 841eaa0..0000000 --- a/docs/classes/Query.Table.Table_Builder.html +++ /dev/null @@ -1,1643 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\TableTable_Builder

-

Abstract class defining database / table creation methods

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- __construct()
- __invoke()
- set_driver()
- get_driver()
- add_column()
- remove_column()
- rename_column()
- change_column()
- has_column()
- add_index()
- remove_index()
- remove_index_by_name()
- has_index()
- add_foreign_key()
- drop_foreign_key()
- has_foreign_key()
- exists()
- drop()
- rename()
- get_columns()
- create()
- update()
- save()
- reset()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- $name
-
-
- N/A -
-
-
-
- No private methods found -
-
- $driver
- $table_options
- $columns
- $indexes
- $foreign_keys
-
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$name

-
$name : string
-

The name of the current table

- - -

Type

- string -
-
- -
- -
-
- - -
- -
- -
-
- -
-

$table_options

-
$table_options : array
-

Options for the current table

- - -

Type

- array -
-
- -
- -
-
- -
-

$columns

-
$columns : array
-

Columns to be added/updated for the current table

- - -

Type

- array -
-
- -
- -
-
- -
-

$indexes

-
$indexes : array
-

Indexes to be added/updated for the current table

- - -

Type

- array -
-
- -
- -
-
- -
-

$foreign_keys

-
$foreign_keys : array
-

Foreign keys to be added/updated for the current table

- - -

Type

- array -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

__construct()

- -
__construct(string $name, array $options, \Query\Driver\Driver_Interface $driver) : \Query\Table\Table_Builder
-

Constructor

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$name
array$options
\Query\Driver\Driver_Interface$driver
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

__invoke()

- -
__invoke(string $name, array $options, \Query\Driver\Driver_Interface $driver) : \Query\Table\Table_Builder
-

Alias to constructor

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$name
array$options
\Query\Driver\Driver_Interface$driver
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- - -
- -
- -
-
- - -
- -
- -
-
- -
-

add_column()

- -
add_column(string $column_name, string $type, array $options) : \Query\Table\Table_Builder
-

Add a column to the current table

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$column_name
string$type
array$options
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

remove_column()

- -
remove_column(string $column_name) : \Query\Table\Table_Builder
-

Remove the specified column name from the current table

- - -

Parameters

- - - - - - -
string$column_name
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

rename_column()

- -
rename_column(string $old_name, string $new_name) : \Query\Table\Table_Builder
-

Rename the specified column on the current table

- - -

Parameters

- - - - - - - - - - - -
string$old_name
string$new_name
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

change_column()

- -
change_column(string $column_name, string $new_column_type, array $options) : \Query\Table\Table_Builder
-

Change the specified column on the current table

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$column_name
string$new_column_type
array$options
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

has_column()

- -
has_column(string $column_name, array $options) : bool
-

Determine whether the column currently exists on the current table

- - -

Parameters

- - - - - - - - - - - -
string$column_name
array$options
- - -

Returns

- bool -
-
- -
- -
-
- -
-

add_index()

- -
add_index(array $columns, array $options) : \Query\Table\Table_Builder
-

Add an index to the current table

- - -

Parameters

- - - - - - - - - - - -
array$columns
array$options
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

remove_index()

- -
remove_index(array $columns, array $options) : \Query\Table\Table_Builder
-

Remove an index from the current table

- - -

Parameters

- - - - - - - - - - - -
array$columns
array$options
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

remove_index_by_name()

- -
remove_index_by_name(string $name) : \Query\Table\Table_Builder
-

Remove an index by its name from the current table

- - -

Parameters

- - - - - - -
string$name
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

has_index()

- -
has_index(array $columns, array $options) : bool
-

Check if the current table has an index on the specified columns

- - -

Parameters

- - - - - - - - - - - -
array$columns
array$options
- - -

Returns

- bool -
-
- -
- -
-
- -
-

add_foreign_key()

- -
add_foreign_key(array $columns, string $referenced_table, array $referenced_columns, array $options) : \Query\Table\Table_Builder
-

Add a foreign key to the current table

- - -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
array$columns
string$referenced_table
array$referenced_columns
array$options
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

drop_foreign_key()

- -
drop_foreign_key(array $columns, string $constraint) : \Query\Table\Table_Builder
-

Drop the foreign key from the current table

- - -

Parameters

- - - - - - - - - - - -
array$columns
string$constraint
- - -

Returns

- \Query\Table\Table_Builder -
-
- -
- -
-
- -
-

has_foreign_key()

- -
has_foreign_key(array $columns, string $constraint) : bool
-

Determine whether the current table has the specified foreign key

- - -

Parameters

- - - - - - - - - - - -
array$columns
string$constraint
- - -

Returns

- bool -
-
- -
- -
-
- -
-

exists()

- -
exists() : bool
-

Check whether the current table exists

- - - - -

Returns

- bool -
-
- -
- -
-
- -
-

drop()

- -
drop() : void
-

Drop the current table

- - - - -
-
- -
- -
-
- -
-

rename()

- -
rename(string $new_table_name) : void
-

Rename the current table

- - -

Parameters

- - - - - - -
string$new_table_name
- - -
-
- -
- -
-
- -
-

get_columns()

- -
get_columns() : array
-

Get the list of columns for the current table

- - - - -

Returns

- array -
-
- -
- -
-
- -
-

create()

- -
create() : void
-

Create the table from the previously set options

- - - - -
-
- -
- -
-
- -
-

update()

- -
update() : void
-

Update the current table with the changes made

- - - - -
-
- -
- -
-
- -
-

save()

- -
save() : void
-

Save the changes made to the table

- - - - -
-
- -
- -
-
- -
-

reset()

- -
reset() : void
-

Reset the state of the table builder

- - - - -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Table.Table_Column.html b/docs/classes/Query.Table.Table_Column.html deleted file mode 100644 index 489158b..0000000 --- a/docs/classes/Query.Table.Table_Column.html +++ /dev/null @@ -1,753 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\TableTable_Column

-

Class representing a column when creating a table

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- __construct()
- __toString()
- set_options()
- __get()
- __set()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- $name
- $type
- $valid_options
-
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$name

-
$name : string
-

The name of the column

- - -

Type

- string -
-
- -
- -
-
- -
-

$type

-
$type : string
-

The type of the column

- - -

Type

- string -
-
- -
- -
-
- -
-

$valid_options

-
$valid_options : array
-

Valid options for the current class

- - -

Type

- array -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

__construct()

- -
__construct(string $name, \Query\Table\[string] $type, \Query\Table\[array] $options)
-

Set the attributes for the column

- - -

Parameters

- - - - - - - - - - - - - - - - -
string$name
\Query\Table\[string]$type
\Query\Table\[array]$options
- - -
-
- -
- -
-
- -
-

__toString()

- -
__toString()
-

String representation of the column/index

- - - - -
-
- -
- -
-
- -
-

set_options()

- -
set_options(array $options)
-

Set options for the current column

- - -

Parameters

- - - - - - -
array$options

return \Query\Table_Column

- - -
-
- -
- -
-
- -
-

__get()

- -
__get(mixed $name) : mixed
-

Getters

- - -

Parameters

- - - - - - -
mixed$name
- - -

Returns

- mixed -
-
- -
- -
-
- -
-

__set()

- -
__set(mixed $name, mixed $val) : \Query\Table\Abstract_Table
-

Setters

- - -

Parameters

- - - - - - - - - - - -
mixed$name
mixed$val
- - -

Returns

- \Query\Table\Abstract_Table -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Table.Table_Foreign_Key.html b/docs/classes/Query.Table.Table_Foreign_Key.html deleted file mode 100644 index 59a847d..0000000 --- a/docs/classes/Query.Table.Table_Foreign_Key.html +++ /dev/null @@ -1,641 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\TableTable_Foreign_Key

-

Class representing a foreign key

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- __toString()
- set_options()
- __get()
- __set()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- $valid_options
-
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$valid_options

-
$valid_options : array
-

Valid options for the current class

- - -

Type

- array -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

__toString()

- -
__toString()
-

String representation of the column/index

- - - - -
-
- -
- -
-
- -
-

set_options()

- -
set_options(array $options)
-

Set options for the current column

- - -

Parameters

- - - - - - -
array$options

return \Query\Table_Column

- - -
-
- -
- -
-
- -
-

__get()

- -
__get(mixed $name) : mixed
-

Getters

- - -

Parameters

- - - - - - -
mixed$name
- - -

Returns

- mixed -
-
- -
- -
-
- -
-

__set()

- -
__set(mixed $name, mixed $val) : \Query\Table\Abstract_Table
-

Setters

- - -

Parameters

- - - - - - - - - - - -
mixed$name
mixed$val
- - -

Returns

- \Query\Table\Abstract_Table -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/classes/Query.Table.Table_Index.html b/docs/classes/Query.Table.Table_Index.html deleted file mode 100644 index 853aeed..0000000 --- a/docs/classes/Query.Table.Table_Index.html +++ /dev/null @@ -1,641 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

\Query\TableTable_Index

-

Class representing indicies when creating a table

- - -
-

Summary

-
-
- Methods -
-
- Properties -
-
- Constants -
-
-
-
- __toString()
- set_options()
- __get()
- __set()
-
-
- No public properties found -
-
- No constants found -
-
-
-
- No protected methods found -
-
- $valid_options
-
-
- N/A -
-
-
-
- No private methods found -
-
- No private properties found -
-
- N/A -
-
-
-
- -
- - - -
-
-

Properties

-
- -
- -
-
- -
-

$valid_options

-
$valid_options : array
-

Valid options for the current class

- - -

Type

- array -
-
- -
- - - -
-

Methods

- -
- -
-
- -
-

__toString()

- -
__toString()
-

String representation of the column/index

- - - - -
-
- -
- -
-
- -
-

set_options()

- -
set_options(array $options)
-

Set options for the current column

- - -

Parameters

- - - - - - -
array$options

return \Query\Table_Column

- - -
-
- -
- -
-
- -
-

__get()

- -
__get(mixed $name) : mixed
-

Getters

- - -

Parameters

- - - - - - -
mixed$name
- - -

Returns

- mixed -
-
- -
- -
-
- -
-

__set()

- -
__set(mixed $name, mixed $val) : \Query\Table\Abstract_Table
-

Setters

- - -

Parameters

- - - - - - - - - - - -
mixed$name
mixed$val
- - -

Returns

- \Query\Table\Abstract_Table -
-
- -
- -
-
- - - - -
- - - diff --git a/docs/files/core.abstract.abstract_query_builder.php.html b/docs/files/Query.Abstract_Query_Builder.php.html similarity index 94% rename from docs/files/core.abstract.abstract_query_builder.php.html rename to docs/files/Query.Abstract_Query_Builder.php.html index b1e8d1d..fbb6004 100644 --- a/docs/files/core.abstract.abstract_query_builder.php.html +++ b/docs/files/Query.Abstract_Query_Builder.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

core/abstractabstract_query_builder.php

+

QueryAbstract_Query_Builder.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.BadDBDriverException.php.html b/docs/files/Query.BadDBDriverException.php.html similarity index 94% rename from docs/files/core.BadDBDriverException.php.html rename to docs/files/Query.BadDBDriverException.php.html index e82e409..027c7a0 100644 --- a/docs/files/core.BadDBDriverException.php.html +++ b/docs/files/Query.BadDBDriverException.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

coreBadDBDriverException.php

+

QueryBadDBDriverException.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.connection_manager.php.html b/docs/files/Query.Connection_Manager.php.html similarity index 94% rename from docs/files/core.connection_manager.php.html rename to docs/files/Query.Connection_Manager.php.html index 88d618c..6723830 100644 --- a/docs/files/core.connection_manager.php.html +++ b/docs/files/Query.Connection_Manager.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

coreconnection_manager.php

+

QueryConnection_Manager.php

Query

Free Query Builder / Database Abstraction Layer

@@ -322,7 +322,7 @@ Query method

@@ -363,7 +363,7 @@ Query method

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.abstract.abstract_driver.php.html b/docs/files/Query.Driver.Abstract_Driver.php.html similarity index 94% rename from docs/files/core.abstract.abstract_driver.php.html rename to docs/files/Query.Driver.Abstract_Driver.php.html index c8b4071..b312c15 100644 --- a/docs/files/core.abstract.abstract_driver.php.html +++ b/docs/files/Query.Driver.Abstract_Driver.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

core/abstractabstract_driver.php

+

Query/DriverAbstract_Driver.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.interfaces.driver_interface.php.html b/docs/files/Query.Driver.Driver_Interface.php.html similarity index 94% rename from docs/files/core.interfaces.driver_interface.php.html rename to docs/files/Query.Driver.Driver_Interface.php.html index 3bc1842..d829e99 100644 --- a/docs/files/core.interfaces.driver_interface.php.html +++ b/docs/files/Query.Driver.Driver_Interface.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

core/interfacesdriver_interface.php

+

Query/DriverDriver_Interface.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.abstract.abstract_sql.php.html b/docs/files/Query.Driver.SQL.Abstract_SQL.php.html similarity index 94% rename from docs/files/core.abstract.abstract_sql.php.html rename to docs/files/Query.Driver.SQL.Abstract_SQL.php.html index 748b89c..4cf2db7 100644 --- a/docs/files/core.abstract.abstract_sql.php.html +++ b/docs/files/Query.Driver.SQL.Abstract_SQL.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

core/abstractabstract_sql.php

+

Query/Driver/SQLAbstract_SQL.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.interfaces.sql_interface.php.html b/docs/files/Query.Driver.SQL.SQL_Interface.php.html similarity index 94% rename from docs/files/core.interfaces.sql_interface.php.html rename to docs/files/Query.Driver.SQL.SQL_Interface.php.html index af52ff1..7c3d349 100644 --- a/docs/files/core.interfaces.sql_interface.php.html +++ b/docs/files/Query.Driver.SQL.SQL_Interface.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

core/interfacessql_interface.php

+

Query/Driver/SQLSQL_Interface.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.abstract.abstract_util.php.html b/docs/files/Query.Driver.Util.Abstract_Util.php.html similarity index 94% rename from docs/files/core.abstract.abstract_util.php.html rename to docs/files/Query.Driver.Util.Abstract_Util.php.html index 938e62a..21c7aaa 100644 --- a/docs/files/core.abstract.abstract_util.php.html +++ b/docs/files/Query.Driver.Util.Abstract_Util.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

core/abstractabstract_util.php

+

Query/Driver/UtilAbstract_Util.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.query_builder.php.html b/docs/files/Query.Query_Builder.php.html similarity index 94% rename from docs/files/core.query_builder.php.html rename to docs/files/Query.Query_Builder.php.html index 4826908..7fef662 100644 --- a/docs/files/core.query_builder.php.html +++ b/docs/files/Query.Query_Builder.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

corequery_builder.php

+

QueryQuery_Builder.php

Query

Free Query Builder / Database Abstraction Layer

@@ -322,7 +322,7 @@ instantiates the specific db driver

@@ -363,7 +363,7 @@ instantiates the specific db driver

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.interfaces.query_builder_interface.php.html b/docs/files/Query.Query_Builder_Interface.php.html similarity index 94% rename from docs/files/core.interfaces.query_builder_interface.php.html rename to docs/files/Query.Query_Builder_Interface.php.html index 1739e08..5507003 100644 --- a/docs/files/core.interfaces.query_builder_interface.php.html +++ b/docs/files/Query.Query_Builder_Interface.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

core/interfacesquery_builder_interface.php

+

QueryQuery_Builder_Interface.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.query_parser.php.html b/docs/files/Query.Query_Parser.php.html similarity index 94% rename from docs/files/core.query_parser.php.html rename to docs/files/Query.Query_Parser.php.html index f7cd86d..021cd7c 100644 --- a/docs/files/core.query_parser.php.html +++ b/docs/files/Query.Query_Parser.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -255,7 +255,7 @@ -

corequery_parser.php

+

QueryQuery_Parser.php

Query

Free Query Builder / Database Abstraction Layer

@@ -321,7 +321,7 @@

@@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core/abstract/abstract_query_builder.php.txt b/docs/files/Query/Abstract_Query_Builder.php.txt similarity index 99% rename from docs/files/core/abstract/abstract_query_builder.php.txt rename to docs/files/Query/Abstract_Query_Builder.php.txt index e897dac..a02d63e 100644 --- a/docs/files/core/abstract/abstract_query_builder.php.txt +++ b/docs/files/Query/Abstract_Query_Builder.php.txt @@ -618,8 +618,6 @@ abstract class Abstract_Query_Builder { $sql = $this->sql->explain($sql); } -// $sql . "
"; - return $sql; } } diff --git a/docs/files/core/BadDBDriverException.php.txt b/docs/files/Query/BadDBDriverException.php.txt similarity index 100% rename from docs/files/core/BadDBDriverException.php.txt rename to docs/files/Query/BadDBDriverException.php.txt diff --git a/docs/files/core/connection_manager.php.txt b/docs/files/Query/Connection_Manager.php.txt similarity index 99% rename from docs/files/core/connection_manager.php.txt rename to docs/files/Query/Connection_Manager.php.txt index 6ffb8a6..914dad3 100644 --- a/docs/files/core/connection_manager.php.txt +++ b/docs/files/Query/Connection_Manager.php.txt @@ -232,4 +232,3 @@ final class Connection_Manager { } } // End of connection_manager.php - diff --git a/docs/files/core/abstract/abstract_driver.php.txt b/docs/files/Query/Driver/Abstract_Driver.php.txt similarity index 99% rename from docs/files/core/abstract/abstract_driver.php.txt rename to docs/files/Query/Driver/Abstract_Driver.php.txt index 73e203e..ffe2ac2 100644 --- a/docs/files/core/abstract/abstract_driver.php.txt +++ b/docs/files/Query/Driver/Abstract_Driver.php.txt @@ -51,12 +51,6 @@ abstract class Abstract_Driver extends \PDO implements Driver_Interface { */ public $util; - /** - * Reference to table_builder class - * @var \Query\Table\Table_Builder - */ - public $table; - /** * Last query executed * @var string diff --git a/docs/files/core/interfaces/driver_interface.php.txt b/docs/files/Query/Driver/Driver_Interface.php.txt similarity index 100% rename from docs/files/core/interfaces/driver_interface.php.txt rename to docs/files/Query/Driver/Driver_Interface.php.txt diff --git a/docs/files/core/abstract/abstract_sql.php.txt b/docs/files/Query/Driver/SQL/Abstract_SQL.php.txt similarity index 100% rename from docs/files/core/abstract/abstract_sql.php.txt rename to docs/files/Query/Driver/SQL/Abstract_SQL.php.txt diff --git a/docs/files/core/interfaces/sql_interface.php.txt b/docs/files/Query/Driver/SQL/SQL_Interface.php.txt similarity index 100% rename from docs/files/core/interfaces/sql_interface.php.txt rename to docs/files/Query/Driver/SQL/SQL_Interface.php.txt diff --git a/docs/files/core/abstract/abstract_util.php.txt b/docs/files/Query/Driver/Util/Abstract_Util.php.txt similarity index 100% rename from docs/files/core/abstract/abstract_util.php.txt rename to docs/files/Query/Driver/Util/Abstract_Util.php.txt diff --git a/docs/files/core/query_builder.php.txt b/docs/files/Query/Query_Builder.php.txt similarity index 100% rename from docs/files/core/query_builder.php.txt rename to docs/files/Query/Query_Builder.php.txt diff --git a/docs/files/core/interfaces/query_builder_interface.php.txt b/docs/files/Query/Query_Builder_Interface.php.txt similarity index 100% rename from docs/files/core/interfaces/query_builder_interface.php.txt rename to docs/files/Query/Query_Builder_Interface.php.txt diff --git a/docs/files/core/query_parser.php.txt b/docs/files/Query/Query_Parser.php.txt similarity index 100% rename from docs/files/core/query_parser.php.txt rename to docs/files/Query/Query_Parser.php.txt diff --git a/docs/files/autoload.php.html b/docs/files/autoload.php.html index 69dae0c..5ec6298 100644 --- a/docs/files/autoload.php.html +++ b/docs/files/autoload.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -436,7 +436,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/autoload.php.txt b/docs/files/autoload.php.txt index 0a3065b..24dccab 100644 --- a/docs/files/autoload.php.txt +++ b/docs/files/autoload.php.txt @@ -35,45 +35,40 @@ define('QDRIVER_PATH', QBASE_PATH.'drivers/'); // Require some common functions require(QBASE_PATH.'common.php'); -require(QBASE_PATH.'core/BadDBDriverException.php'); // Load Query Classes spl_autoload_register(function ($class) { $class_segments = explode('\\', $class); - $class = strtolower(array_pop($class_segments)); + $driver_class = strtolower(array_pop($class_segments)); // Load DB Driver classes - $driver_path = QDRIVER_PATH . "{$class}"; + $driver_path = QDRIVER_PATH . "{$driver_class}"; if ($class_segments == array('Query', 'Driver') && is_dir($driver_path)) { // Firebird is a special case, since it's not a PDO driver // @codeCoverageIgnoreStart if ( - in_array($class, \PDO::getAvailableDrivers()) - || function_exists('\\fbird_connect') && $class === 'firebird' + in_array($driver_class, \PDO::getAvailableDrivers()) + || function_exists('\\fbird_connect') && $driver_class === 'firebird' ) { array_map('\\do_include', glob("{$driver_path}/*.php")); } // @codeCoverageIgnoreEnd } - + // Load other classes - foreach(array( - QBASE_PATH . "core/interfaces/{$class}.php", - QBASE_PATH . "core/abstract/{$class}.php", - QBASE_PATH . "core/{$class}.php" - ) as $path) + $path = str_replace('\\', DIRECTORY_SEPARATOR, $class); + $file = QBASE_PATH . "{$path}.php"; + + // @codeCoverageIgnoreStart + if (file_exists($file)) { - // @codeCoverageIgnoreStart - if (file_exists($path)) - { - require_once($path); - } - // @codeCoverageIgnoreEnd + require_once($file); } + // @codeCoverageIgnoreEnd }); // End of autoload.php diff --git a/docs/files/common.php.html b/docs/files/common.php.html index e2172a8..8746020 100644 --- a/docs/files/common.php.html +++ b/docs/files/common.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -672,7 +672,7 @@ connection created.


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/core.abstract.abstract_table.php.html b/docs/files/core.abstract.abstract_table.php.html deleted file mode 100644 index b4f3712..0000000 --- a/docs/files/core.abstract.abstract_table.php.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

core/abstractabstract_table.php

-

Query

-

Free Query Builder / Database Abstraction Layer

- - - -

Classes

- - - - - -
Abstract_TableBase class for table builder component classes`
-
- - -
- - - -
-
- - - - -
- - - diff --git a/docs/files/core.table_builder.php.html b/docs/files/core.table_builder.php.html deleted file mode 100644 index 3060f2b..0000000 --- a/docs/files/core.table_builder.php.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

coretable_builder.php

-

Query

-

Free Query Builder / Database Abstraction Layer

- - - -

Classes

- - - - - -
Table_BuilderAbstract class defining database / table creation methods
-
- - -
- - - -
-
- - - - -
- - - diff --git a/docs/files/core.table_column.php.html b/docs/files/core.table_column.php.html deleted file mode 100644 index 20545af..0000000 --- a/docs/files/core.table_column.php.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

coretable_column.php

-

Query

-

Free Query Builder / Database Abstraction Layer

- - - -

Classes

- - - - - -
Table_ColumnClass representing a column when creating a table
-
- - -
- - - -
-
- - - - -
- - - diff --git a/docs/files/core.table_foreign_key.php.html b/docs/files/core.table_foreign_key.php.html deleted file mode 100644 index 3a45f5b..0000000 --- a/docs/files/core.table_foreign_key.php.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

coretable_foreign_key.php

-

Query

-

Free Query Builder / Database Abstraction Layer

- - - -

Classes

- - - - - -
Table_Foreign_KeyClass representing a foreign key
-
- - -
- - - -
-
- - - - -
- - - diff --git a/docs/files/core.table_index.php.html b/docs/files/core.table_index.php.html deleted file mode 100644 index 72153b7..0000000 --- a/docs/files/core.table_index.php.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- - - -

coretable_index.php

-

Query

-

Free Query Builder / Database Abstraction Layer

- - - -

Classes

- - - - - -
Table_IndexClass representing indicies when creating a table
-
- - -
- - - -
-
- - - - -
- - - diff --git a/docs/files/core/abstract/abstract_table.php.txt b/docs/files/core/abstract/abstract_table.php.txt deleted file mode 100644 index de19eff..0000000 --- a/docs/files/core/abstract/abstract_table.php.txt +++ /dev/null @@ -1,99 +0,0 @@ - $value) - { - if ( ! in_array($option, $this->valid_options)) - { - throw new \InvalidArgumentException("{$option} is not a valid {$type}"); - } - - $func = "set_{$option}"; - - (method_exists($this, "set_{$option}")) - ? $this->$func($value) - : $this->__set($option, $value); - } - - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Getters - * @param mixed $name - * @return mixed - */ - public function __get($name) - { - if ( ! isset($this->$name)) return NULL; - - return $this->$name; - } - - // -------------------------------------------------------------------------- - - /** - * Setters - * @param mixed $name - * @param mixed $val - * @return Abstract_Table - */ - public function __set($name, $val) - { - $this->$name = $val; - return $this; - } - -} -// End of abstract_table.php diff --git a/docs/files/core/table_builder.php.txt b/docs/files/core/table_builder.php.txt deleted file mode 100644 index 09b4d76..0000000 --- a/docs/files/core/table_builder.php.txt +++ /dev/null @@ -1,442 +0,0 @@ -table_options = array_merge($this->table_options, $options); - - $this->set_driver($driver); - - if ($name !== '') - { - $this->name = (isset($this->driver)) ? $this->driver->prefix_table($name) : $name; - } - - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Alias to constructor - * - * @param string $name - * @param array $options - * @param Driver_Interface $driver - * @return Table_Builder - */ - public function __invoke($name = '', $options = array(), Driver_Interface $driver = NULL) - { - return $this->__construct($name, $options, $driver); - } - - // -------------------------------------------------------------------------- - - /** - * Set the reference to the current database driver - * - * @param Driver_Interface $driver - * @return Table_Builder - */ - public function set_driver(Driver_Interface $driver = NULL) - { - if ( ! is_null($driver)) - { - $this->driver = $driver; - } - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Get the current DB Driver - * - * @return Driver_Interface - */ - public function get_driver() - { - return $this->driver; - } - - // -------------------------------------------------------------------------- - // ! Column Methods - // -------------------------------------------------------------------------- - - /** - * Add a column to the current table - * - * @param string $column_name - * @param string $type - * @param array $options - * @return Table_Builder - */ - public function add_column($column_name, $type = NULL, $options = array()) - { - $col = new Table_Column($column_name, $type, $options); - $this->columns[] = $col; - - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Remove the specified column name from the current table - * - * @param string $column_name - * @return \Query\Table\Table_Builder - */ - public function remove_column($column_name) - { - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Rename the specified column on the current table - * - * @param string $old_name - * @param string $new_name - * @return \Query\Table\Table_Builder - */ - public function rename_column($old_name, $new_name) - { - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Change the specified column on the current table - * - * @param string $column_name - * @param string $new_column_type - * @param array $options - * @return \Query\Table\Table_Builder - */ - public function change_column($column_name, $new_column_type, $options = array()) - { - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Determine whether the column currently exists on the current table - * - * @param string $column_name - * @param array $options - * @return bool - */ - public function has_column($column_name, $options = array()) - { - - } - - // -------------------------------------------------------------------------- - // ! Index Methods - // -------------------------------------------------------------------------- - - /** - * Add an index to the current table - * - * @param array $columns - * @param array $options - * @return \Query\Table\Table_Builder - */ - public function add_index($columns, $options = array()) - { - $col = new Table_Index($columns, $options); - $this->indexes[] = $col; - - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Remove an index from the current table - * @param array $columns - * @param array $options - * @return \Query\Table\Table_Builder - */ - public function remove_index($columns, $options = array()) - { - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Remove an index by its name from the current table - * - * @param string $name - * @return \Query\Table\Table_Builder - */ - public function remove_index_by_name($name) - { - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Check if the current table has an index on the specified columns - * - * @param array $columns - * @param array $options - * @return bool - */ - public function has_index($columns, $options = array()) - { - - } - - // -------------------------------------------------------------------------- - // ! Foreign Key Methods - // -------------------------------------------------------------------------- - - /** - * Add a foreign key to the current table - * - * @param array $columns - * @param string $referenced_table - * @param array $referenced_columns - * @param array $options - * @return \Query\Table\Table_Builder - */ - public function add_foreign_key($columns, $referenced_table, $referenced_columns = array('id'), $options = array()) - { - $key = new Table_Foreign_Key($columns, $referenced_table, $referenced_columns, $options); - $this->foreign_keys[] = $key; - - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Drop the foreign key from the current table - * - * @param array $columns - * @param string $constraint - * @return \Query\Table\Table_Builder - */ - public function drop_foreign_key($columns, $constraint = NULL) - { - return $this; - } - - // -------------------------------------------------------------------------- - - /** - * Determine whether the current table has the specified foreign key - * - * @param array $columns - * @param string $constraint - * @return bool - */ - public function has_foreign_key($columns, $constraint = NULL) - { - $keys = $this->get_driver()->get_fks($this->name); - - - foreach($keys as $key) - { - - } - - return FALSE; - } - - // -------------------------------------------------------------------------- - // ! Table-wide methods - // -------------------------------------------------------------------------- - - /** - * Check whether the current table exists - * - * @return bool - */ - public function exists() - { - $tables = $this->driver->get_tables(); - return in_array($this->name, $tables); - } - - // -------------------------------------------------------------------------- - - /** - * Drop the current table - * - * @return void - */ - public function drop() - { - - } - - // -------------------------------------------------------------------------- - - /** - * Rename the current table - * - * @param string $new_table_name - * @return void - */ - public function rename($new_table_name) - { - - } - - // -------------------------------------------------------------------------- - - /** - * Get the list of columns for the current table - * - * @return array - */ - public function get_columns() - { - return $this->driver->get_columns($this->name); - } - - - // -------------------------------------------------------------------------- - // ! Action methods - // -------------------------------------------------------------------------- - - /** - * Create the table from the previously set options - * - * @return void - */ - public function create() - { - $this->reset(); - } - - // -------------------------------------------------------------------------- - - /** - * Update the current table with the changes made - * - * @return void - */ - public function update() - { - $this->reset(); - } - - // -------------------------------------------------------------------------- - - /** - * Save the changes made to the table - * - * @return void - */ - public function save() - { - ($this->exists()) - ? $this->update() - : $this->create(); - } - - // -------------------------------------------------------------------------- - - /** - * Reset the state of the table builder - * - * @return void - */ - public function reset() - { - $skip = array( - 'driver' => 'driver' - ); - - foreach($this as $key => $val) - { - if ( ! isset($skip[$key])) - { - $this->$key = NULL; - } - } - } - -} -// End of table_builder.php - diff --git a/docs/files/core/table_column.php.txt b/docs/files/core/table_column.php.txt deleted file mode 100644 index 259421d..0000000 --- a/docs/files/core/table_column.php.txt +++ /dev/null @@ -1,83 +0,0 @@ -name = $name; - $this->type = $type; - $this->options = ( ! empty($options)) - ? $this->validate_options($options) - : array(); - } - - // -------------------------------------------------------------------------- - - /** - * Return the string to create the column - * - * @return string - */ - public function __toString() - { - $num_args = func_num_args(); - } - -} -// End of table_column.php - diff --git a/docs/files/core/table_foreign_key.php.txt b/docs/files/core/table_foreign_key.php.txt deleted file mode 100644 index 910cf26..0000000 --- a/docs/files/core/table_foreign_key.php.txt +++ /dev/null @@ -1,42 +0,0 @@ -
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.firebird.firebird_result.php.html b/docs/files/drivers.firebird.firebird_result.php.html index 5b779ae..5c6f2ce 100644 --- a/docs/files/drivers.firebird.firebird_result.php.html +++ b/docs/files/drivers.firebird.firebird_result.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -363,7 +363,7 @@ data-fetching methods

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.firebird.firebird_sql.php.html b/docs/files/drivers.firebird.firebird_sql.php.html index 132af6a..9c9df02 100644 --- a/docs/files/drivers.firebird.firebird_sql.php.html +++ b/docs/files/drivers.firebird.firebird_sql.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.firebird.firebird_util.php.html b/docs/files/drivers.firebird.firebird_util.php.html index 2a52673..f0855bb 100644 --- a/docs/files/drivers.firebird.firebird_util.php.html +++ b/docs/files/drivers.firebird.firebird_util.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.mysql.mysql_driver.php.html b/docs/files/drivers.mysql.mysql_driver.php.html index 4596e44..fd5702a 100644 --- a/docs/files/drivers.mysql.mysql_driver.php.html +++ b/docs/files/drivers.mysql.mysql_driver.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.mysql.mysql_sql.php.html b/docs/files/drivers.mysql.mysql_sql.php.html index a3095ff..a4e144f 100644 --- a/docs/files/drivers.mysql.mysql_sql.php.html +++ b/docs/files/drivers.mysql.mysql_sql.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.mysql.mysql_util.php.html b/docs/files/drivers.mysql.mysql_util.php.html index 73fd9c8..2de177a 100644 --- a/docs/files/drivers.mysql.mysql_util.php.html +++ b/docs/files/drivers.mysql.mysql_util.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.pgsql.pgsql_driver.php.html b/docs/files/drivers.pgsql.pgsql_driver.php.html index 69cbb52..65721bd 100644 --- a/docs/files/drivers.pgsql.pgsql_driver.php.html +++ b/docs/files/drivers.pgsql.pgsql_driver.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.pgsql.pgsql_sql.php.html b/docs/files/drivers.pgsql.pgsql_sql.php.html index 5027aeb..615db33 100644 --- a/docs/files/drivers.pgsql.pgsql_sql.php.html +++ b/docs/files/drivers.pgsql.pgsql_sql.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.pgsql.pgsql_util.php.html b/docs/files/drivers.pgsql.pgsql_util.php.html index cbf628a..c16fbf9 100644 --- a/docs/files/drivers.pgsql.pgsql_util.php.html +++ b/docs/files/drivers.pgsql.pgsql_util.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.sqlite.sqlite_driver.php.html b/docs/files/drivers.sqlite.sqlite_driver.php.html index 9a8efb9..73fba4f 100644 --- a/docs/files/drivers.sqlite.sqlite_driver.php.html +++ b/docs/files/drivers.sqlite.sqlite_driver.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.sqlite.sqlite_sql.php.html b/docs/files/drivers.sqlite.sqlite_sql.php.html index 9c6b118..54574b3 100644 --- a/docs/files/drivers.sqlite.sqlite_sql.php.html +++ b/docs/files/drivers.sqlite.sqlite_sql.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/files/drivers.sqlite.sqlite_util.php.html b/docs/files/drivers.sqlite.sqlite_util.php.html index 3110754..ffdedcc 100644 --- a/docs/files/drivers.sqlite.sqlite_util.php.html +++ b/docs/files/drivers.sqlite.sqlite_util.php.html @@ -139,37 +139,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -362,7 +362,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/graphs/class.html b/docs/graphs/class.html index 346e413..730f084 100644 --- a/docs/graphs/class.html +++ b/docs/graphs/class.html @@ -156,7 +156,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/graphs/classes.svg b/docs/graphs/classes.svg index 0ef1598..f52d41e 100644 --- a/docs/graphs/classes.svg +++ b/docs/graphs/classes.svg @@ -4,218 +4,218 @@ - - + + G - + cluster_Global - - - - - + + + + + -\ +\ cluster_\Query - - - - - + + + + + -Query +Query cluster_\Query\Driver - - - - - - - - -Driver + + + + + + + + +Driver -cluster_\Query\Driver\SQL - - - - - - - - -SQL +cluster_\Query\Driver\Util + + + + + + + + +Util -cluster_\Query\Driver\Util - - - - - - - - -Util - - -\\Query\\Driver\\SQL\\Abstract_SQL - -«abstract» -Abstract_SQL - - -\\Query\\Driver\\SQL\\SQL_Interface - -SQL_Interface - - -\\Query\\Driver\\SQL\\Abstract_SQL->\\Query\\Driver\\SQL\\SQL_Interface - - - - -\\Query\\Driver\\SQL\\PgSQL_SQL - -PgSQL_SQL - - -\\Query\\Driver\\SQL\\PgSQL_SQL->\\Query\\Driver\\SQL\\Abstract_SQL - - - - -\\Query\\Driver\\SQL\\MySQL_SQL - -MySQL_SQL - - -\\Query\\Driver\\SQL\\MySQL_SQL->\\Query\\Driver\\SQL\\Abstract_SQL - - - - -\\Query\\Driver\\SQL\\Firebird_SQL - -Firebird_SQL - - -\\Query\\Driver\\SQL\\Firebird_SQL->\\Query\\Driver\\SQL\\Abstract_SQL - - - - -\\Query\\Driver\\SQL\\SQLite_SQL - -SQLite_SQL - - -\\Query\\Driver\\SQL\\SQLite_SQL->\\Query\\Driver\\SQL\\Abstract_SQL - - +cluster_\Query\Driver\SQL + + + + + + + + +SQL -\\Query\\Driver\\Util\\Firebird_Util - -Firebird_Util +\\Query\\Driver\\Util\\Firebird_Util + +Firebird_Util -\\Query\\Driver\\Util\\Abstract_Util - -«abstract» -Abstract_Util +\\Query\\Driver\\Util\\Abstract_Util + +«abstract» +Abstract_Util -\\Query\\Driver\\Util\\Firebird_Util->\\Query\\Driver\\Util\\Abstract_Util - - +\\Query\\Driver\\Util\\Firebird_Util->\\Query\\Driver\\Util\\Abstract_Util + + -\\Query\\Driver\\Util\\MySQL_Util - -MySQL_Util +\\Query\\Driver\\Util\\MySQL_Util + +MySQL_Util -\\Query\\Driver\\Util\\MySQL_Util->\\Query\\Driver\\Util\\Abstract_Util - - +\\Query\\Driver\\Util\\MySQL_Util->\\Query\\Driver\\Util\\Abstract_Util + + -\\Query\\Driver\\Util\\SQLite_Util - -SQLite_Util +\\Query\\Driver\\Util\\SQLite_Util + +SQLite_Util \\Query\\Driver\\Util\\SQLite_Util->\\Query\\Driver\\Util\\Abstract_Util - - + + -\\Query\\Driver\\Util\\PgSQL_Util - -PgSQL_Util +\\Query\\Driver\\Util\\PgSQL_Util + +PgSQL_Util \\Query\\Driver\\Util\\PgSQL_Util->\\Query\\Driver\\Util\\Abstract_Util - - + + - -\\Query\\Driver\\Firebird_Result - -Firebird_Result + +\\Query\\Driver\\SQL\\Abstract_SQL + +«abstract» +Abstract_SQL - -\\PDOStatement - -\PDOStatement + +\\Query\\Driver\\SQL\\SQL_Interface + +SQL_Interface - -\\Query\\Driver\\Firebird_Result->\\PDOStatement - - + +\\Query\\Driver\\SQL\\Abstract_SQL->\\Query\\Driver\\SQL\\SQL_Interface + + - -\\Query\\Driver\\Firebird - -Firebird + +\\Query\\Driver\\SQL\\PgSQL_SQL + +PgSQL_SQL + + +\\Query\\Driver\\SQL\\PgSQL_SQL->\\Query\\Driver\\SQL\\Abstract_SQL + + + + +\\Query\\Driver\\SQL\\MySQL_SQL + +MySQL_SQL + + +\\Query\\Driver\\SQL\\MySQL_SQL->\\Query\\Driver\\SQL\\Abstract_SQL + + + + +\\Query\\Driver\\SQL\\Firebird_SQL + +Firebird_SQL + + +\\Query\\Driver\\SQL\\Firebird_SQL->\\Query\\Driver\\SQL\\Abstract_SQL + + + + +\\Query\\Driver\\SQL\\SQLite_SQL + +SQLite_SQL + + +\\Query\\Driver\\SQL\\SQLite_SQL->\\Query\\Driver\\SQL\\Abstract_SQL + + -\\Query\\Driver\\Abstract_Driver - -«abstract» -Abstract_Driver - - -\\Query\\Driver\\Firebird->\\Query\\Driver\\Abstract_Driver - - +\\Query\\Driver\\Abstract_Driver + +«abstract» +Abstract_Driver \\Query\\Driver\\Driver_Interface - -Driver_Interface + +Driver_Interface -\\Query\\Driver\\Abstract_Driver->\\Query\\Driver\\Driver_Interface - - +\\Query\\Driver\\Abstract_Driver->\\Query\\Driver\\Driver_Interface + + -\\PDO +\\PDO \PDO -\\Query\\Driver\\Abstract_Driver->\\PDO - - +\\Query\\Driver\\Abstract_Driver->\\PDO + + + + +\\Query\\Driver\\Firebird_Result + +Firebird_Result + + +\\PDOStatement + +\PDOStatement + + +\\Query\\Driver\\Firebird_Result->\\PDOStatement + + + + +\\Query\\Driver\\Firebird + +Firebird + + +\\Query\\Driver\\Firebird->\\Query\\Driver\\Abstract_Driver + + \\Query\\Driver\\SQLite @@ -223,80 +223,80 @@ SQLite -\\Query\\Driver\\SQLite->\\Query\\Driver\\Abstract_Driver - - +\\Query\\Driver\\SQLite->\\Query\\Driver\\Abstract_Driver + + \\Query\\Driver\\PgSQL - -PgSQL + +PgSQL -\\Query\\Driver\\PgSQL->\\Query\\Driver\\Abstract_Driver - - +\\Query\\Driver\\PgSQL->\\Query\\Driver\\Abstract_Driver + + \\Query\\Driver\\MySQL - -MySQL + +MySQL \\Query\\Driver\\MySQL->\\Query\\Driver\\Abstract_Driver - - - - -\\Query\\Query_Parser - -Query_Parser + + -\\Query\\BadDBDriverException - -BadDBDriverException +\\Query\\BadDBDriverException + +BadDBDriverException -\\InvalidArgumentException +\\InvalidArgumentException \InvalidArgumentException -\\Query\\BadDBDriverException->\\InvalidArgumentException - - - - -\\Query\\Query_Builder - -Query_Builder +\\Query\\BadDBDriverException->\\InvalidArgumentException + + -\\Query\\Abstract_Query_Builder - -«abstract» -Abstract_Query_Builder +\\Query\\Abstract_Query_Builder + +«abstract» +Abstract_Query_Builder + + +\\Query\\Connection_Manager + +Connection_Manager + + +\\Query\\Query_Parser + +Query_Parser + + +\\Query\\Query_Builder + +Query_Builder -\\Query\\Query_Builder->\\Query\\Abstract_Query_Builder - - +\\Query\\Query_Builder->\\Query\\Abstract_Query_Builder + + \\Query\\Query_Builder_Interface - -Query_Builder_Interface + +Query_Builder_Interface -\\Query\\Query_Builder->\\Query\\Query_Builder_Interface - - - - -\\Query\\Connection_Manager - -Connection_Manager +\\Query\\Query_Builder->\\Query\\Query_Builder_Interface + + diff --git a/docs/namespaces/Query.Driver.SQL.html b/docs/namespaces/Query.Driver.SQL.html index f7b29a7..7b2127c 100644 --- a/docs/namespaces/Query.Driver.SQL.html +++ b/docs/namespaces/Query.Driver.SQL.html @@ -91,37 +91,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -301,7 +301,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/namespaces/Query.Driver.Util.html b/docs/namespaces/Query.Driver.Util.html index 917d2a4..0c56826 100644 --- a/docs/namespaces/Query.Driver.Util.html +++ b/docs/namespaces/Query.Driver.Util.html @@ -91,37 +91,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -220,10 +220,6 @@ MySQL_Util MySQL-specific backup, import and creation methods - - - Abstract_Util - Abstract class defining database / table creation methods SQLite_Util @@ -232,6 +228,10 @@ PgSQL_Util Posgres-specific backup, import and creation methods + + + Abstract_Util + Abstract class defining database / table creation methods
@@ -294,7 +294,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/namespaces/Query.Driver.html b/docs/namespaces/Query.Driver.html index ff81e1d..ddf0c06 100644 --- a/docs/namespaces/Query.Driver.html +++ b/docs/namespaces/Query.Driver.html @@ -91,37 +91,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -211,10 +211,10 @@

Namespaces

- + - +
SQLUtil
UtilSQL
@@ -230,6 +230,10 @@

Classes

+ + + + @@ -237,10 +241,6 @@ data-fetching methods - - - - @@ -313,7 +313,7 @@ data-fetching methods

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/namespaces/Query.Table.html b/docs/namespaces/Query.Table.html deleted file mode 100644 index 4615ccc..0000000 --- a/docs/namespaces/Query.Table.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - Query - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
- -

\QueryTable

- - - - -

Classes

-
Abstract_DriverBase Database class
Firebird_Result Firebird result class to emulate PDOStatement Class - only implements data-fetching methods
Firebird Firebird Database class
Abstract_DriverBase Database class
SQLite
- - - - - - - - - - - - - - - - - - - - -
Abstract_TableBase class for table builder component classes`
Table_BuilderAbstract class defining database / table creation methods
Table_Foreign_KeyClass representing a foreign key
Table_ColumnClass representing a column when creating a table
Table_IndexClass representing indicies when creating a table
-
- - -
- - - -
- - - -
- - - diff --git a/docs/namespaces/Query.html b/docs/namespaces/Query.html index c76f412..41fbce9 100644 --- a/docs/namespaces/Query.html +++ b/docs/namespaces/Query.html @@ -91,37 +91,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -227,17 +227,12 @@

Classes

- - - - - - + + @@ -245,8 +240,13 @@ instantiates the specific db driver Query method - - + + + + + +
Query_ParserUtility Class to parse sql clauses for properly escaping identifiers
BadDBDriverException Generic exception for bad drivers
Query_BuilderConvenience class for creating sql queries - also the class that -instantiates the specific db driverAbstract_Query_BuilderAbstract Class for internal implementation methods of the Query Builder
Connection_Manager
Abstract_Query_BuilderAbstract Class for internal implementation methods of the Query BuilderQuery_ParserUtility Class to parse sql clauses for properly escaping identifiers
Query_BuilderConvenience class for creating sql queries - also the class that +instantiates the specific db driver
@@ -305,7 +305,7 @@ Query method

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 7239e1a..c006fb1 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -91,37 +91,59 @@
- + \
-
+
- + Query
-
+
- + Driver
-
+
- + + Util +
+ +
+
+ +
+ @@ -669,7 +669,7 @@ connection created.


Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/reports/deprecated.html b/docs/reports/deprecated.html index 9cbf825..04207cd 100644 --- a/docs/reports/deprecated.html +++ b/docs/reports/deprecated.html @@ -162,7 +162,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/reports/errors.html b/docs/reports/errors.html index a219d6c..4d0f24c 100644 --- a/docs/reports/errors.html +++ b/docs/reports/errors.html @@ -195,7 +195,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.
diff --git a/docs/reports/markers.html b/docs/reports/markers.html index 2ce71ca..4048879 100644 --- a/docs/reports/markers.html +++ b/docs/reports/markers.html @@ -91,8 +91,8 @@
@@ -104,7 +104,7 @@
-
+

@@ -126,7 +126,7 @@

-
+
@@ -167,7 +167,7 @@

Documentation is powered by phpDocumentor and authored - on August 8th, 2014 at 12:45. + on August 8th, 2014 at 13:50.