From f2538ba8831137c140bc1528d0c66e1aaf821da2 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 30 Apr 2012 16:22:03 -0400 Subject: [PATCH] Update reference to Query --- docs/classes.svg | 333 +++--- docs/classes/Add_DB.html | 2 +- docs/classes/Connection_Sidebar.html | 2 +- docs/classes/DB_Info_Widget.html | 2 +- docs/classes/DB_PDO.html | 10 +- docs/classes/DB_Reg.html | 2 +- docs/classes/DB_SQL.html | 2 +- docs/classes/DB_Structure_Widget.html | 96 ++ docs/classes/DB_Table_Data.html | 2 +- docs/classes/DB_Util.html | 2 +- docs/classes/DB_tabs.html | 2 +- docs/classes/Data_Grid.html | 2 +- docs/classes/Edit_DB.html | 2 +- docs/classes/Edit_Table.html | 119 ++ docs/classes/Firebird.html | 8 +- docs/classes/Firebird_Result.html | 2 +- docs/classes/Firebird_SQL.html | 2 +- docs/classes/Firebird_Util.html | 2 +- docs/classes/Main.html | 2 +- docs/classes/MySQL.html | 8 +- docs/classes/MySQL_SQL.html | 2 +- docs/classes/MySQL_Util.html | 2 +- docs/classes/ODBC.html | 10 +- docs/classes/ODBC_SQL.html | 2 +- docs/classes/ODBC_Util.html | 2 +- docs/classes/PgSQL.html | 10 +- docs/classes/PgSQL_SQL.html | 2 +- docs/classes/PgSQL_Util.html | 2 +- docs/classes/Query_Builder.html | 113 +- docs/classes/SQLite.html | 10 +- docs/classes/SQLite_SQL.html | 2 +- docs/classes/SQLite_Util.html | 2 +- docs/classes/Settings.html | 2 +- docs/deprecated.html | 2 +- docs/errors.html | 4 +- docs/graph_class.html | 2 +- docs/index.html | 2 +- docs/markers.html | 2 +- docs/namespaces/default.html | 40 +- docs/packages/.html | 2 +- docs/packages/Default.html | 30 +- docs/packages/OpenSQLManager.Widgets.html | 10 +- docs/packages/OpenSQLManager.Windows.html | 10 +- docs/packages/OpenSQLManager.html | 16 +- docs/packages/Query.Drivers.html | 2 +- docs/packages/Query.Helper Classes.html | 2 +- docs/packages/Query.Query.html | 2 +- docs/packages/Query.html | 2 +- docs/structure.xml | 1246 +++++++++++++-------- sys/db | 2 +- 50 files changed, 1375 insertions(+), 764 deletions(-) create mode 100644 docs/classes/DB_Structure_Widget.html create mode 100644 docs/classes/Edit_Table.html diff --git a/docs/classes.svg b/docs/classes.svg index f1893d3..690fb5b 100644 --- a/docs/classes.svg +++ b/docs/classes.svg @@ -4,393 +4,422 @@ - - + + G - + cluster_default - - - - - - - - + + + + + + + + \\DB_Reg - -DB_Reg + +DB_Reg \\Settings - -Settings + +Settings \\DB_SQL - -«abstract» -DB_SQL + +«abstract» +DB_SQL \\DB_PDO - -«abstract» -DB_PDO + +«abstract» +DB_PDO -\\PDO - -\PDO +\\PDO + +\PDO \\DB_PDO->\\PDO - - + + \\Query_Builder - -Query_Builder + +Query_Builder \\DB_Util - -«abstract» -DB_Util + +«abstract» +DB_Util \\PgSQL_SQL - -PgSQL_SQL + +PgSQL_SQL \\PgSQL_SQL->\\DB_SQL - - + + \\PgSQL_Util - -PgSQL_Util + +PgSQL_Util \\PgSQL_Util->\\DB_Util - - + + \\PgSQL - -PgSQL + +PgSQL \\PgSQL->\\DB_PDO - - + + \\ODBC_Util - -ODBC_Util + +ODBC_Util \\ODBC_Util->\\DB_Util - - + + \\ODBC_SQL - -ODBC_SQL + +ODBC_SQL \\ODBC_SQL->\\DB_SQL - - + + \\ODBC - -ODBC + +ODBC \\ODBC->\\DB_PDO - - + + \\MySQL_Util - -MySQL_Util + +MySQL_Util \\MySQL_Util->\\DB_Util - - + + \\MySQL - -MySQL + +MySQL \\MySQL->\\DB_PDO - - + + \\MySQL_SQL - -MySQL_SQL + +MySQL_SQL \\MySQL_SQL->\\DB_SQL - - + + \\SQLite_Util - -SQLite_Util + +SQLite_Util \\SQLite_Util->\\DB_Util - - + + \\SQLite - -SQLite + +SQLite \\SQLite->\\DB_PDO - - + + \\SQLite_SQL - -SQLite_SQL + +SQLite_SQL \\SQLite_SQL->\\DB_SQL - - + + \\Firebird_SQL - -Firebird_SQL + +Firebird_SQL \\Firebird_SQL->\\DB_SQL - - + + \\Firebird_Result - -Firebird_Result + +Firebird_Result -\\PDOStatement - -\PDOStatement +\\PDOStatement + +\PDOStatement \\Firebird_Result->\\PDOStatement - - + + \\Firebird - -Firebird + +Firebird \\Firebird->\\DB_PDO - - + + \\Firebird_Util - -Firebird_Util + +Firebird_Util \\Firebird_Util->\\DB_Util - - + + \\Connection_Sidebar - -Connection_Sidebar + +Connection_Sidebar -\\GtkVBox - -\GtkVBox +\\GtkVBox + +\GtkVBox \\Connection_Sidebar->\\GtkVBox - - + + \\Data_Grid - -Data_Grid + +Data_Grid -\\GtkTreeView - -\GtkTreeView +\\GtkTreeView + +\GtkTreeView \\Data_Grid->\\GtkTreeView - - + + + + +\\DB_Structure_Widget + + +DB_Structure_Widget + + + +\\GTKTable + +\GTKTable + + +\\DB_Structure_Widget->\\GTKTable + + -\\DB_tabs +\\DB_tabs - -DB_tabs + +DB_tabs -\\GtkNotebook +\\GtkNotebook \GtkNotebook -\\DB_tabs->\\GtkNotebook - - +\\DB_tabs->\\GtkNotebook + + -\\DB_Info_Widget +\\DB_Info_Widget - -DB_Info_Widget + +DB_Info_Widget -\\GtkTable +\\GtkTable \GtkTable -\\DB_Info_Widget->\\GtkTable - - +\\DB_Info_Widget->\\GtkTable + + -\\Add_DB +\\Add_DB - -Add_DB + +Add_DB -\\GtkWindow +\\GtkWindow \GtkWindow -\\Add_DB->\\GtkWindow - - +\\Add_DB->\\GtkWindow + + -\\Edit_DB +\\Edit_DB - -Edit_DB + +Edit_DB -\\Edit_DB->\\GtkWindow - - +\\Edit_DB->\\GtkWindow + + + + +\\Edit_Table + + +Edit_Table + + + +\\Edit_Table->\\GtkWindow + + -\\DB_Table_Data +\\DB_Table_Data - -DB_Table_Data + +DB_Table_Data -\\DB_Table_Data->\\GtkWindow - - +\\DB_Table_Data->\\GtkWindow + + -\\Main +\\Main - -Main + +Main -\\Main->\\GtkWindow - - +\\Main->\\GtkWindow + + diff --git a/docs/classes/Add_DB.html b/docs/classes/Add_DB.html index 6a8b61f..46f0b36 100644 --- a/docs/classes/Add_DB.html +++ b/docs/classes/Add_DB.html @@ -90,7 +90,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Connection_Sidebar.html b/docs/classes/Connection_Sidebar.html index 5bb93f8..fcb1678 100644 --- a/docs/classes/Connection_Sidebar.html +++ b/docs/classes/Connection_Sidebar.html @@ -321,7 +321,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/DB_Info_Widget.html b/docs/classes/DB_Info_Widget.html index cd99f6a..74febc6 100644 --- a/docs/classes/DB_Info_Widget.html +++ b/docs/classes/DB_Info_Widget.html @@ -309,7 +309,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/DB_PDO.html b/docs/classes/DB_PDO.html index 8d30691..29ec71b 100644 --- a/docs/classes/DB_PDO.html +++ b/docs/classes/DB_PDO.html @@ -634,25 +634,25 @@ the connection/database  Properties  

