From 2729f4416fba8254ef110f9656f6d9412c05832e Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 30 Apr 2012 16:24:05 -0400 Subject: [PATCH] Update reference to Query --- docs/classes/DB.html | 101 +- docs/classes/DB_PDO.html | 10 +- docs/classes/DB_Reg.html | 2 +- docs/classes/DB_SQL.html | 2 +- docs/classes/DB_Util.html | 2 +- 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/MM.html | 2 +- docs/classes/MM_Controller.html | 2 +- docs/classes/MM_Model.html | 2 +- docs/classes/MM_Output.html | 2 +- docs/classes/MM_Page.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 | 83 +- docs/classes/SQLite.html | 8 +- docs/classes/SQLite_SQL.html | 2 +- docs/classes/SQLite_Util.html | 2 +- docs/classes/Settings.html | 2 +- docs/classes/Welcome.html | 2 +- docs/classes/Welcome_Model.html | 2 +- docs/classes/miniMVC.html | 2 +- docs/deprecated.html | 2 +- docs/errors.html | 2 +- docs/graph_class.html | 2 +- docs/index.html | 2 +- docs/markers.html | 2 +- docs/namespaces/default.html | 26 +- docs/packages/.html | 2 +- docs/packages/Default.html | 30 +- 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/packages/miniMVC.App.html | 2 +- docs/packages/miniMVC.System.html | 2 +- docs/packages/miniMVC.html | 2 +- docs/structure.xml | 1223 +++++++++++++---------- src/sys/Query | 2 +- src/sys/miniMVC.php | 2 + 49 files changed, 925 insertions(+), 668 deletions(-) diff --git a/docs/classes/DB.html b/docs/classes/DB.html index 199e428..17714b1 100644 --- a/docs/classes/DB.html +++ b/docs/classes/DB.html @@ -113,8 +113,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
  • @@ -132,7 +135,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
  • @@ -1198,6 +1200,39 @@ passed array with key / value pairs
    \$string
    +
    +

    Simplify 'like' methods

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

    + + + +
    inherited_from\Query_Builder::_like()
    +

    Parameters

    +
    +

    $field

    +string +
    +
    +

    $val

    +mixed +
    +
    +

    $pos

    +string +
    +
    +

    $like

    +string +
    +
    +

    $conj

    +string +
    +
    +

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

    _reset() 
    @@ -1210,6 +1245,29 @@ passed array with key / value pairs
    +
    +

    Method to simplify select_ methods

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

    + + + +
    inherited_from\Query_Builder::_select()
    +

    Parameters

    +
    +

    $field

    +string +
    +
    +

    $as

    +string +
    +

    Returns

    +
    string
    +
    +

    Do all the repeditive stuff for where/having type methods

    _where(mixed $key, mixed $val) : array
    @@ -1233,6 +1291,33 @@ passed array with key / value pairs
    array
    +
    +

    Simplify where_in methods

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

    + + + +
    inherited_from\Query_Builder::_where_in()
    +

    Parameters

    +
    +

    $key

    +mixed +
    +
    +

    $val

    +mixed +
    +
    +

    $in

    +

    string

    +
    +

    $conj

    +

    string

    +
    +

     Properties

     
    @@ -1380,18 +1465,6 @@ for complex select queries
    - 
    -

    key/val pairs for insert/update statement

    -
    $set_array : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$set_array
    -
    -
     

    Keys for insert/update statement

    $set_array_keys : array
    @@ -1447,7 +1520,7 @@ for complex select queries
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/DB_PDO.html b/docs/classes/DB_PDO.html index 811f524..b263c4a 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:23:20-04:00.
    diff --git a/docs/classes/DB_Reg.html b/docs/classes/DB_Reg.html index cb1c2a5..0381e77 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:23:20-04:00.
    diff --git a/docs/classes/DB_SQL.html b/docs/classes/DB_SQL.html index 15824ff..863287e 100644 --- a/docs/classes/DB_SQL.html +++ b/docs/classes/DB_SQL.html @@ -269,7 +269,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/DB_Util.html b/docs/classes/DB_Util.html index a7e184c..a794482 100644 --- a/docs/classes/DB_Util.html +++ b/docs/classes/DB_Util.html @@ -209,7 +209,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/Firebird.html b/docs/classes/Firebird.html index 6f997e5..5874129 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:23:20-04:00.
    diff --git a/docs/classes/Firebird_Result.html b/docs/classes/Firebird_Result.html index 4f10f09..b6ff032 100644 --- a/docs/classes/Firebird_Result.html +++ b/docs/classes/Firebird_Result.html @@ -504,7 +504,7 @@ the query
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/Firebird_SQL.html b/docs/classes/Firebird_SQL.html index 3b47f7b..d54604d 100644 --- a/docs/classes/Firebird_SQL.html +++ b/docs/classes/Firebird_SQL.html @@ -297,7 +297,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/Firebird_Util.html b/docs/classes/Firebird_Util.html index d4003e5..2963bda 100644 --- a/docs/classes/Firebird_Util.html +++ b/docs/classes/Firebird_Util.html @@ -212,7 +212,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/MM.html b/docs/classes/MM.html index 5cefb6c..b7aea35 100644 --- a/docs/classes/MM.html +++ b/docs/classes/MM.html @@ -434,7 +434,7 @@ dynamic methods
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/MM_Controller.html b/docs/classes/MM_Controller.html index f0d7f21..1867777 100644 --- a/docs/classes/MM_Controller.html +++ b/docs/classes/MM_Controller.html @@ -763,7 +763,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/MM_Model.html b/docs/classes/MM_Model.html index 6167103..f8ffe33 100644 --- a/docs/classes/MM_Model.html +++ b/docs/classes/MM_Model.html @@ -728,7 +728,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/MM_Output.html b/docs/classes/MM_Output.html index ffd5fbe..e85cc85 100644 --- a/docs/classes/MM_Output.html +++ b/docs/classes/MM_Output.html @@ -640,7 +640,7 @@ Used for outputing HTML
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/MM_Page.html b/docs/classes/MM_Page.html index 5c6bb00..aaadd3e 100644 --- a/docs/classes/MM_Page.html +++ b/docs/classes/MM_Page.html @@ -972,7 +972,7 @@ supports

    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/MySQL.html b/docs/classes/MySQL.html index baea001..3d1d8eb 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:23:20-04:00.
    diff --git a/docs/classes/MySQL_SQL.html b/docs/classes/MySQL_SQL.html index 50c45bc..8a72a9d 100644 --- a/docs/classes/MySQL_SQL.html +++ b/docs/classes/MySQL_SQL.html @@ -281,7 +281,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/MySQL_Util.html b/docs/classes/MySQL_Util.html index e66ac2f..0b40e5b 100644 --- a/docs/classes/MySQL_Util.html +++ b/docs/classes/MySQL_Util.html @@ -208,7 +208,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/ODBC.html b/docs/classes/ODBC.html index cce9b87..729b886 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:23:20-04:00.
    diff --git a/docs/classes/ODBC_SQL.html b/docs/classes/ODBC_SQL.html index 242e77f..d90c223 100644 --- a/docs/classes/ODBC_SQL.html +++ b/docs/classes/ODBC_SQL.html @@ -281,7 +281,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/ODBC_Util.html b/docs/classes/ODBC_Util.html index 8e72044..e8b23cb 100644 --- a/docs/classes/ODBC_Util.html +++ b/docs/classes/ODBC_Util.html @@ -203,7 +203,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/PgSQL.html b/docs/classes/PgSQL.html index b355f8a..38bae6a 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:23:20-04:00.
    diff --git a/docs/classes/PgSQL_SQL.html b/docs/classes/PgSQL_SQL.html index a835953..960df96 100644 --- a/docs/classes/PgSQL_SQL.html +++ b/docs/classes/PgSQL_SQL.html @@ -297,7 +297,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/PgSQL_Util.html b/docs/classes/PgSQL_Util.html index 1c8f79b..4272d20 100644 --- a/docs/classes/PgSQL_Util.html +++ b/docs/classes/PgSQL_Util.html @@ -208,7 +208,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/Query_Builder.html b/docs/classes/Query_Builder.html index f9f9d7a..68f6cc7 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,6 +1025,29 @@ 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

     
    @@ -1050,12 +1123,6 @@ for complex select queries

    - 
    -

    key/val pairs for insert/update statement

    -
    $set_array : array
    -
    -

    -
     

    Keys for insert/update statement

    $set_array_keys : array
    @@ -1087,7 +1154,7 @@ for complex select queries
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/SQLite.html b/docs/classes/SQLite.html index 7c43ece..bf2998c 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

    @@ -866,7 +866,7 @@ method if the database does not support 'TRUNCATE';
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/SQLite_SQL.html b/docs/classes/SQLite_SQL.html index 5970d42..7a3e8a5 100644 --- a/docs/classes/SQLite_SQL.html +++ b/docs/classes/SQLite_SQL.html @@ -281,7 +281,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/SQLite_Util.html b/docs/classes/SQLite_Util.html index a05d0be..60a36f9 100644 --- a/docs/classes/SQLite_Util.html +++ b/docs/classes/SQLite_Util.html @@ -208,7 +208,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/Settings.html b/docs/classes/Settings.html index 282a253..67a0a39 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:23:20-04:00.
    diff --git a/docs/classes/Welcome.html b/docs/classes/Welcome.html index 83f9715..5e38482 100644 --- a/docs/classes/Welcome.html +++ b/docs/classes/Welcome.html @@ -905,7 +905,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/Welcome_Model.html b/docs/classes/Welcome_Model.html index ee60dc6..918d8f4 100644 --- a/docs/classes/Welcome_Model.html +++ b/docs/classes/Welcome_Model.html @@ -846,7 +846,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/classes/miniMVC.html b/docs/classes/miniMVC.html index 720f80b..34d7c1c 100644 --- a/docs/classes/miniMVC.html +++ b/docs/classes/miniMVC.html @@ -615,7 +615,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/deprecated.html b/docs/deprecated.html index d29bea5..e71ea8f 100644 --- a/docs/deprecated.html +++ b/docs/deprecated.html @@ -67,7 +67,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/errors.html b/docs/errors.html index 9a94424..86d7958 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -106,7 +106,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/graph_class.html b/docs/graph_class.html index d5fdfae..c50b807 100644 --- a/docs/graph_class.html +++ b/docs/graph_class.html @@ -64,7 +64,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/index.html b/docs/index.html index 7a2e0ca..c56a32a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -80,7 +80,7 @@
    + generated on 2012-04-30T16:23:19-04:00.
    diff --git a/docs/markers.html b/docs/markers.html index 7224e15..bbab28c 100644 --- a/docs/markers.html +++ b/docs/markers.html @@ -69,7 +69,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index aad0cbb..9eefee0 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -587,12 +587,6 @@ instantiates the specific db driver

    Constants

    - 
    -

    Reference to root path

    -
    BASE_PATH 
    -
    -

    -
     

    BASE_URL

    BASE_URL 
    @@ -623,12 +617,6 @@ instantiates the specific db driver

    - 
    -

    Path to driver classes

    -
    DRIVER_PATH 
    -
    -

    -
     

    miniMVC bootstrap file

    ENVIRONMENT 
    @@ -671,6 +659,18 @@ instantiates the specific db driver

    + 
    +

    Reference to root path

    +
    QBASE_PATH 
    +
    +

    +
    + 
    +

    Path to driver classes

    +
    QDRIVER_PATH 
    +
    +

    +
     

    SCRIPT_PATH

    SCRIPT_PATH 
    @@ -719,7 +719,7 @@ instantiates the specific db driver

    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/packages/.html b/docs/packages/.html index 6112ef3..2d0e024 100644 --- a/docs/packages/.html +++ b/docs/packages/.html @@ -67,7 +67,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/packages/Default.html b/docs/packages/Default.html index 95bae27..7ed75e1 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -62,17 +62,17 @@ -
  • Reference to root path
    BASE_PATH
  • BASE_URL
    BASE_URL
  • CONTENT_DOMAIN
    CONTENT_DOMAIN
  • DEFAULT_CSS_GROUP
    DEFAULT_CSS_GROUP
  • DEFAULT_JS_GROUP
    DEFAULT_JS_GROUP
  • DEFAULT_TITLE
    DEFAULT_TITLE
  • -
  • Path to driver classes
    DRIVER_PATH
  • MM_APP_PATH
    MM_APP_PATH
  • MM_BASE_PATH
    MM_BASE_PATH
  • MM_MOD_PATH
    MM_MOD_PATH
  • MM_SYS_PATH
    MM_SYS_PATH
  • +
  • Reference to root path
    QBASE_PATH
  • +
  • Path to driver classes
    QDRIVER_PATH
  • SCRIPT_PATH
    SCRIPT_PATH
  • STATIC_LIB_PATH
    STATIC_LIB_PATH
  • STYLE_PATH
    STYLE_PATH
  • @@ -89,12 +89,6 @@

    Constants

    - 
    -

    Reference to root path

    -
    BASE_PATH 
    -
    -

    -
     

    BASE_URL

    BASE_URL 
    @@ -125,12 +119,6 @@

    - 
    -

    Path to driver classes

    -
    DRIVER_PATH 
    -
    -

    -
     

    MM_APP_PATH

    MM_APP_PATH 
    @@ -155,6 +143,18 @@

    + 
    +

    Reference to root path

    +
    QBASE_PATH 
    +
    +

    +
    + 
    +

    Path to driver classes

    +
    QDRIVER_PATH 
    +
    +

    +
     

    SCRIPT_PATH

    SCRIPT_PATH 
    @@ -185,7 +185,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/packages/Query.Drivers.html b/docs/packages/Query.Drivers.html index 474829f..745e2f1 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:23:20-04:00.
    diff --git a/docs/packages/Query.Helper Classes.html b/docs/packages/Query.Helper Classes.html index 4feef35..a7b39b0 100644 --- a/docs/packages/Query.Helper Classes.html +++ b/docs/packages/Query.Helper Classes.html @@ -97,7 +97,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/packages/Query.Query.html b/docs/packages/Query.Query.html index 0029f85..576493b 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:23:20-04:00.
    diff --git a/docs/packages/Query.html b/docs/packages/Query.html index 5289835..a2a0082 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:23:20-04:00.
    diff --git a/docs/packages/miniMVC.App.html b/docs/packages/miniMVC.App.html index 108a569..46d27d6 100644 --- a/docs/packages/miniMVC.App.html +++ b/docs/packages/miniMVC.App.html @@ -139,7 +139,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/packages/miniMVC.System.html b/docs/packages/miniMVC.System.html index 529cc1f..3cd122b 100644 --- a/docs/packages/miniMVC.System.html +++ b/docs/packages/miniMVC.System.html @@ -137,7 +137,7 @@
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/packages/miniMVC.html b/docs/packages/miniMVC.html index 85ffd02..4058839 100644 --- a/docs/packages/miniMVC.html +++ b/docs/packages/miniMVC.html @@ -492,7 +492,7 @@ display them cleanly
    + generated on 2012-04-30T16:23:20-04:00.
    diff --git a/docs/structure.xml b/docs/structure.xml index 5a2538d..4830c88 100644 --- a/docs/structure.xml +++ b/docs/structure.xml @@ -562,7 +562,7 @@ directly - the settings should be safe!]]> - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -582,391 +582,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 @@ -974,7 +986,7 @@ the connection/database]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -995,153 +1007,142 @@ instantiates the specific db driver]]>
    - + $select_string - + - + string - + $from_string - + - + string - + $set_string - + - + string - + $order_string - + - + string - + $group_string - + - + string - - $set_array - - - - - - array - - - - + $set_array_keys - + - + array - + $order_array - + - + array - + $group_array - + - + array - + $values - + - + array - + $limit - + - + int - + $offset - + - + int - + $sql - + db->sql]]> - + \DB_PDO - + $query_map - + Format:

    @@ -1151,236 +1152,311 @@ 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 - - - from - function - - - - - string - - - \$this - - - + $dbname - - like + + _like function - - + + - + string - + mixed - + string - - \$this + + string + + + string - + $field - + $val - + + $pos + + + + + $like + + + + + $conj + + + + + + like + function + + + + + string + + + mixed + + + string + + + \$this + + + + $field + + + + + $val + + + + $pos @@ -1421,758 +1497,797 @@ for complex select queries]]> - + 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 - + or_where_in function - + - + string - + mixed - + \$this - + $field - + $val - + 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 - - - 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 - + @@ -2336,7 +2451,7 @@ in place of the get() method]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -2347,7 +2462,7 @@ in place of the get() method]]>
    - BASE_PATH + QBASE_PATH @@ -2355,8 +2470,8 @@ in place of the get() method]]> - DRIVER_PATH - + QDRIVER_PATH + @@ -5459,7 +5574,7 @@ the parent constructor unless the arguments match.]]>
    - + Convention-based micro-framework for PHP

    ]]>
    @@ -5547,212 +5662,212 @@ the parent constructor unless the arguments match.]]>
    - + __invoke function - + - + array - + \self - + $params - + get_instance function - + - + \self - + __clone function - + - + MM \MM \ArrayObject - + - - + + - + __construct function - + - + - + $members - + __call function - + - + string - + array - + mixed - + $name - + $params - + miniMVC \miniMVC \MM - + - - + + - + $output - + - + \MM_Output - + __construct function - + - + array - + $members - + __call function - + - + string - + array - + $name - + $args - + load_class function - + - + string - + string - + void - + $name - + $type - + unload function - + - + string - + $name - + load_config function - + - + string - + $name diff --git a/src/sys/Query b/src/sys/Query index 00cfc49..f43e3c7 160000 --- a/src/sys/Query +++ b/src/sys/Query @@ -1 +1 @@ -Subproject commit 00cfc498b9f059f7120b745035bfff2c7c30372d +Subproject commit f43e3c7ccf1e4d63ba67f6ac51184f6b14818ce4 diff --git a/src/sys/miniMVC.php b/src/sys/miniMVC.php index dfc42c6..e010327 100644 --- a/src/sys/miniMVC.php +++ b/src/sys/miniMVC.php @@ -134,6 +134,8 @@ trait JSObject { } } +// -------------------------------------------------------------------------- + /** * Singleton pattern *