Reference to sql sub class

-
$sql 
+
$sql : Object

 

Reference to util sub class

-
$util 
+
$util : Object

 

Character to escape identifiers

-
$escape_char 
+
$escape_char : string

 

Reference to the last executed query

-
$statement 
+
$statement : mixed

@@ -663,7 +663,7 @@ the connection/database
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/DB_Reg.html b/docs/classes/DB_Reg.html index 1565532..b1d3118 100644 --- a/docs/classes/DB_Reg.html +++ b/docs/classes/DB_Reg.html @@ -152,7 +152,7 @@ and organizes database connections

+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/DB_SQL.html b/docs/classes/DB_SQL.html index d6a037c..6e054dd 100644 --- a/docs/classes/DB_SQL.html +++ b/docs/classes/DB_SQL.html @@ -269,7 +269,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/DB_Structure_Widget.html b/docs/classes/DB_Structure_Widget.html new file mode 100644 index 0000000..4b91dcb --- /dev/null +++ b/docs/classes/DB_Structure_Widget.html @@ -0,0 +1,96 @@ + + + + + +OpenSQLManager » \DB_Structure_Widget + + + + + + + + + + +
+ +
+
+
+ +
+ +
+
+
+

Class for generating db-structure editing views

+
+

+ + + + + + + + + +
packageOpenSQLManager
subpackageWidgets
+

+ Methods

+
+

Initialize the class

+
__construct() 
+
+

+
+
+
+
+
+
+
+ + diff --git a/docs/classes/DB_Table_Data.html b/docs/classes/DB_Table_Data.html index 3f4855e..fb79ece 100644 --- a/docs/classes/DB_Table_Data.html +++ b/docs/classes/DB_Table_Data.html @@ -109,7 +109,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/DB_Util.html b/docs/classes/DB_Util.html index dd926de..4a5d096 100644 --- a/docs/classes/DB_Util.html +++ b/docs/classes/DB_Util.html @@ -209,7 +209,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/DB_tabs.html b/docs/classes/DB_tabs.html index 1b76938..aace255 100644 --- a/docs/classes/DB_tabs.html +++ b/docs/classes/DB_tabs.html @@ -287,7 +287,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Data_Grid.html b/docs/classes/Data_Grid.html index faaf0ef..2dbe5e7 100644 --- a/docs/classes/Data_Grid.html +++ b/docs/classes/Data_Grid.html @@ -179,7 +179,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Edit_DB.html b/docs/classes/Edit_DB.html index 4b1c362..feae71c 100644 --- a/docs/classes/Edit_DB.html +++ b/docs/classes/Edit_DB.html @@ -97,7 +97,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Edit_Table.html b/docs/classes/Edit_Table.html new file mode 100644 index 0000000..f669dcf --- /dev/null +++ b/docs/classes/Edit_Table.html @@ -0,0 +1,119 @@ + + + + + +OpenSQLManager » \Edit_Table + + + + + + + + + + +
+ +
+
+
+ +
+ +
+
+
+

Window for editing db table structure

+
+

+ + + + + + + + + +
packageOpenSQLManager
subpackageWindows
+

+ Methods

+
+

Create the window, and set basic properties

+
__construct(string $name, array $fields) 
+
+
+

+

Parameters

+
+

$name

+string +
+
+

$fields

+array +
+
+
+

+ Properties

+ 
+

Database fields for the current database table

+
$fields : array
+
+

+
+
+
+
+
+
+
+ + diff --git a/docs/classes/Firebird.html b/docs/classes/Firebird.html index 53543c5..13e2e85 100644 --- a/docs/classes/Firebird.html +++ b/docs/classes/Firebird.html @@ -747,7 +747,7 @@ the connection/database  Properties  

Reference to sql sub class

-
$sql 
+
$sql : Object
Inherited

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

Reference to util sub class

-
$util 
+
$util : Object
Inherited

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

Character to escape identifiers

-
$escape_char 
+
$escape_char : string
Inherited

@@ -813,7 +813,7 @@ the last query executed
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Firebird_Result.html b/docs/classes/Firebird_Result.html index 54b5843..7899a91 100644 --- a/docs/classes/Firebird_Result.html +++ b/docs/classes/Firebird_Result.html @@ -504,7 +504,7 @@ the query
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Firebird_SQL.html b/docs/classes/Firebird_SQL.html index 47dd1cb..ab7120b 100644 --- a/docs/classes/Firebird_SQL.html +++ b/docs/classes/Firebird_SQL.html @@ -297,7 +297,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Firebird_Util.html b/docs/classes/Firebird_Util.html index 3465397..09b9f49 100644 --- a/docs/classes/Firebird_Util.html +++ b/docs/classes/Firebird_Util.html @@ -212,7 +212,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Main.html b/docs/classes/Main.html index fc9e814..2e06647 100644 --- a/docs/classes/Main.html +++ b/docs/classes/Main.html @@ -145,7 +145,7 @@ Create menus, hboxes, vboxs and other widgets
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/MySQL.html b/docs/classes/MySQL.html index eb2af3f..dc124c7 100644 --- a/docs/classes/MySQL.html +++ b/docs/classes/MySQL.html @@ -802,7 +802,7 @@ the connection/database  Properties  

Reference to sql sub class

-
$sql 
+
$sql : Object
Inherited

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

Reference to util sub class

-
$util 
+
$util : Object
Inherited

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

Reference to the last executed query

-
$statement 
+
$statement : mixed
Inherited

@@ -849,7 +849,7 @@ the connection/database
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/MySQL_SQL.html b/docs/classes/MySQL_SQL.html index 429e1ca..62b9bf0 100644 --- a/docs/classes/MySQL_SQL.html +++ b/docs/classes/MySQL_SQL.html @@ -281,7 +281,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/MySQL_Util.html b/docs/classes/MySQL_Util.html index 164246a..c6a3c04 100644 --- a/docs/classes/MySQL_Util.html +++ b/docs/classes/MySQL_Util.html @@ -208,7 +208,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/ODBC.html b/docs/classes/ODBC.html index d10c124..90a70d8 100644 --- a/docs/classes/ODBC.html +++ b/docs/classes/ODBC.html @@ -804,7 +804,7 @@ the connection/database  Properties  

Reference to sql sub class

-
$sql 
+
$sql : Object
Inherited

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

Reference to util sub class

-
$util 
+
$util : Object
Inherited

@@ -828,13 +828,13 @@ the connection/database
 

Don't define the escape char - or define it in sub-drivers in a refactor

-
$escape_char 
+
$escape_char : string

 

Reference to the last executed query

-
$statement 
+
$statement : mixed
Inherited

@@ -851,7 +851,7 @@ the connection/database
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/ODBC_SQL.html b/docs/classes/ODBC_SQL.html index d76293a..6bbe0e9 100644 --- a/docs/classes/ODBC_SQL.html +++ b/docs/classes/ODBC_SQL.html @@ -281,7 +281,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/ODBC_Util.html b/docs/classes/ODBC_Util.html index 07525e8..841780b 100644 --- a/docs/classes/ODBC_Util.html +++ b/docs/classes/ODBC_Util.html @@ -203,7 +203,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/PgSQL.html b/docs/classes/PgSQL.html index 06e966b..66635c6 100644 --- a/docs/classes/PgSQL.html +++ b/docs/classes/PgSQL.html @@ -798,7 +798,7 @@ the connection/database  Properties  

Reference to sql sub class

-
$sql 
+
$sql : Object
Inherited

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

Reference to util sub class

-
$util 
+
$util : Object
Inherited

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

Character to escape identifiers

-
$escape_char 
+
$escape_char : string
Inherited

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

Reference to the last executed query

-
$statement 
+
$statement : mixed
Inherited

@@ -851,7 +851,7 @@ the connection/database
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/PgSQL_SQL.html b/docs/classes/PgSQL_SQL.html index 7de033e..f0c83d8 100644 --- a/docs/classes/PgSQL_SQL.html +++ b/docs/classes/PgSQL_SQL.html @@ -297,7 +297,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/PgSQL_Util.html b/docs/classes/PgSQL_Util.html index a11b7ec..bea01e5 100644 --- a/docs/classes/PgSQL_Util.html +++ b/docs/classes/PgSQL_Util.html @@ -208,7 +208,7 @@
+ generated on 2012-04-30T16:21:26-04:00.
diff --git a/docs/classes/Query_Builder.html b/docs/classes/Query_Builder.html index e84c189..36c82e0 100644 --- a/docs/classes/Query_Builder.html +++ b/docs/classes/Query_Builder.html @@ -108,8 +108,11 @@ passed array with key / value pairs
where()
  • WHERE NOT IN (FOO) clause
    where_not_in()
  • String together the sql statements for sending to the db
    _compile()
  • +
  • Simplify 'like' methods
    _like()
  • Clear out the class variables, so the next query can be run
    _reset()
  • +
  • Method to simplify select_ methods
    _select()
  • Do all the repeditive stuff for where/having type methods
    _where()
  • +
  • Simplify where_in methods
    _where_in()
  • Convenience property for connection management
    $conn_name
  • @@ -126,7 +129,6 @@ passed array with key / value pairs
    where()
    for complex select queries">Query component order mapping for complex select queries
    $query_map
  • Compiled 'select' clause
    $select_string
  • -
  • key/val pairs for insert/update statement
    $set_array
  • Keys for insert/update statement
    $set_array_keys
  • Compiled arguments for insert / update
    $set_string
  • Alias to $this->db->sql
    $sql
  • @@ -950,12 +952,60 @@ passed array with key / value pairs
    \$string
    +
    +

    Simplify 'like' methods

    +
    _like(string $field, mixed $val, string $pos, string $like, string $conj) 
    +
    +
    +

    +

    Parameters

    +
    +

    $field

    +string +
    +
    +

    $val

    +mixed +
    +
    +

    $pos

    +string +
    +
    +

    $like

    +string +
    +
    +

    $conj

    +string +
    +
    +

    Clear out the class variables, so the next query can be run

    _reset() 

    +
    +

    Method to simplify select_ methods

    +
    _select(string $field, string $as) : string
    +
    +
    +

    +

    Parameters

    +
    +

    $field

    +string +
    +
    +

    $as

    +string +
    +

    Returns

    +
    string
    +
    +

    Do all the repeditive stuff for where/having type methods

    _where(mixed $key, mixed $val) : array
    @@ -975,66 +1025,89 @@ passed array with key / value pairs
    array
    +
    +

    Simplify where_in methods

    +
    _where_in(mixed $key, mixed $val, $in, $conj) : void
    +
    +
    +

    +

    Parameters

    +
    +

    $key

    +mixed +
    +
    +

    $val

    +mixed +
    +
    +

    $in

    +

    string

    +
    +

    $conj

    +

    string

    +
    +

     Properties

     

    Convenience property for connection management

    -
    $conn_name 
    +
    $conn_name : string

     

    Compiled 'from' clause

    -
    $from_string 
    +
    $from_string : string

     

    Key/val pairs for group by clause

    -
    $group_array 
    +
    $group_array : array

     

    Group by clause

    -
    $group_string 
    +
    $group_string : string

     

    Map for having clause

    -
    $having_map 
    +
    $having_map : array

     

    Value for limit string

    -
    $limit 
    +
    $limit : int

     

    Value for offset in limit string

    -
    $offset 
    +
    $offset : int

     

    Key/val pairs for order by clause

    -
    $order_array 
    +
    $order_array : array

     

    Order by clause

    -
    $order_string 
    +
    $order_string : string

     

    Query component order mapping for complex select queries

    -
    $query_map 
    +
    $query_map : array

    Format:

    @@ -1046,37 +1119,31 @@ for complex select queries
     

    Compiled 'select' clause

    -
    $select_string 
    -
    -

    -
    - 
    -

    key/val pairs for insert/update statement

    -
    $set_array 
    +
    $select_string : string

     

    Keys for insert/update statement

    -
    $set_array_keys 
    +
    $set_array_keys : array

     

    Compiled arguments for insert / update

    -
    $set_string 
    +
    $set_string : string

     

    Alias to $this->db->sql

    -
    $sql 
    +
    $sql : \DB_PDO

     

    Values to apply to prepared statements

    -
    $values 
    +
    $values : array

    @@ -1087,7 +1154,7 @@ for complex select queries
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/classes/SQLite.html b/docs/classes/SQLite.html index 2f4b567..9286902 100644 --- a/docs/classes/SQLite.html +++ b/docs/classes/SQLite.html @@ -819,7 +819,7 @@ method if the database does not support 'TRUNCATE';  Properties  

    Reference to sql sub class

    -
    $sql 
    +
    $sql : Object
    Inherited

    @@ -831,7 +831,7 @@ method if the database does not support 'TRUNCATE';
     

    Reference to util sub class

    -
    $util 
    +
    $util : Object
    Inherited

    @@ -843,7 +843,7 @@ method if the database does not support 'TRUNCATE';
     

    Character to escape identifiers

    -
    $escape_char 
    +
    $escape_char : string
    Inherited

    @@ -855,7 +855,7 @@ method if the database does not support 'TRUNCATE';
     

    Reference to the last executed sql query

    -
    $statement 
    +
    $statement : \PDOStatement

    @@ -866,7 +866,7 @@ method if the database does not support 'TRUNCATE';
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/classes/SQLite_SQL.html b/docs/classes/SQLite_SQL.html index dd23435..1d9fa4b 100644 --- a/docs/classes/SQLite_SQL.html +++ b/docs/classes/SQLite_SQL.html @@ -281,7 +281,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/classes/SQLite_Util.html b/docs/classes/SQLite_Util.html index d712112..b90fc06 100644 --- a/docs/classes/SQLite_Util.html +++ b/docs/classes/SQLite_Util.html @@ -208,7 +208,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/classes/Settings.html b/docs/classes/Settings.html index 3eff4ac..3123b12 100644 --- a/docs/classes/Settings.html +++ b/docs/classes/Settings.html @@ -244,7 +244,7 @@ directly - the settings should be safe!
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/deprecated.html b/docs/deprecated.html index 6234af1..f6c641a 100644 --- a/docs/deprecated.html +++ b/docs/deprecated.html @@ -67,7 +67,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/errors.html b/docs/errors.html index 85a2dee..fff39cd 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -98,12 +98,14 @@
    +
    +
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/graph_class.html b/docs/graph_class.html index fb304cd..9e3523e 100644 --- a/docs/graph_class.html +++ b/docs/graph_class.html @@ -64,7 +64,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/index.html b/docs/index.html index 948c4fe..b641705 100644 --- a/docs/index.html +++ b/docs/index.html @@ -80,7 +80,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/markers.html b/docs/markers.html index bb03420..c8a7557 100644 --- a/docs/markers.html +++ b/docs/markers.html @@ -69,7 +69,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index d38832b..fa1163e 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -261,6 +261,13 @@ with array_map and glob
    « More » +
    +

    DB_Structure_Widget +

    +

    Class for generating db-structure editing views

    +
    +« More » +

    DB_Table_Data

    @@ -296,6 +303,13 @@ with array_map and glob
    « More »
    +
    +

    Edit_Table +

    +

    Window for editing db table structure

    +
    +« More » +

    Firebird

    @@ -439,24 +453,24 @@ instantiates the specific db driver

    - 
    -

    Reference to root path

    -
    BASE_PATH 
    -
    -

    -
    - 
    -

    Path to driver classes

    -
    DRIVER_PATH 
    -
    -

    -
     

    PROGRAM_NAME

    PROGRAM_NAME 

    + 
    +

    Reference to root path

    +
    QBASE_PATH 
    +
    +

    +
    + 
    +

    Path to driver classes

    +
    QDRIVER_PATH 
    +
    +

    +
     

    SETTINGS_DIR

    SETTINGS_DIR 
    @@ -475,7 +489,7 @@ instantiates the specific db driver

    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/.html b/docs/packages/.html index 4871f78..9a98fbd 100644 --- a/docs/packages/.html +++ b/docs/packages/.html @@ -67,7 +67,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/Default.html b/docs/packages/Default.html index dccbfe7..620c4c5 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -63,9 +63,9 @@
  • BASE_DIR
    BASE_DIR
  • -
  • Reference to root path
    BASE_PATH
  • -
  • Path to driver classes
    DRIVER_PATH
  • PROGRAM_NAME
    PROGRAM_NAME
  • +
  • Reference to root path
    QBASE_PATH
  • +
  • Path to driver classes
    QDRIVER_PATH
  • SETTINGS_DIR
    SETTINGS_DIR
  • VERSION
    VERSION
  • @@ -86,24 +86,24 @@

    - 
    -

    Reference to root path

    -
    BASE_PATH 
    -
    -

    -
    - 
    -

    Path to driver classes

    -
    DRIVER_PATH 
    -
    -

    -
     

    PROGRAM_NAME

    PROGRAM_NAME 

    + 
    +

    Reference to root path

    +
    QBASE_PATH 
    +
    +

    +
    + 
    +

    Path to driver classes

    +
    QDRIVER_PATH 
    +
    +

    +
     

    SETTINGS_DIR

    SETTINGS_DIR 
    @@ -122,7 +122,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/OpenSQLManager.Widgets.html b/docs/packages/OpenSQLManager.Widgets.html index 1840e38..1d5a4b8 100644 --- a/docs/packages/OpenSQLManager.Widgets.html +++ b/docs/packages/OpenSQLManager.Widgets.html @@ -64,6 +64,7 @@ Classes
  • Connection_Sidebar
  • Data_Grid
  • +
  • DB_Structure_Widget
  • DB_tabs
  • DB_Info_Widget
  • @@ -93,6 +94,13 @@
    « More » +
    +

    DB_Structure_Widget +

    +

    Class for generating db-structure editing views

    +
    +« More » +

    DB_tabs

    @@ -113,7 +121,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/OpenSQLManager.Windows.html b/docs/packages/OpenSQLManager.Windows.html index 6aaef5f..8601e13 100644 --- a/docs/packages/OpenSQLManager.Windows.html +++ b/docs/packages/OpenSQLManager.Windows.html @@ -64,6 +64,7 @@ Classes
  • Add_DB
  • Edit_DB
  • +
  • Edit_Table
  • DB_Table_Data
  • Main
  • @@ -100,6 +101,13 @@
    « More » +
    +

    Edit_Table +

    +

    Window for editing db table structure

    +
    +« More » +

    Main

    @@ -113,7 +121,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/OpenSQLManager.html b/docs/packages/OpenSQLManager.html index 448fb5c..611adcd 100644 --- a/docs/packages/OpenSQLManager.html +++ b/docs/packages/OpenSQLManager.html @@ -227,6 +227,13 @@ with array_map and glob
    « More » +
    +

    DB_Structure_Widget +

    +

    Class for generating db-structure editing views

    +
    +« More » +

    DB_tabs

    @@ -273,6 +280,13 @@ with array_map and glob
    « More »
    +
    +

    Edit_Table +

    +

    Window for editing db table structure

    +
    +« More » +

    Main

    @@ -287,7 +301,7 @@ with array_map and glob
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/Query.Drivers.html b/docs/packages/Query.Drivers.html index 62e69b7..4c058d5 100644 --- a/docs/packages/Query.Drivers.html +++ b/docs/packages/Query.Drivers.html @@ -211,7 +211,7 @@ data-fetching methods

    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/Query.Helper Classes.html b/docs/packages/Query.Helper Classes.html index a385b00..7a49798 100644 --- a/docs/packages/Query.Helper Classes.html +++ b/docs/packages/Query.Helper Classes.html @@ -97,7 +97,7 @@
    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/Query.Query.html b/docs/packages/Query.Query.html index 665dea0..69e8648 100644 --- a/docs/packages/Query.Query.html +++ b/docs/packages/Query.Query.html @@ -115,7 +115,7 @@ instantiates the specific db driver

    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/packages/Query.html b/docs/packages/Query.html index f144505..ab01fda 100644 --- a/docs/packages/Query.html +++ b/docs/packages/Query.html @@ -316,7 +316,7 @@ instantiates the specific db driver

    + generated on 2012-04-30T16:21:26-04:00.
    diff --git a/docs/structure.xml b/docs/structure.xml index 765ded2..4ba9c37 100644 --- a/docs/structure.xml +++ b/docs/structure.xml @@ -510,7 +510,7 @@ directly - the settings should be safe!]]> - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -530,391 +530,403 @@ directly - the settings should be safe!]]>
    - + $statement + + mixed + - + $escape_char - + + + string + - + $sql - + + + Object + - + $util - + + + Object + - + __construct function - + - + string - + string - + string - + array - + $dsn - + $username - + $password - + $driver_options - + prepare_query function - + - + string - + array - + mixed - + $sql - + $data - + prepare_execute function - + - + string - + array - + \PDOStatement - + $sql - + $params - + get_query_data function - + - + \PDOStatement - + array - + $statement - + affected_rows function - + - + \PDOStatement - + int - + $statement - + get_last_error function - + - + string - + quote_ident function - + - + mixed - + string - + $ident - + empty_table function - + - + string - + mixed - + $table - + get_schemas function - + - + array - + get_tables function - + - + array - + get_dbs function - + - + array - + get_views function - + - + array - + get_sequences function - + - + array - + get_functions function - + - + array - + get_procedures function - + - + array - + get_triggers function - + - + array - + get_system_tables function - + - + array - + driver_query function - + - + string - + bool - + mixed - + $sql - + $filtered_index - + num_rows function - + - + int - + truncate function - + - + string - + void - + $table - + switch_db function - + - + string - + void - + $name @@ -922,134 +934,163 @@ the connection/database]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    +
    - + Query_Builder \Query_Builder - + - - + + - + $select_string - + + + string + - + $from_string - + + + string + - + $set_string - + + + string + - + $order_string - + + + string + - + $group_string - + + + string + - - $set_array - - - - - - - + $set_array_keys - + + + array + - + $order_array - + + + array + - + $group_array - + + + array + - + $values - + - - - - $limit - - - - - - - - $offset - - - - - - - - $sql - - - db->sql]]> - + + array + + $limit + + + + + + int + + + + + $offset + + + + + + int + + + + + $sql + + + db->sql]]> + + + \DB_PDO + + + + $query_map - + Format:

    @@ -1059,482 +1100,632 @@ for complex select queries]]> 'conjunction' => ' AND ', 'string' => 'k=?' )

    ]]>
    + + array +
    - + $having_map - + + + array + - + $conn_name - + + + string + - + __construct function - + - + object - + $params - + select function - + - + string - + \$this - + $fields - + + _select + function + + + + + string + + + string + + + string + + + + $field + + + + + $as + + + + + select_max function - + - + string - + string - + \$this - + $field - + $as - + select_min function - + - + string - + string - + \$this - + $field - + $as - + select_avg function - + - + string - + string - + \$this - + $field - + $as - + select_sum function - + - + string - + string - + \$this - + $field - + $as - + distinct function - + - + \$this - + from function - + - + string - + \$this - + $dbname - + + _like + function + + + + + string + + + mixed + + + string + + + string + + + string + + + + $field + + + + + $val + + + + + $pos + + + + + $like + + + + + $conj + + + + + like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + or_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + not_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + or_not_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + having function - + - + mixed - + mixed - + \$this - + $key - + $val - + or_having function - + - + mixed - + mixed - + \$this - + $key - + $val - + _where function - + - + mixed - + mixed - + array - + $key - + $val - + + _where_in + function + + + + + mixed + + + mixed + + + + + void + + + + $key + + + + + $val + + + + + $in + + + + + $conj + + + + + where function - + - + mixed - + mixed - + \$this - + $key - + $val - + or_where function - + - + string - + mixed - + \$this - + $field - + + $val + + + + + + where_in + function + + + + + mixed + + + mixed + + + \$this + + + + $field + + + + $val - where_in + or_where_in function - + - - mixed + + string mixed @@ -1554,11 +1745,38 @@ passed array with key / value pairs]]> + + where_not_in + function + + + + + string + + + mixed + + + \$this + + + + $field + + + + + $val + + + + - or_where_in + or_where_not_in function - + string @@ -1581,497 +1799,443 @@ passed array with key / value pairs]]> - - where_not_in - function - - - - - string - - - mixed - - - \$this - - - - $field - - - - - $val - - - - - - or_where_not_in - function - - - - - string - - - mixed - - - \$this - - - - $field - - - - - $val - - - - - + set function - + - + mixed - + mixed - + \$this - + $key - + $val - + - + join function - + - + string - + string - + string - + \$this - + $table - + $condition - + $type - + group_by function - + - + mixed - + \$this - + $field - + order_by function - + - + string - + string - + \$this - + $field - + $type - + limit function - + - + int - + int - + string - + $limit - + $offset - + group_start function - + - + \$this - + or_group_start function - + - + \$this - + or_not_group_start function - + - + \$this - + group_end function - + - + \$this - + get function - + - - + + int - + int - + object - + $table - + $limit - + $offset - + get_where function - + - + string - + array - + int - + int - + object - + $table - + $where - + $limit - + $offset - + count_all function - + - + string - + int - + $table - + count_all_results function - + - + string - + int - + $table - + insert function - + - + string - + mixed - + mixed - + $table - + $data - + update function - + - + string - + mixed - + mixed - + $table - + $data - + delete function - + - + string - + mixed - + mixed - + $table - + $where - + __call function - + - + string - + array - + mixed - + $name - + $params - + _reset function - + - + _compile function - + - + string - + string - + \$string - + $type - + $table - + @@ -2235,7 +2399,7 @@ in place of the get() method]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -2246,7 +2410,7 @@ in place of the get() method]]>
    - BASE_PATH + QBASE_PATH @@ -2254,8 +2418,8 @@ in place of the get() method]]> - DRIVER_PATH - + QDRIVER_PATH + @@ -2616,7 +2780,7 @@ with array_map and glob]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -2846,7 +3010,7 @@ with array_map and glob]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -3002,7 +3166,7 @@ with array_map and glob]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -3243,7 +3407,7 @@ with array_map and glob]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -3637,7 +3801,7 @@ with array_map and glob]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -3657,135 +3821,138 @@ with array_map and glob]]>
    - + $statement + + \PDOStatement + - + __construct function - + - + string - + string - + string - + $dsn - + $user - + $pass - + switch_db function - + - + string - + $name - + truncate function - + - + string - + $table - + get_tables function - + - + mixed - + get_system_tables function - + - + array - + load_database function - + - + string - + string - + $db - + $name - + unload_database function - + - + string - + $name @@ -5577,6 +5744,36 @@ the last query executed]]>
    + + + + Free Database manager for Open Source Databases

    ]]>
    + + + + + +
    + + DB_Structure_Widget + \DB_Structure_Widget + \GTKTable + + + + + + + + __construct + function + + + + + + +
    @@ -6320,6 +6517,63 @@ the last query executed]]> + + + + Free Database manager for Open Source Databases

    ]]>
    + + + + + +
    + + Edit_Table + \Edit_Table + \GtkWindow + + + + + + + + $fields + + + + + + array + + + + + __construct + function + + + + + string + + + array + + + + $name + + + + + $fields + + array + + + +
    diff --git a/sys/db b/sys/db index 1344f2f..f43e3c7 160000 --- a/sys/db +++ b/sys/db @@ -1 +1 @@ -Subproject commit 1344f2fb85cd1ed3b8dd0ea61d3b05c7f9c1302d +Subproject commit f43e3c7ccf1e4d63ba67f6ac51184f6b14818ce4