diff --git a/docs/classes.svg b/docs/classes.svg index f903d95..a8d3bca 100644 --- a/docs/classes.svg +++ b/docs/classes.svg @@ -4,399 +4,152 @@ - - + + G - + cluster_default - - - - - - - + + + + + + + - -\\DB_Reg - - -DB_Reg - - - -\\Settings - - -Settings - - - -\\DB_SQL - - -«abstract» -DB_SQL - - - -\\DB_PDO - - -«abstract» -DB_PDO - - - -\\PDO - -\PDO - - -\\DB_PDO->\\PDO - - - - -\\Query_Builder - - -Query_Builder - - - -\\DB_Util - - -«abstract» -DB_Util - - - -\\PgSQL_SQL - - -PgSQL_SQL - - - -\\PgSQL_SQL->\\DB_SQL - - - - -\\PgSQL_Util - - -PgSQL_Util - - - -\\PgSQL_Util->\\DB_Util - - - - -\\PgSQL - - -PgSQL - - - -\\PgSQL->\\DB_PDO - - - - -\\ODBC_Util - - -ODBC_Util - - - -\\ODBC_Util->\\DB_Util - - - - -\\ODBC_SQL - - -ODBC_SQL - - - -\\ODBC_SQL->\\DB_SQL - - - - -\\ODBC - - -ODBC - - - -\\ODBC->\\DB_PDO - - - - -\\MySQL_Util - - -MySQL_Util - - - -\\MySQL_Util->\\DB_Util - - - - -\\MySQL - - -MySQL - - - -\\MySQL->\\DB_PDO - - - - -\\MySQL_SQL - - -MySQL_SQL - - - -\\MySQL_SQL->\\DB_SQL - - - - -\\SQLite_Util - - -SQLite_Util - - - -\\SQLite_Util->\\DB_Util - - - - -\\SQLite - - -SQLite - - - -\\SQLite->\\DB_PDO - - - - -\\SQLite_SQL - - -SQLite_SQL - - - -\\SQLite_SQL->\\DB_SQL - - - - -\\Firebird_SQL - - -Firebird_SQL - - - -\\Firebird_SQL->\\DB_SQL - - - - -\\Firebird_Result - - -Firebird_Result - - - -\\PDOStatement - -\PDOStatement - - -\\Firebird_Result->\\PDOStatement - - - - -\\Firebird - - -Firebird - - - -\\Firebird->\\DB_PDO - - - - -\\Firebird_Util - - -Firebird_Util - - - -\\Firebird_Util->\\DB_Util - - - -\\MM_Model +\\MM_Model - -MM_Model + +MM_Model -\\miniMVC +\\miniMVC - -miniMVC + +miniMVC -\\MM_Model->\\miniMVC - - +\\MM_Model->\\miniMVC + + -\\DB +\\DB - -DB + +DB + +\\Query_Builder + +\Query_Builder + -\\DB->\\Query_Builder - - +\\DB->\\Query_Builder + + -\\MM +\\MM - -MM + +MM -\\ArrayObject - -\ArrayObject +\\ArrayObject + +\ArrayObject -\\MM->\\ArrayObject - - +\\MM->\\ArrayObject + + -\\miniMVC->\\MM - - +\\miniMVC->\\MM + + -\\MM_Page +\\MM_Page - -MM_Page + +MM_Page -\\MM_Page->\\MM - - +\\MM_Page->\\MM + + -\\MM_Controller +\\MM_Controller - -MM_Controller + +MM_Controller -\\MM_Controller->\\miniMVC - - +\\MM_Controller->\\miniMVC + + -\\MM_Output +\\MM_Output - -MM_Output + +MM_Output -\\MM_Output->\\MM - - +\\MM_Output->\\MM + + -\\MM_Data_Store +\\MM_Data_Store - -MM_Data_Store + +MM_Data_Store -\\MM_Session +\\MM_Session - -MM_Session + +MM_Session -\\Welcome_Model +\\Welcome_Model - -Welcome_Model + +Welcome_Model -\\Welcome_Model->\\MM_Model - - +\\Welcome_Model->\\MM_Model + + -\\Welcome +\\Welcome - -Welcome + +Welcome -\\Welcome->\\MM_Controller - - +\\Welcome->\\MM_Controller + + diff --git a/docs/classes/DB.html b/docs/classes/DB.html index cb4e83b..9d66a27 100644 --- a/docs/classes/DB.html +++ b/docs/classes/DB.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -61,85 +58,12 @@  Methods
  • Override __call in trait to call __call in Query Builder...lol
    __call()
  • Constructor to override JSObject trait
    __construct()
  • -
  • Retreive the number of rows in the selected table
    count_all()
  • -
  • Retrieve the number of results for the generated query - used -in place of the get() method
    count_all_results()
  • -
  • Deletes data from a table
    delete()
  • -
  • Adds the 'distinct' keyword to a query
    distinct()
  • -
  • Specify the database table to select from
    from()
  • -
  • Select and retrieve all records from the current table, and/or -execute current compiled query
    get()
  • Indexed singleton method
    get_instance()
  • Returns the last error from the database
    get_last_error()
  • -
  • Convience method for get() with a where clause
    get_where()
  • -
  • Group the results by the selected field(s)
    group_by()
  • -
  • Ends a query group
    group_end()
  • -
  • Adds a paren to the current query for query grouping
    group_start()
  • -
  • Generates a 'Having' clause
    having()
  • -
  • Creates an insert clause, and executes it
    insert()
  • -
  • Creates a join phrase in a compiled query
    join()
  • -
  • Creates a Like clause in the sql statement
    like()
  • -
  • Set a limit on the current sql statement
    limit()
  • -
  • Generates a NOT LIKE clause
    not_like()
  • -
  • Adds a paren to the current query for query grouping, -prefixed with 'OR'
    or_group_start()
  • -
  • Generates a 'Having' clause prefixed with 'OR'
    or_having()
  • -
  • Generates an OR Like clause
    or_like()
  • -
  • Adds a paren to the current query for query grouping, -prefixed with 'OR NOT'
    or_not_group_start()
  • -
  • Generates a OR NOT LIKE clause
    or_not_like()
  • -
  • Where clause prefixed with "OR"
    or_where()
  • -
  • Where in statement prefixed with "or"
    or_where_in()
  • -
  • OR WHERE NOT IN (FOO) clause
    or_where_not_in()
  • -
  • Order the results by the selected field(s)
    order_by()
  • -
  • Specifies rows to select in a query
    select()
  • -
  • Selects the average value of a field from a query
    select_avg()
  • -
  • Selects the maximum value of a field from a query
    select_max()
  • -
  • Selects the minimum value of a field from a query
    select_min()
  • -
  • Selects the sum of a field from a query
    select_sum()
  • -
  • Sets values for inserts / updates / deletes
    set()
  • -
  • Creates an update clause, and executes it
    update()
  • -
  • Specify condition(s) in the where clause of a query -Note: this function works with key / value, or a -passed array with key / value pairs
    where()
  • -
  • Where clause with 'IN' statement
    where_in()
  • -
  • WHERE NOT IN (FOO) clause
    where_not_in()
  • - -
  • String together the sql statements for sending to the db
    _compile()
  • -
  • Simplify building having clauses
    _having()
  • -
  • 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()
  • -
  • Simplify generating where string
    _where_string()
  • -
  • Convenience property for connection management
    $conn_name
  • -
  • Alias to $this->db->sql
    $sql
  • -
  • Compiled 'from' clause
    $from_string
  • -
  • Key/val pairs for group by clause
    $group_array
  • -
  • Group by clause
    $group_string
  • -
  • Map for having clause
    $having_map
  • DB connection instances
    $instance
  • -
  • Value for limit string
    $limit
  • -
  • Value for offset in limit string
    $offset
  • -
  • Key/val pairs for order by clause
    $order_array
  • -
  • Order by clause
    $order_string
  • -
  • Query component order mapping -for complex select queries
    $query_map
  • -
  • Compiled 'select' clause
    $select_string
  • -
  • Keys for insert/update statement
    $set_array_keys
  • -
  • Compiled arguments for insert / update
    $set_string
  • -
  • Values to apply to prepared statements
    $values
  • @@ -191,141 +115,6 @@ for complex select queries
    $query_map
    -
    -

    Retreive the number of rows in the selected table

    -
    count_all(string $table) : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::count_all()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Retrieve the number of results for the generated query - used -in place of the get() method

    -
    count_all_results(string $table) : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::count_all_results()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Deletes data from a table

    -
    delete(string $table, mixed $where) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::delete()
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $where

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Adds the 'distinct' keyword to a query

    -
    distinct() : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::distinct()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Specify the database table to select from

    -
    from(string $dbname) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::from()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $dbname

    -string -
    -

    Returns

    - -
    -
    -
    -

    Select and retrieve all records from the current table, and/or -execute current compiled query

    -
    get($table, int $limit, int $offset) : object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::get()
    -

    Parameters

    -
    -

    $table

    - -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    object
    -
    -

    Indexed singleton method

    get_instance(string $dbname, array $options) : \DB
    @@ -355,1229 +144,14 @@ execute current compiled query
    string
    -
    -

    Convience method for get() with a where clause

    -
    get_where(string $table, array $where, int $limit, int $offset) : object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::get_where()
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $where

    -array -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    object
    -
    -
    -
    -

    Group the results by the selected field(s)

    -
    group_by(mixed $field) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::group_by()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Ends a query group

    -
    group_end() : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::group_end()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping

    -
    group_start() : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::group_start()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Generates a 'Having' clause

    -
    having(mixed $key, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::having()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates an insert clause, and executes it

    -
    insert(string $table, mixed $data) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::insert()
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Creates a join phrase in a compiled query

    -
    join(string $table, string $condition, string $type) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::join()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $condition

    -string -
    -
    -

    $type

    -string -
    -

    Returns

    - -
    -
    -
    -

    Creates a Like clause in the sql statement

    -
    like(string $field, mixed $val, string $pos) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::like()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Set a limit on the current sql statement

    -
    limit(int $limit, int $offset) : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::limit()
    -

    Parameters

    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Generates a NOT LIKE clause

    -
    not_like(string $field, mixed $val, string $pos) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::not_like()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping, -prefixed with 'OR'

    -
    or_group_start() : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::or_group_start()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Generates a 'Having' clause prefixed with 'OR'

    -
    or_having(mixed $key, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::or_having()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Generates an OR Like clause

    -
    or_like(string $field, mixed $val, string $pos) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::or_like()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping, -prefixed with 'OR NOT'

    -
    or_not_group_start() : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::or_not_group_start()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Generates a OR NOT LIKE clause

    -
    or_not_like(string $field, mixed $val, string $pos) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::or_not_like()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Where clause prefixed with "OR"

    -
    or_where(string $key, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::or_where()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Where in statement prefixed with "or"

    -
    or_where_in(string $field, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::or_where_in()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    OR WHERE NOT IN (FOO) clause

    -
    or_where_not_in(string $field, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::or_where_not_in()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Order the results by the selected field(s)

    -
    order_by(string $field, string $type) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::order_by()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $type

    -string -
    -

    Returns

    - -
    -
    -
    -

    Specifies rows to select in a query

    -
    select(string $fields) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::select()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $fields

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the average value of a field from a query

    -
    select_avg(string $field, string $as) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::select_avg()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the maximum value of a field from a query

    -
    select_max(string $field, string $as) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::select_max()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the minimum value of a field from a query

    -
    select_min(string $field, string $as) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::select_min()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the sum of a field from a query

    -
    select_sum(string $field, string $as) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::select_sum()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Sets values for inserts / updates / deletes

    -
    set(mixed $key, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::set()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates an update clause, and executes it

    -
    update(string $table, mixed $data) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::update()
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Specify condition(s) in the where clause of a query -Note: this function works with key / value, or a -passed array with key / value pairs

    -
    where(mixed $key, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::where()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Where clause with 'IN' statement

    -
    where_in(mixed $field, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::where_in()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    WHERE NOT IN (FOO) clause

    -
    where_not_in(string $field, mixed $val) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::where_not_in()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    String together the sql statements for sending to the db

    -
    _compile(string $type, string $table) : \$string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::_compile()
    -

    Parameters

    -
    -

    $type

    -string -
    -
    -

    $table

    -string -
    -

    Returns

    -
    \$string
    -
    -
    -
    -

    Simplify building having clauses

    -
    _having(mixed $key, mixed $val, string $conj) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::_having()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $conj

    -string -
    -

    Returns

    - -
    -
    -
    -

    Simplify 'like' methods

    -
    _like(string $field, mixed $val, string $pos, string $like, string $conj) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::_like()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -
    -

    $like

    -string -
    -
    -

    $conj

    -string -
    -

    Returns

    - -
    -
    -
    -

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

    -
    _reset() : void
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::_reset()
    -
    -
    -
    -

    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
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::_where()
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Simplify where_in methods

    -
    _where_in(mixed $key, mixed $val, $in, $conj) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::_where_in()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $in

    -

    string

    -
    -

    $conj

    -

    string

    -

    Returns

    - -
    -
    -
    -

    Simplify generating where string

    -
    _where_string(mixed $key, mixed $val, string $conj) : \DB
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_from\Query_Builder::_where_string()
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $conj

    -string -
    -

    Returns

    - -
    -

     Properties

    - 
    -

    Convenience property for connection management

    -
    $conn_name : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$conn_name
    -
    -
    - 
    -

    Alias to $this->db->sql

    -
    $sql : \DB_PDO
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$sql
    -
    -
    - 
    -

    Compiled 'from' clause

    -
    $from_string : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$from_string
    -
    -
    - 
    -

    Key/val pairs for group by clause

    -
    $group_array : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$group_array
    -
    -
    - 
    -

    Group by clause

    -
    $group_string : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$group_string
    -
    -
    - 
    -

    Map for having clause

    -
    $having_map : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$having_map
    -
    -
     

    DB connection instances

    $instance : array

    - 
    -

    Value for limit string

    -
    $limit : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$limit
    -
    -
    - 
    -

    Value for offset in limit string

    -
    $offset : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$offset
    -
    -
    - 
    -

    Key/val pairs for order by clause

    -
    $order_array : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$order_array
    -
    -
    - 
    -

    Order by clause

    -
    $order_string : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$order_string
    -
    -
    - 
    -

    Query component order mapping -for complex select queries

    -
    $query_map : array
    -
    Inherited
    -
    -

    Format:

    - -

    array( - 'type' => 'where', - 'conjunction' => ' AND ', - 'string' => 'k=?' -)

    - - - -
    inherited_from\Query_Builder::$$query_map
    -
    -
    - 
    -

    Compiled 'select' clause

    -
    $select_string : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$select_string
    -
    -
    - 
    -

    Keys for insert/update statement

    -
    $set_array_keys : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$set_array_keys
    -
    -
    - 
    -

    Compiled arguments for insert / update

    -
    $set_string : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$set_string
    -
    -
    - 
    -

    Values to apply to prepared statements

    -
    $values : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$values
    -
    -
    @@ -1585,7 +159,7 @@ for complex select queries
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/DB_PDO.html b/docs/classes/DB_PDO.html deleted file mode 100644 index 21d12a8..0000000 --- a/docs/classes/DB_PDO.html +++ /dev/null @@ -1,714 +0,0 @@ - - - - - -miniMVC » \DB_PDO - - - - - - - - - - -
    - -
    -
    -
    - -
    - -
    -
    -
    -

    Base Database class

    -
    -

    Extends PDO to simplify cross-database issues

    - - - - - - - - - -
    packageQuery
    subpackageQuery
    -

    - Methods

    -
    -

    PDO constructor wrapper

    -
    __construct(string $dsn, string $username, string $password, array $driver_options) 
    -
    -
    -

    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $username

    -string -
    -
    -

    $password

    -string -
    -
    -

    $driver_options

    -array -
    -
    -
    -
    -

    __sleep() -

    -
    __sleep() 
    -
    -
    -

    - - - -
    inherited_fromPDO::__sleep()
    -
    -
    -
    -

    __wakeup() -

    -
    __wakeup() 
    -
    -
    -

    - - - -
    inherited_fromPDO::__wakeup()
    -
    -
    -
    -

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    -
    affected_rows(\PDOStatement $statement) : int
    -
    -
    -

    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    int
    -
    -
    -
    -

    beginTransaction() -

    -
    beginTransaction() 
    -
    -
    -

    - - - -
    inherited_fromPDO::beginTransaction()
    -
    -
    -
    -

    commit() -

    -
    commit() 
    -
    -
    -

    - - - -
    inherited_fromPDO::commit()
    -
    -
    -
    -

    Deletes all the rows from a table. Does the same as the truncate -method if the database does not support 'TRUNCATE';

    -
    empty_table(string $table) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    errorCode() -

    -
    errorCode() 
    -
    -
    -

    - - - -
    inherited_fromPDO::errorCode()
    -
    -
    -
    -

    errorInfo() -

    -
    errorInfo() 
    -
    -
    -

    - - - -
    inherited_fromPDO::errorInfo()
    -
    -
    -
    -

    exec() -

    -
    exec() 
    -
    -
    -

    - - - -
    inherited_fromPDO::exec()
    -
    -
    -
    -

    getAttribute() -

    -
    getAttribute() 
    -
    -
    -

    - - - -
    inherited_fromPDO::getAttribute()
    -
    -
    -
    -

    getAvailableDrivers() -

    -
    getAvailableDrivers() 
    -
    -
    -

    - - - -
    inherited_fromPDO::getAvailableDrivers()
    -
    -
    -
    -

    Retrieve column information for the current database table

    -
    get_columns(string $table) : array
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of dbs for the current connection, if possible

    -
    get_dbs() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of function for the current database

    -
    get_functions() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Return the last error for the current database connection

    -
    get_last_error() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return list of stored procedures for the current database

    -
    get_procedures() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives the data from a select query

    -
    get_query_data(\PDOStatement $statement) : array
    -
    -
    -

    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return schemas for databases that list them

    -
    get_schemas() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of sequences for the current database, if they exist

    -
    get_sequences() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives an array of non-user-created tables for -the connection/database

    -
    get_system_tables() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of tables for the current database

    -
    get_tables() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of triggers for the current database

    -
    get_triggers() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve list of data types for the database

    -
    get_types() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of views for the current database

    -
    get_views() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    inTransaction() -

    -
    inTransaction() 
    -
    -
    -

    - - - -
    inherited_fromPDO::inTransaction()
    -
    -
    -
    -

    lastInsertId() -

    -
    lastInsertId() 
    -
    -
    -

    - - - -
    inherited_fromPDO::lastInsertId()
    -
    -
    -
    -

    Return the number of rows returned for a SELECT query

    -
    num_rows() : int
    -
    -
    -

    -

    Returns

    -
    int
    -
    -
    -
    -

    prepare() -

    -
    prepare() 
    -
    -
    -

    - - - -
    inherited_fromPDO::prepare()
    -
    -
    -
    -

    Create and execute a prepared statement with the provided parameters

    -
    prepare_execute(string $sql, array $params) : \PDOStatement
    -
    -
    -

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    - -
    -
    -
    -

    Simplifies prepared statements for database queries

    -
    prepare_query(string $sql, array $data) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    -
    -mixedPDOStatement / FALSE
    -
    -
    -
    -

    query() -

    -
    query() 
    -
    -
    -

    - - - -
    inherited_fromPDO::query()
    -
    -
    -
    -

    quote() -

    -
    quote() 
    -
    -
    -

    - - - -
    inherited_fromPDO::quote()
    -
    -
    -
    -

    Surrounds the string with the databases identifier escape characters

    -
    quote_ident(mixed $ident) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $ident

    -mixed -
    -

    Returns

    -
    string
    -
    -
    -
    -

    rollBack() -

    -
    rollBack() 
    -
    -
    -

    - - - -
    inherited_fromPDO::rollBack()
    -
    -
    -
    -

    setAttribute() -

    -
    setAttribute() 
    -
    -
    -

    - - - -
    inherited_fromPDO::setAttribute()
    -
    -
    -
    -

    Connect to a different database

    -
    switch_db(string $name) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -
    -
    -

    Empty the passed table

    -
    truncate(string $table) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -
    -

    Helper method for quote_ident

    -
    _quote(mixed $str) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $str

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Method to simplify retreiving db results for meta-data queries

    -
    driver_query(string $sql, bool $filtered_index) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $filtered_index

    -bool -
    -

    Returns

    -
    mixed
    -
    -
    -

    - Properties

    - 
    -

    Reference to sql sub class

    -
    $sql : Object
    -
    -

    -
    - 
    -

    Reference to util sub class

    -
    $util : Object
    -
    -

    -
    - 
    -

    Character to escape identifiers

    -
    $escape_char : string
    -
    -

    -
    - 
    -

    Reference to the last executed query

    -
    $statement : mixed
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/DB_Reg.html b/docs/classes/DB_Reg.html deleted file mode 100644 index 7822971..0000000 --- a/docs/classes/DB_Reg.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -miniMVC » \DB_Reg - - - - - - - - - - -
    - -
    - -
    -
    -

    Connection registry

    -
    -

    Decouples the Settings class from the query builder -and organizes database connections

    - - - - - - - - - -
    packageQuery
    subpackageHelper Classes
    -

    - Methods

    -
    -

    Return exiting connections

    -
    get_connections() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Registry access method

    -
    get_db(string $key) : object
    -
    -
    -

    -

    Parameters

    -
    -

    $key

    -string -
    -

    Returns

    -
    object
    -
    -
    -
    -

    Remove a database connection

    -
    remove_db(string $key) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $key

    -string -
    -
    -
    -
    -

    Private constructor

    -
    __construct(string $key) 
    -
    -
    -

    -

    Parameters

    -
    -

    $key

    -string -
    -
    -
    -

    - Properties

    - 
    -

    Static array of connections

    -
    $instance 
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/DB_SQL.html b/docs/classes/DB_SQL.html deleted file mode 100644 index ed7413b..0000000 --- a/docs/classes/DB_SQL.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - - -miniMVC » \DB_SQL - - - - - - - - - - -
    - -
    - -
    -
    -

    Abstract parent for database manipulation subclasses

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageQuery
    -

    - Methods

    -
    -

    Get the 'average' keyword

    -
    avg() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get information about the columns in the -specified table

    -
    column_list($table) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -

    string

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the 'distinct' keyword

    -
    distinct() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Get database specific sql for limit clause

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

    - - - -
    abstract
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the max keyword sql

    -
    max() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the min keyword sql

    -
    min() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the sql for random ordering

    -
    random() : string
    -
    -
    -

    - - - -
    abstract
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the 'sum' keyword

    -
    sum() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list system tables

    -
    system_table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list database field types

    -
    type_list() : mixed
    -
    -
    -

    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/DB_Util.html b/docs/classes/DB_Util.html deleted file mode 100644 index 67dbe8b..0000000 --- a/docs/classes/DB_Util.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - -miniMVC » \DB_Util - - - - - - - - - - -
    - -
    - -
    -
    -

    Abstract class defining database / table creation methods

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageQuery
    -

    - Methods

    -
    -

    Enable calling driver methods

    -
    __call(string $method, array $args) 
    -
    -
    -

    -

    Parameters

    -
    -

    $method

    -string -
    -
    -

    $args

    -array -
    -
    -
    -
    -

    Save a reference to the connection object for later use

    -
    __construct(object $conn) 
    -
    -
    -

    -

    Parameters

    -
    -

    $conn

    -object

    &$conn

    -
    -
    -
    -
    -

    Return an SQL file with the database data as insert statements

    -
    backup_data() : string
    -
    -
    -

    - - - -
    abstract
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return an SQL file with the database table structure

    -
    backup_structure() : string
    -
    -
    -

    - - - -
    abstract
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get database-specific sql to create a new table

    -
    create_table(string $name, array $columns, array $constraints, array $indexes) : string
    -
    -
    -

    - - - -
    abstract
    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $columns

    -array -
    -
    -

    $constraints

    -array -
    -
    -

    $indexes

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get database-specific sql to drop a table

    -
    delete_table(string $name) : string
    -
    -
    -

    - - - -
    abstract
    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    string
    -
    -
    -

    - Properties

    - 
    -

    Reference to the current connection object

    -
    $conn 
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/Firebird.html b/docs/classes/Firebird.html deleted file mode 100644 index ef538d9..0000000 --- a/docs/classes/Firebird.html +++ /dev/null @@ -1,876 +0,0 @@ - - - - - -miniMVC » \Firebird - - - - - - - - - - -
    - -
    -
    -
    - -
    - -
    -
    -
    -

    Firebird Database class

    -
    -

    PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Open the link to the database

    -
    __construct(string $dbpath, string $user, string $pass) 
    -
    -
    -

    -

    Parameters

    -
    -

    $dbpath

    -string -
    -
    -

    $user

    -string -
    -
    -

    $pass

    -string -
    -
    -
    -
    -

    __sleep() -

    -
    __sleep() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__sleep()
    inherited_from\DB_PDO::__sleep()
    -
    -
    -
    -

    __wakeup() -

    -
    __wakeup() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__wakeup()
    inherited_from\DB_PDO::__wakeup()
    -
    -
    -
    -

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    -
    affected_rows(\PDOStatement $statement) : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::affected_rows()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Start a database transaction

    -
    beginTransaction() : bool
    -
    -
    -

    -

    Returns

    -
    bool
    -
    -
    -
    -

    Commit a database transaction

    -
    commit() : bool
    -
    -
    -

    -

    Returns

    -
    bool
    -
    -
    -
    -

    Deletes all the rows from a table. Does the same as the truncate -method if the database does not support 'TRUNCATE';

    -
    empty_table(string $table) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::empty_table()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Method to emulate PDO->errorCode

    -
    errorCode() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Method to emulate PDO->errorInfo / PDOStatement->errorInfo

    -
    errorInfo() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    exec() -

    -
    exec() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::exec()
    inherited_from\DB_PDO::exec()
    -
    -
    -
    -

    getAttribute() -

    -
    getAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAttribute()
    inherited_from\DB_PDO::getAttribute()
    -
    -
    -
    -

    getAvailableDrivers() -

    -
    getAvailableDrivers() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAvailableDrivers()
    inherited_from\DB_PDO::getAvailableDrivers()
    -
    -
    -
    -

    Retrieve column information for the current database table

    -
    get_columns(string $table) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_columns()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of dbs for the current connection, if possible

    -
    get_dbs() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_dbs()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of function for the current database

    -
    get_functions() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_functions()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return the last error for the current database connection

    -
    get_last_error() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_last_error()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return list of stored procedures for the current database

    -
    get_procedures() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_procedures()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives the data from a select query

    -
    get_query_data(\PDOStatement $statement) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_query_data()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return schemas for databases that list them

    -
    get_schemas() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_schemas()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of sequences for the current database, if they exist

    -
    get_sequences() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_sequences()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives an array of non-user-created tables for -the connection/database

    -
    get_system_tables() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_system_tables()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of tables for the current database

    -
    get_tables() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_tables()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of triggers for the current database

    -
    get_triggers() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_triggers()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve list of data types for the database

    -
    get_types() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_types()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of views for the current database

    -
    get_views() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_views()
    -

    Returns

    -
    array
    -
    -
    -
    -

    inTransaction() -

    -
    inTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::inTransaction()
    inherited_from\DB_PDO::inTransaction()
    -
    -
    -
    -

    lastInsertId() -

    -
    lastInsertId() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::lastInsertId()
    inherited_from\DB_PDO::lastInsertId()
    -
    -
    -
    -

    Return the number of rows returned for a SELECT query

    -
    num_rows() : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::num_rows()
    -

    Returns

    -
    int
    -
    -
    -
    -

    Emulate PDO prepare

    -
    prepare(string $query, array $options) : \Firebird
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $query

    -string -
    -
    -

    $options

    -array -
    -

    Returns

    - -
    -
    -
    -

    Prepare and execute a query

    -
    prepare_execute(string $sql, array $args) : resource
    -
    -
    -

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $args

    -array -
    -

    Returns

    -
    resource
    -
    -
    -
    -

    Bind a prepared query with arguments for executing

    -
    prepare_query(string $sql, array $params) : FALSE
    -
    -
    -

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Wrapper public function to better match PDO

    -
    query(string $sql) : \Firebird
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $sql

    -string -
    -

    Returns

    - -
    -
    -
    -

    Method to emulate PDO->quote

    -
    quote(string $str, int $param_type) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $str

    -string -
    -
    -

    $param_type

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Surrounds the string with the databases identifier escape characters

    -
    quote_ident(mixed $ident) : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::quote_ident()
    -

    Parameters

    -
    -

    $ident

    -mixed -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Rollback a transaction

    -
    rollBack() : bool
    -
    -
    -

    -

    Returns

    -
    bool
    -
    -
    -
    -

    setAttribute() -

    -
    setAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::setAttribute()
    inherited_from\DB_PDO::setAttribute()
    -
    -
    -
    -

    Doesn't apply to Firebird

    -
    switch_db(string $name) : FALSE
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Empty a database table

    -
    truncate(string $table) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -
    -

    Helper method for quote_ident

    -
    _quote(mixed $str) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::_quote()
    -

    Parameters

    -
    -

    $str

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Method to simplify retreiving db results for meta-data queries

    -
    driver_query(string $sql, bool $filtered_index) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::driver_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $filtered_index

    -bool -
    -

    Returns

    -
    mixed
    -
    -
    -

    - Properties

    - 
    -

    Reference to sql sub class

    -
    $sql : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$sql
    -
    -
    - 
    -

    Reference to util sub class

    -
    $util : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$util
    -
    -
    - 
    -

    Reference to the connection resource

    -
    $conn : resource
    -
    -

    -
    - 
    -

    Character to escape identifiers

    -
    $escape_char : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$escape_char
    -
    -
    - 
    -

    Reference to the last query executed

    -
    $statement : object
    -
    -

    -
    -  - 
    -

    Reference to the current transaction

    -
    $trans : resource
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/Firebird_Result.html b/docs/classes/Firebird_Result.html deleted file mode 100644 index 9070001..0000000 --- a/docs/classes/Firebird_Result.html +++ /dev/null @@ -1,512 +0,0 @@ - - - - - -miniMVC » \Firebird_Result - - - - - - - - - - -
    - -
    - -
    -
    -

    Firebird result class to emulate PDOStatement Class - only implements -data-fetching methods

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Create the object by passing the resource for -the query

    -
    __construct(resource $link) 
    -
    -
    -

    -

    Parameters

    -
    -

    $link

    -resource -
    -
    -
    -
    -

    __sleep() -

    -
    __sleep() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::__sleep()
    -
    -
    -
    -

    __wakeup() -

    -
    __wakeup() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::__wakeup()
    -
    -
    -
    -

    Invalidate method for data consistency

    -
    bindColumn(mixed $column, mixed $param, int $type, mixed $maxlen, array $driverdata) : FALSE
    -
    -
    -

    -

    Parameters

    -
    -

    $column

    -mixed -
    -
    -

    $param

    -mixed

    &$param

    -
    -
    -

    $type

    -int -
    -
    -

    $maxlen

    -mixed -
    -
    -

    $driverdata

    -array -
    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Invalidate method for data consistency

    -
    bindParam(mixed $parameter, mixed $variable, int $data_type, mixed $maxlen, array $driverdata) : FALSE
    -
    -
    -

    -

    Parameters

    -
    -

    $parameter

    -mixed -
    -
    -

    $variable

    -mixed

    &$variable

    -
    -
    -

    $data_type

    -int -
    -
    -

    $maxlen

    -mixed -
    -
    -

    $driverdata

    -array -
    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Invalidate method for data consistency

    -
    bindValue(mixed $parameter, mixed $variable, int $data_type) : FALSE
    -
    -
    -

    -

    Parameters

    -
    -

    $parameter

    -mixed -
    -
    -

    $variable

    -mixed

    &$variable

    -
    -
    -

    $data_type

    -int -
    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    closeCursor() -

    -
    closeCursor() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::closeCursor()
    -
    -
    -
    -

    columnCount() -

    -
    columnCount() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::columnCount()
    -
    -
    -
    -

    debugDumpParams() -

    -
    debugDumpParams() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::debugDumpParams()
    -
    -
    -
    -

    Method to emulate PDOStatement->errorCode

    -
    errorCode() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Method to emulate PDO->errorInfo / PDOStatement->errorInfo

    -
    errorInfo() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Run a prepared statement query

    -
    execute(array $args) : bool
    -
    -
    -

    -

    Parameters

    -
    -

    $args

    -array -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Emulate PDO fetch public function

    -
    fetch(int $fetch_style, mixed $statement, mixed $offset) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $fetch_style

    -int -
    -
    -

    $statement

    -mixed -
    -
    -

    $offset

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Emulate PDO fetchAll public function

    -
    fetchAll(int $fetch_style, mixed $statement, mixed $ctor_args) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $fetch_style

    -int -
    -
    -

    $statement

    -mixed -
    -
    -

    $ctor_args

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Emulate PDOStatement::fetchColumn

    -
    fetchColumn(int $column_num) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $column_num

    -int -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Emulate PDOStatement::fetchObject, but only for the default use

    -
    fetchObject(string $class_name, array $ctor_args) : \stdClass
    -
    -
    -

    -

    Parameters

    -
    -

    $class_name

    -string -
    -
    -

    $ctor_args

    -array -
    -

    Returns

    - -
    -
    -
    -

    getAttribute() -

    -
    getAttribute() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::getAttribute()
    -
    -
    -
    -

    getColumnMeta() -

    -
    getColumnMeta() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::getColumnMeta()
    -
    -
    -
    -

    nextRowset() -

    -
    nextRowset() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::nextRowset()
    -
    -
    -
    -

    Return the number of rows affected by the previous query

    -
    rowCount() : int
    -
    -
    -

    -

    Returns

    -
    int
    -
    -
    -
    -

    setAttribute() -

    -
    setAttribute() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::setAttribute()
    -
    -
    -
    -

    setFetchMode() -

    -
    setFetchMode() 
    -
    -
    -

    - - - -
    inherited_fromPDOStatement::setFetchMode()
    -
    -
    -

    - Properties

    - 
    -

    Data pulled from query

    -
    $result 
    -
    -
    -

    - - - -
    param<p>mixed</p>
    -
    -
    - 
    -

    Current row in result array

    -
    $row : int
    -
    -

    -
    - 
    -

    Reference to fbird resource

    -
    $statement : resource
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/Firebird_SQL.html b/docs/classes/Firebird_SQL.html deleted file mode 100644 index edc2adf..0000000 --- a/docs/classes/Firebird_SQL.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - -miniMVC » \Firebird_SQL - - - - - - - - - - -
    - -
    - -
    -
    -

    Firebird Specific SQL

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Get the 'average' keyword

    -
    avg() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::avg()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list columns of the specified table

    -
    column_list(string $table) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Get the 'distinct' keyword

    -
    distinct() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::distinct()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Limit clause

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

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the max keyword sql

    -
    max() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::max()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the min keyword sql

    -
    min() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::min()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the 'sum' keyword

    -
    sum() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::sum()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list system tables

    -
    system_table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/Firebird_Util.html b/docs/classes/Firebird_Util.html deleted file mode 100644 index d7cf0f8..0000000 --- a/docs/classes/Firebird_Util.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - -miniMVC » \Firebird_Util - - - - - - - - - - -
    - -
    - -
    -
    -

    Firebird-specific backup, import and creation methods

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Enable calling driver methods

    -
    __call(string $method, array $args) 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::__call()
    -

    Parameters

    -
    -

    $method

    -string -
    -
    -

    $args

    -array -
    -
    -
    -
    -

    Save a reference to the current connection object

    -
    __construct(object $conn) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $conn

    -object

    &$conn

    -
    -
    -
    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data(array $exclude, bool $system_tables) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $exclude

    -array -
    -
    -

    $system_tables

    -bool -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Convienience public function to generate sql for creating a db table

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

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $fields

    -array -
    -
    -

    $constraints

    -array -
    -
    -

    $indexes

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Drop the selected table

    -
    delete_table(string $name) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    string
    -
    -
    -

    - Properties

    - 
    -

    Reference to the current connection object

    -
    $conn 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::$$conn
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/MM.html b/docs/classes/MM.html index d401ff1..e164b09 100644 --- a/docs/classes/MM.html +++ b/docs/classes/MM.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -436,7 +433,7 @@ dynamic methods
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/MM_Controller.html b/docs/classes/MM_Controller.html index dea7868..13ab78f 100644 --- a/docs/classes/MM_Controller.html +++ b/docs/classes/MM_Controller.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -762,7 +759,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/MM_Data_Store.html b/docs/classes/MM_Data_Store.html index 88e492b..1e4daed 100644 --- a/docs/classes/MM_Data_Store.html +++ b/docs/classes/MM_Data_Store.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -202,7 +199,7 @@ of the singleton
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/MM_Model.html b/docs/classes/MM_Model.html index 748aadf..20cd616 100644 --- a/docs/classes/MM_Model.html +++ b/docs/classes/MM_Model.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -712,7 +709,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/MM_Output.html b/docs/classes/MM_Output.html index 6025aa0..cd6baa7 100644 --- a/docs/classes/MM_Output.html +++ b/docs/classes/MM_Output.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -642,7 +639,7 @@ Used for outputing HTML
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/MM_Page.html b/docs/classes/MM_Page.html index 90b1d7b..49ed5f8 100644 --- a/docs/classes/MM_Page.html +++ b/docs/classes/MM_Page.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -974,7 +971,7 @@ supports

    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/MM_Session.html b/docs/classes/MM_Session.html index e30c9f6..76aa76b 100644 --- a/docs/classes/MM_Session.html +++ b/docs/classes/MM_Session.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -146,7 +143,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/MySQL.html b/docs/classes/MySQL.html deleted file mode 100644 index ec313b4..0000000 --- a/docs/classes/MySQL.html +++ /dev/null @@ -1,912 +0,0 @@ - - - - - -miniMVC » \MySQL - - - - - - - - - - -
    - -
    -
    -
    - -
    - -
    -
    -
    -

    MySQL specific class

    -
    -

    Extends PDO to simplify cross-database issues

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Connect to MySQL Database

    -
    __construct(string $dsn, string $username, string $password, array $options) 
    -
    -
    -

    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $username

    -string -
    -
    -

    $password

    -string -
    -
    -

    $options

    -array -
    -
    -
    -
    -

    __sleep() -

    -
    __sleep() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__sleep()
    inherited_from\DB_PDO::__sleep()
    -
    -
    -
    -

    __wakeup() -

    -
    __wakeup() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__wakeup()
    inherited_from\DB_PDO::__wakeup()
    -
    -
    -
    -

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    -
    affected_rows(\PDOStatement $statement) : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::affected_rows()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    int
    -
    -
    -
    -

    beginTransaction() -

    -
    beginTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::beginTransaction()
    inherited_from\DB_PDO::beginTransaction()
    -
    -
    -
    -

    commit() -

    -
    commit() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::commit()
    inherited_from\DB_PDO::commit()
    -
    -
    -
    -

    Deletes all the rows from a table. Does the same as the truncate -method if the database does not support 'TRUNCATE';

    -
    empty_table(string $table) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::empty_table()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    errorCode() -

    -
    errorCode() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::errorCode()
    inherited_from\DB_PDO::errorCode()
    -
    -
    -
    -

    errorInfo() -

    -
    errorInfo() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::errorInfo()
    inherited_from\DB_PDO::errorInfo()
    -
    -
    -
    -

    exec() -

    -
    exec() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::exec()
    inherited_from\DB_PDO::exec()
    -
    -
    -
    -

    getAttribute() -

    -
    getAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAttribute()
    inherited_from\DB_PDO::getAttribute()
    -
    -
    -
    -

    getAvailableDrivers() -

    -
    getAvailableDrivers() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAvailableDrivers()
    inherited_from\DB_PDO::getAvailableDrivers()
    -
    -
    -
    -

    Retrieve column information for the current database table

    -
    get_columns(string $table) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_columns()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of dbs for the current connection, if possible

    -
    get_dbs() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_dbs()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of function for the current database

    -
    get_functions() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_functions()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return the last error for the current database connection

    -
    get_last_error() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_last_error()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return list of stored procedures for the current database

    -
    get_procedures() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_procedures()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives the data from a select query

    -
    get_query_data(\PDOStatement $statement) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_query_data()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return schemas for databases that list them

    -
    get_schemas() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_schemas()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of sequences for the current database, if they exist

    -
    get_sequences() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_sequences()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives an array of non-user-created tables for -the connection/database

    -
    get_system_tables() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_system_tables()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of tables for the current database

    -
    get_tables() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_tables()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of triggers for the current database

    -
    get_triggers() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_triggers()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve list of data types for the database

    -
    get_types() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_types()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of views for the current database

    -
    get_views() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_views()
    -

    Returns

    -
    array
    -
    -
    -
    -

    inTransaction() -

    -
    inTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::inTransaction()
    inherited_from\DB_PDO::inTransaction()
    -
    -
    -
    -

    lastInsertId() -

    -
    lastInsertId() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::lastInsertId()
    inherited_from\DB_PDO::lastInsertId()
    -
    -
    -
    -

    Return the number of rows returned for a SELECT query

    -
    num_rows() : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::num_rows()
    -

    Returns

    -
    int
    -
    -
    -
    -

    prepare() -

    -
    prepare() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::prepare()
    inherited_from\DB_PDO::prepare()
    -
    -
    -
    -

    Create and execute a prepared statement with the provided parameters

    -
    prepare_execute(string $sql, array $params) : \PDOStatement
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::prepare_execute()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    - -
    -
    -
    -

    Simplifies prepared statements for database queries

    -
    prepare_query(string $sql, array $data) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::prepare_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    -
    -mixedPDOStatement / FALSE
    -
    -
    -
    -

    query() -

    -
    query() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::query()
    inherited_from\DB_PDO::query()
    -
    -
    -
    -

    quote() -

    -
    quote() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::quote()
    inherited_from\DB_PDO::quote()
    -
    -
    -
    -

    Surrounds the string with the databases identifier escape characters

    -
    quote_ident(mixed $ident) : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::quote_ident()
    -

    Parameters

    -
    -

    $ident

    -mixed -
    -

    Returns

    -
    string
    -
    -
    -
    -

    rollBack() -

    -
    rollBack() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::rollBack()
    inherited_from\DB_PDO::rollBack()
    -
    -
    -
    -

    setAttribute() -

    -
    setAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::setAttribute()
    inherited_from\DB_PDO::setAttribute()
    -
    -
    -
    -

    Connect to a different database

    -
    switch_db(string $name) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -
    -
    -

    Empty a table

    -
    truncate(string $table) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -
    -

    Helper method for quote_ident

    -
    _quote(mixed $str) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::_quote()
    -

    Parameters

    -
    -

    $str

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Method to simplify retreiving db results for meta-data queries

    -
    driver_query(string $sql, bool $filtered_index) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::driver_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $filtered_index

    -bool -
    -

    Returns

    -
    mixed
    -
    -
    -

    - Properties

    - 
    -

    Reference to sql sub class

    -
    $sql : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$sql
    -
    -
    - 
    -

    Reference to util sub class

    -
    $util : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$util
    -
    -
    - 
    -

    Set the backtick as the MySQL escape character

    -
    $escape_char : string
    -
    -

    -
    - 
    -

    Reference to the last executed query

    -
    $statement : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$statement
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/MySQL_SQL.html b/docs/classes/MySQL_SQL.html deleted file mode 100644 index 1c48d5f..0000000 --- a/docs/classes/MySQL_SQL.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - -miniMVC » \MySQL_SQL - - - - - - - - - - -
    - -
    - -
    -
    -

    MySQL specifc SQL

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Get the 'average' keyword

    -
    avg() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::avg()
    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show infromation about columns in a table

    -
    column_list(string $table) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the 'distinct' keyword

    -
    distinct() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::distinct()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Limit clause

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

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the max keyword sql

    -
    max() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::max()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the min keyword sql

    -
    min() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::min()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Get the 'sum' keyword

    -
    sum() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::sum()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Overridden in MySQL class

    -
    system_table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list(string $database) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $database

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/MySQL_Util.html b/docs/classes/MySQL_Util.html deleted file mode 100644 index ff0b4a0..0000000 --- a/docs/classes/MySQL_Util.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - -miniMVC » \MySQL_Util - - - - - - - - - - -
    - -
    - -
    -
    -

    MySQL-specific backup, import and creation methods

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Enable calling driver methods

    -
    __call(string $method, array $args) 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::__call()
    -

    Parameters

    -
    -

    $method

    -string -
    -
    -

    $args

    -array -
    -
    -
    -
    -

    Save a reference to the current connection object

    -
    __construct(object $conn) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $conn

    -object

    &$conn

    -
    -
    -
    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data(array $exclude) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $exclude

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Convienience public function for creating a new MySQL table

    -
    create_table(string $name, array $columns, array $constraints, array $indexes) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $columns

    -array -
    -
    -

    $constraints

    -array -
    -
    -

    $indexes

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Convience public function for droping a table

    -
    delete_table(string $name) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    string
    -
    -
    -

    - Properties

    - 
    -

    Reference to the current connection object

    -
    $conn 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::$$conn
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/ODBC.html b/docs/classes/ODBC.html deleted file mode 100644 index b70fcd4..0000000 --- a/docs/classes/ODBC.html +++ /dev/null @@ -1,914 +0,0 @@ - - - - - -miniMVC » \ODBC - - - - - - - - - - -
    - -
    -
    -
    - -
    - -
    -
    -
    -

    ODBC Database Driver

    -
    -

    For general database access for databases not specified by the main drivers

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Use ODBC to connect to a database

    -
    __construct(string $dsn, string $username, string $password, array $options) 
    -
    -
    -

    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $username

    -string -
    -
    -

    $password

    -string -
    -
    -

    $options

    -array -
    -
    -
    -
    -

    __sleep() -

    -
    __sleep() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__sleep()
    inherited_from\DB_PDO::__sleep()
    -
    -
    -
    -

    __wakeup() -

    -
    __wakeup() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__wakeup()
    inherited_from\DB_PDO::__wakeup()
    -
    -
    -
    -

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    -
    affected_rows(\PDOStatement $statement) : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::affected_rows()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    int
    -
    -
    -
    -

    beginTransaction() -

    -
    beginTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::beginTransaction()
    inherited_from\DB_PDO::beginTransaction()
    -
    -
    -
    -

    commit() -

    -
    commit() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::commit()
    inherited_from\DB_PDO::commit()
    -
    -
    -
    -

    Deletes all the rows from a table. Does the same as the truncate -method if the database does not support 'TRUNCATE';

    -
    empty_table(string $table) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::empty_table()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    errorCode() -

    -
    errorCode() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::errorCode()
    inherited_from\DB_PDO::errorCode()
    -
    -
    -
    -

    errorInfo() -

    -
    errorInfo() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::errorInfo()
    inherited_from\DB_PDO::errorInfo()
    -
    -
    -
    -

    exec() -

    -
    exec() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::exec()
    inherited_from\DB_PDO::exec()
    -
    -
    -
    -

    getAttribute() -

    -
    getAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAttribute()
    inherited_from\DB_PDO::getAttribute()
    -
    -
    -
    -

    getAvailableDrivers() -

    -
    getAvailableDrivers() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAvailableDrivers()
    inherited_from\DB_PDO::getAvailableDrivers()
    -
    -
    -
    -

    Retrieve column information for the current database table

    -
    get_columns(string $table) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_columns()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of dbs for the current connection, if possible

    -
    get_dbs() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_dbs()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of function for the current database

    -
    get_functions() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_functions()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return the last error for the current database connection

    -
    get_last_error() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_last_error()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return list of stored procedures for the current database

    -
    get_procedures() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_procedures()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives the data from a select query

    -
    get_query_data(\PDOStatement $statement) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_query_data()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return schemas for databases that list them

    -
    get_schemas() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_schemas()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of sequences for the current database, if they exist

    -
    get_sequences() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_sequences()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives an array of non-user-created tables for -the connection/database

    -
    get_system_tables() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_system_tables()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of tables for the current database

    -
    get_tables() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_tables()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of triggers for the current database

    -
    get_triggers() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_triggers()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve list of data types for the database

    -
    get_types() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_types()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of views for the current database

    -
    get_views() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_views()
    -

    Returns

    -
    array
    -
    -
    -
    -

    inTransaction() -

    -
    inTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::inTransaction()
    inherited_from\DB_PDO::inTransaction()
    -
    -
    -
    -

    lastInsertId() -

    -
    lastInsertId() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::lastInsertId()
    inherited_from\DB_PDO::lastInsertId()
    -
    -
    -
    -

    Return the number of rows returned for a SELECT query

    -
    num_rows() : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::num_rows()
    -

    Returns

    -
    int
    -
    -
    -
    -

    prepare() -

    -
    prepare() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::prepare()
    inherited_from\DB_PDO::prepare()
    -
    -
    -
    -

    Create and execute a prepared statement with the provided parameters

    -
    prepare_execute(string $sql, array $params) : \PDOStatement
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::prepare_execute()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    - -
    -
    -
    -

    Simplifies prepared statements for database queries

    -
    prepare_query(string $sql, array $data) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::prepare_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    -
    -mixedPDOStatement / FALSE
    -
    -
    -
    -

    query() -

    -
    query() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::query()
    inherited_from\DB_PDO::query()
    -
    -
    -
    -

    quote() -

    -
    quote() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::quote()
    inherited_from\DB_PDO::quote()
    -
    -
    -
    -

    Surrounds the string with the databases identifier escape characters

    -
    quote_ident(mixed $ident) : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::quote_ident()
    -

    Parameters

    -
    -

    $ident

    -mixed -
    -

    Returns

    -
    string
    -
    -
    -
    -

    rollBack() -

    -
    rollBack() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::rollBack()
    inherited_from\DB_PDO::rollBack()
    -
    -
    -
    -

    setAttribute() -

    -
    setAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::setAttribute()
    inherited_from\DB_PDO::setAttribute()
    -
    -
    -
    -

    Doesn't apply to ODBC

    -
    switch_db(string $name) : bool
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    bool
    -
    -
    -
    -

    Empty the current database

    -
    truncate(string $table) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -
    -

    Helper method for quote_ident

    -
    _quote(mixed $str) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::_quote()
    -

    Parameters

    -
    -

    $str

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Method to simplify retreiving db results for meta-data queries

    -
    driver_query(string $sql, bool $filtered_index) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::driver_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $filtered_index

    -bool -
    -

    Returns

    -
    mixed
    -
    -
    -

    - Properties

    - 
    -

    Reference to sql sub class

    -
    $sql : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$sql
    -
    -
    - 
    -

    Reference to util sub class

    -
    $util : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$util
    -
    -
    - 
    -

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

    -
    $escape_char : string
    -
    -

    -
    - 
    -

    Reference to the last executed query

    -
    $statement : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$statement
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/ODBC_SQL.html b/docs/classes/ODBC_SQL.html deleted file mode 100644 index f973ba7..0000000 --- a/docs/classes/ODBC_SQL.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - -miniMVC » \ODBC_SQL - - - - - - - - - - -
    - -
    - -
    -
    -

    ODBC SQL Class

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Get the 'average' keyword

    -
    avg() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::avg()
    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show infromation about columns in a table

    -
    column_list(string $table) : FALSE
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Get the 'distinct' keyword

    -
    distinct() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::distinct()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Limit clause

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

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the max keyword sql

    -
    max() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::max()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the min keyword sql

    -
    min() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::min()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Get the 'sum' keyword

    -
    sum() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::sum()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list system tables

    -
    system_table_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/ODBC_Util.html b/docs/classes/ODBC_Util.html deleted file mode 100644 index 49803b7..0000000 --- a/docs/classes/ODBC_Util.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - -miniMVC » \ODBC_Util - - - - - - - - - - -
    - -
    - -
    -
    -

    ODBC-specific backup, import and creation methods

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Enable calling driver methods

    -
    __call(string $method, array $args) 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::__call()
    -

    Parameters

    -
    -

    $method

    -string -
    -
    -

    $args

    -array -
    -
    -
    -
    -

    Save a reference to the current connection object

    -
    __construct(object $conn) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $conn

    -object

    &$conn

    -
    -
    -
    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Database-specific method to create a new table

    -
    create_table(string $name, array $columns, array $constraints, array $indexes) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $columns

    -array -
    -
    -

    $constraints

    -array -
    -
    -

    $indexes

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Remove a table from the database

    -
    delete_table(string $name) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    string
    -
    -
    -

    - Properties

    - 
    -

    Reference to the current connection object

    -
    $conn 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::$$conn
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/PHP_Session.html b/docs/classes/PHP_Session.html deleted file mode 100644 index 42a6b9a..0000000 --- a/docs/classes/PHP_Session.html +++ /dev/null @@ -1,633 +0,0 @@ - - - - - -miniMVC » \PHP_Session - - - - - - - - - - -
    - -
    - -
    -
    -

    Class to improve handling of PHP sessions

    -
    -

    - - - - - - - - - -
    packageminiMVC
    subpackageLibraries
    -

    - Methods

    -
    -

    Allow calling of array methods on the object and -dynamic methods

    -
    __call(string $name, array $params) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\MM::__call()
    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Retreive a session value

    -
    __get(string $key) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $key

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Set a session value

    -
    __set(string $key, mixed $val) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $key

    -string -
    -
    -

    $val

    -mixed -
    -
    -
    -
    -

    append() -

    -
    append() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::append()
    inherited_from\MM::append()
    -
    -
    -
    -

    asort() -

    -
    asort() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::asort()
    inherited_from\MM::asort()
    -
    -
    -
    -

    count() -

    -
    count() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::count()
    inherited_from\MM::count()
    -
    -
    -
    -

    Destroy a session

    -
    destroy() : void
    -
    -

    -
    -
    -

    exchangeArray() -

    -
    exchangeArray() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::exchangeArray()
    inherited_from\MM::exchangeArray()
    -
    -
    -
    -

    getArrayCopy() -

    -
    getArrayCopy() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::getArrayCopy()
    inherited_from\MM::getArrayCopy()
    -
    -
    -
    -

    getFlags() -

    -
    getFlags() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::getFlags()
    inherited_from\MM::getFlags()
    -
    -
    -
    -

    getIterator() -

    -
    getIterator() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::getIterator()
    inherited_from\MM::getIterator()
    -
    -
    -
    -

    getIteratorClass() -

    -
    getIteratorClass() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::getIteratorClass()
    inherited_from\MM::getIteratorClass()
    -
    -
    -
    -

    Return or create singleton

    -
    get_instance() : \PHP_Session
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    ksort() -

    -
    ksort() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::ksort()
    inherited_from\MM::ksort()
    -
    -
    -
    -

    natcasesort() -

    -
    natcasesort() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::natcasesort()
    inherited_from\MM::natcasesort()
    -
    -
    -
    -

    natsort() -

    -
    natsort() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::natsort()
    inherited_from\MM::natsort()
    -
    -
    -
    -

    offsetExists() -

    -
    offsetExists() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::offsetExists()
    inherited_from\MM::offsetExists()
    -
    -
    -
    -

    offsetGet() -

    -
    offsetGet() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::offsetGet()
    inherited_from\MM::offsetGet()
    -
    -
    -
    -

    offsetSet() -

    -
    offsetSet() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::offsetSet()
    inherited_from\MM::offsetSet()
    -
    -
    -
    -

    offsetUnset() -

    -
    offsetUnset() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::offsetUnset()
    inherited_from\MM::offsetUnset()
    -
    -
    -
    -

    serialize() -

    -
    serialize() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::serialize()
    inherited_from\MM::serialize()
    -
    -
    -
    -

    setFlags() -

    -
    setFlags() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::setFlags()
    inherited_from\MM::setFlags()
    -
    -
    -
    -

    setIteratorClass() -

    -
    setIteratorClass() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::setIteratorClass()
    inherited_from\MM::setIteratorClass()
    -
    -
    -
    -

    uasort() -

    -
    uasort() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::uasort()
    inherited_from\MM::uasort()
    -
    -
    -
    -

    uksort() -

    -
    uksort() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::uksort()
    inherited_from\MM::uksort()
    -
    -
    -
    -

    unserialize() -

    -
    unserialize() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromArrayObject::unserialize()
    inherited_from\MM::unserialize()
    -
    -
    -
    -

    Start a session

    -
    __construct() 
    -
    -

    -
    -

    - Properties

    - 
    -

    Instance of the current class

    -
    $instance : \PHP_Session
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/PgSQL.html b/docs/classes/PgSQL.html deleted file mode 100644 index dcb2b9e..0000000 --- a/docs/classes/PgSQL.html +++ /dev/null @@ -1,914 +0,0 @@ - - - - - -miniMVC » \PgSQL - - - - - - - - - - -
    - -
    -
    -
    - -
    - -
    -
    -
    -

    PostgreSQL specifc class

    -
    -

    Extends PDO to simplify cross-database issues

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Connect to a PosgreSQL database

    -
    __construct(string $dsn, string $username, string $password, array $options) 
    -
    -
    -

    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $username

    -string -
    -
    -

    $password

    -string -
    -
    -

    $options

    -array -
    -
    -
    -
    -

    __sleep() -

    -
    __sleep() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__sleep()
    inherited_from\DB_PDO::__sleep()
    -
    -
    -
    -

    __wakeup() -

    -
    __wakeup() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__wakeup()
    inherited_from\DB_PDO::__wakeup()
    -
    -
    -
    -

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    -
    affected_rows(\PDOStatement $statement) : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::affected_rows()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    int
    -
    -
    -
    -

    beginTransaction() -

    -
    beginTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::beginTransaction()
    inherited_from\DB_PDO::beginTransaction()
    -
    -
    -
    -

    commit() -

    -
    commit() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::commit()
    inherited_from\DB_PDO::commit()
    -
    -
    -
    -

    Deletes all the rows from a table. Does the same as the truncate -method if the database does not support 'TRUNCATE';

    -
    empty_table(string $table) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::empty_table()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    errorCode() -

    -
    errorCode() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::errorCode()
    inherited_from\DB_PDO::errorCode()
    -
    -
    -
    -

    errorInfo() -

    -
    errorInfo() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::errorInfo()
    inherited_from\DB_PDO::errorInfo()
    -
    -
    -
    -

    exec() -

    -
    exec() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::exec()
    inherited_from\DB_PDO::exec()
    -
    -
    -
    -

    getAttribute() -

    -
    getAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAttribute()
    inherited_from\DB_PDO::getAttribute()
    -
    -
    -
    -

    getAvailableDrivers() -

    -
    getAvailableDrivers() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAvailableDrivers()
    inherited_from\DB_PDO::getAvailableDrivers()
    -
    -
    -
    -

    Retrieve column information for the current database table

    -
    get_columns(string $table) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_columns()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of dbs for the current connection, if possible

    -
    get_dbs() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_dbs()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of function for the current database

    -
    get_functions() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_functions()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return the last error for the current database connection

    -
    get_last_error() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_last_error()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return list of stored procedures for the current database

    -
    get_procedures() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_procedures()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives the data from a select query

    -
    get_query_data(\PDOStatement $statement) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_query_data()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Get a list of schemas for the current connection

    -
    get_schemas() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of sequences for the current database, if they exist

    -
    get_sequences() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_sequences()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives an array of non-user-created tables for -the connection/database

    -
    get_system_tables() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_system_tables()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of tables for the current database

    -
    get_tables() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_tables()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of triggers for the current database

    -
    get_triggers() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_triggers()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve list of data types for the database

    -
    get_types() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_types()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of views for the current database

    -
    get_views() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_views()
    -

    Returns

    -
    array
    -
    -
    -
    -

    inTransaction() -

    -
    inTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::inTransaction()
    inherited_from\DB_PDO::inTransaction()
    -
    -
    -
    -

    lastInsertId() -

    -
    lastInsertId() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::lastInsertId()
    inherited_from\DB_PDO::lastInsertId()
    -
    -
    -
    -

    Return the number of rows returned for a SELECT query

    -
    num_rows() : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::num_rows()
    -

    Returns

    -
    int
    -
    -
    -
    -

    prepare() -

    -
    prepare() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::prepare()
    inherited_from\DB_PDO::prepare()
    -
    -
    -
    -

    Create and execute a prepared statement with the provided parameters

    -
    prepare_execute(string $sql, array $params) : \PDOStatement
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::prepare_execute()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    - -
    -
    -
    -

    Simplifies prepared statements for database queries

    -
    prepare_query(string $sql, array $data) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::prepare_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    -
    -mixedPDOStatement / FALSE
    -
    -
    -
    -

    query() -

    -
    query() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::query()
    inherited_from\DB_PDO::query()
    -
    -
    -
    -

    quote() -

    -
    quote() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::quote()
    inherited_from\DB_PDO::quote()
    -
    -
    -
    -

    Surrounds the string with the databases identifier escape characters

    -
    quote_ident(mixed $ident) : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::quote_ident()
    -

    Parameters

    -
    -

    $ident

    -mixed -
    -

    Returns

    -
    string
    -
    -
    -
    -

    rollBack() -

    -
    rollBack() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::rollBack()
    inherited_from\DB_PDO::rollBack()
    -
    -
    -
    -

    setAttribute() -

    -
    setAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::setAttribute()
    inherited_from\DB_PDO::setAttribute()
    -
    -
    -
    -

    Connect to a different database

    -
    switch_db(string $name) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -
    -
    -

    Empty a table

    -
    truncate(string $table) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -
    -

    Helper method for quote_ident

    -
    _quote(mixed $str) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::_quote()
    -

    Parameters

    -
    -

    $str

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Method to simplify retreiving db results for meta-data queries

    -
    driver_query(string $sql, bool $filtered_index) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::driver_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $filtered_index

    -bool -
    -

    Returns

    -
    mixed
    -
    -
    -

    - Properties

    - 
    -

    Reference to sql sub class

    -
    $sql : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$sql
    -
    -
    - 
    -

    Reference to util sub class

    -
    $util : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$util
    -
    -
    - 
    -

    Character to escape identifiers

    -
    $escape_char : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$escape_char
    -
    -
    - 
    -

    Reference to the last executed query

    -
    $statement : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$statement
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/PgSQL_SQL.html b/docs/classes/PgSQL_SQL.html deleted file mode 100644 index 8290f2b..0000000 --- a/docs/classes/PgSQL_SQL.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - -miniMVC » \PgSQL_SQL - - - - - - - - - - -
    - -
    - -
    -
    -

    PostgreSQL specifc SQL

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Get the 'average' keyword

    -
    avg() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::avg()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list columns of the specified table

    -
    column_list(string $table) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the 'distinct' keyword

    -
    distinct() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::distinct()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Limit clause

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

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the max keyword sql

    -
    max() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::max()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the min keyword sql

    -
    min() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::min()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the 'sum' keyword

    -
    sum() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::sum()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list system tables

    -
    system_table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/PgSQL_Util.html b/docs/classes/PgSQL_Util.html deleted file mode 100644 index ce7af01..0000000 --- a/docs/classes/PgSQL_Util.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - -miniMVC » \PgSQL_Util - - - - - - - - - - -
    - -
    - -
    -
    -

    Posgres-specific backup, import and creation methods

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Enable calling driver methods

    -
    __call(string $method, array $args) 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::__call()
    -

    Parameters

    -
    -

    $method

    -string -
    -
    -

    $args

    -array -
    -
    -
    -
    -

    Save a reference to the current connection object

    -
    __construct(object $conn) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $conn

    -object

    &$conn

    -
    -
    -
    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data(array $exclude) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $exclude

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Database-specific method to create a new table

    -
    create_table(string $name, array $columns, array $constraints, array $indexes) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $columns

    -array -
    -
    -

    $constraints

    -array -
    -
    -

    $indexes

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Database-specific SQL for dropping a table

    -
    delete_table(string $name) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    string
    -
    -
    -

    - Properties

    - 
    -

    Reference to the current connection object

    -
    $conn 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::$$conn
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/Query_Builder.html b/docs/classes/Query_Builder.html deleted file mode 100644 index a5817ab..0000000 --- a/docs/classes/Query_Builder.html +++ /dev/null @@ -1,1230 +0,0 @@ - - - - - -miniMVC » \Query_Builder - - - - - - - - - - -
    - -
    -
    -
    - -
    - -
    -
    -
    -

    Convienience class for creating sql queries - also the class that -instantiates the specific db driver

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageQuery
    -

    - Methods

    -
    -

    Calls a function further down the inheritence chain

    -
    __call(string $name, array $params) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Constructor

    -
    __construct(object $params) 
    -
    -
    -

    -

    Parameters

    -
    -

    $params

    -object
      -
    • the connection parametere
    • -
    -
    -
    -
    -
    -

    Retreive the number of rows in the selected table

    -
    count_all(string $table) : int
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Retrieve the number of results for the generated query - used -in place of the get() method

    -
    count_all_results(string $table) : int
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    int
    -
    -
    -
    -

    Deletes data from a table

    -
    delete(string $table, mixed $where) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $where

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Adds the 'distinct' keyword to a query

    -
    distinct() : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Specify the database table to select from

    -
    from(string $dbname) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $dbname

    -string -
    -

    Returns

    - -
    -
    -
    -

    Select and retrieve all records from the current table, and/or -execute current compiled query

    -
    get($table, int $limit, int $offset) : object
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    - -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    object
    -
    -
    -
    -

    Convience method for get() with a where clause

    -
    get_where(string $table, array $where, int $limit, int $offset) : object
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $where

    -array -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    object
    -
    -
    -
    -

    Group the results by the selected field(s)

    -
    group_by(mixed $field) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Ends a query group

    -
    group_end() : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping

    -
    group_start() : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Generates a 'Having' clause

    -
    having(mixed $key, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates an insert clause, and executes it

    -
    insert(string $table, mixed $data) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Creates a join phrase in a compiled query

    -
    join(string $table, string $condition, string $type) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $condition

    -string -
    -
    -

    $type

    -string -
    -

    Returns

    - -
    -
    - -
    -

    Set a limit on the current sql statement

    -
    limit(int $limit, int $offset) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Generates a NOT LIKE clause

    -
    not_like(string $field, mixed $val, string $pos) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping, -prefixed with 'OR'

    -
    or_group_start() : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Generates a 'Having' clause prefixed with 'OR'

    -
    or_having(mixed $key, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Generates an OR Like clause

    -
    or_like(string $field, mixed $val, string $pos) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Adds a paren to the current query for query grouping, -prefixed with 'OR NOT'

    -
    or_not_group_start() : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Returns

    - -
    -
    -
    -

    Generates a OR NOT LIKE clause

    -
    or_not_like(string $field, mixed $val, string $pos) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -

    Returns

    - -
    -
    -
    -

    Where clause prefixed with "OR"

    -
    or_where(string $key, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Where in statement prefixed with "or"

    -
    or_where_in(string $field, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    OR WHERE NOT IN (FOO) clause

    -
    or_where_not_in(string $field, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Order the results by the selected field(s)

    -
    order_by(string $field, string $type) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $type

    -string -
    -

    Returns

    - -
    -
    -
    -

    Specifies rows to select in a query

    -
    select(string $fields) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $fields

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the average value of a field from a query

    -
    select_avg(string $field, string $as) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the maximum value of a field from a query

    -
    select_max(string $field, string $as) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the minimum value of a field from a query

    -
    select_min(string $field, string $as) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Selects the sum of a field from a query

    -
    select_sum(string $field, string $as) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $as

    -string -
    -

    Returns

    - -
    -
    -
    -

    Sets values for inserts / updates / deletes

    -
    set(mixed $key, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Creates an update clause, and executes it

    -
    update(string $table, mixed $data) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -

    $data

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Specify condition(s) in the where clause of a query -Note: this function works with key / value, or a -passed array with key / value pairs

    -
    where(mixed $key, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    Where clause with 'IN' statement

    -
    where_in(mixed $field, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    WHERE NOT IN (FOO) clause

    -
    where_not_in(string $field, mixed $val) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -

    Returns

    - -
    -
    -
    -

    String together the sql statements for sending to the db

    -
    _compile(string $type, string $table) : \$string
    -
    -
    -

    -

    Parameters

    -
    -

    $type

    -string -
    -
    -

    $table

    -string -
    -

    Returns

    -
    \$string
    -
    -
    -
    -

    Simplify building having clauses

    -
    _having(mixed $key, mixed $val, string $conj) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $conj

    -string -
    -

    Returns

    - -
    -
    -
    -

    Simplify 'like' methods

    -
    _like(string $field, mixed $val, string $pos, string $like, string $conj) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $field

    -string -
    -
    -

    $val

    -mixed -
    -
    -

    $pos

    -string -
    -
    -

    $like

    -string -
    -
    -

    $conj

    -string -
    -

    Returns

    - -
    -
    -
    -

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

    -
    _reset() : void
    -
    -

    -
    -
    -

    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
    -
    -
    -

    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Simplify where_in methods

    -
    _where_in(mixed $key, mixed $val, $in, $conj) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $in

    -

    string

    -
    -

    $conj

    -

    string

    -

    Returns

    - -
    -
    -
    -

    Simplify generating where string

    -
    _where_string(mixed $key, mixed $val, string $conj) : \Query_Builder
    -
    -
    -

    - - - -
    fluentThis method is part of a fluent interface and will return the same instance
    -

    Parameters

    -
    -

    $key

    -mixed -
    -
    -

    $val

    -mixed -
    -
    -

    $conj

    -string -
    -

    Returns

    - -
    -
    -

    - Properties

    - 
    -

    Convenience property for connection management

    -
    $conn_name : string
    -
    -

    -
    - 
    -

    Alias to $this->db->sql

    -
    $sql : \DB_PDO
    -
    -

    -
    - 
    -

    Compiled 'from' clause

    -
    $from_string : string
    -
    -

    -
    - 
    -

    Key/val pairs for group by clause

    -
    $group_array : array
    -
    -

    -
    - 
    -

    Group by clause

    -
    $group_string : string
    -
    -

    -
    - 
    -

    Map for having clause

    -
    $having_map : array
    -
    -

    -
    - 
    -

    Value for limit string

    -
    $limit : int
    -
    -

    -
    - 
    -

    Value for offset in limit string

    -
    $offset : int
    -
    -

    -
    - 
    -

    Key/val pairs for order by clause

    -
    $order_array : array
    -
    -

    -
    - 
    -

    Order by clause

    -
    $order_string : string
    -
    -

    -
    - 
    -

    Query component order mapping -for complex select queries

    -
    $query_map : array
    -
    -

    Format:

    - -

    array( - 'type' => 'where', - 'conjunction' => ' AND ', - 'string' => 'k=?' -)

    -
    - 
    -

    Compiled 'select' clause

    -
    $select_string : string
    -
    -

    -
    - 
    -

    Keys for insert/update statement

    -
    $set_array_keys : array
    -
    -

    -
    - 
    -

    Compiled arguments for insert / update

    -
    $set_string : string
    -
    -

    -
    - 
    -

    Values to apply to prepared statements

    -
    $values : array
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/SQLite.html b/docs/classes/SQLite.html deleted file mode 100644 index 9000fe5..0000000 --- a/docs/classes/SQLite.html +++ /dev/null @@ -1,929 +0,0 @@ - - - - - -miniMVC » \SQLite - - - - - - - - - - -
    - -
    -
    -
    - -
    - -
    -
    -
    -

    SQLite specific class

    -
    -

    Extends PDO to simplify cross-database issues

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Open SQLite Database

    -
    __construct(string $dsn, string $user, string $pass) 
    -
    -
    -

    -

    Parameters

    -
    -

    $dsn

    -string -
    -
    -

    $user

    -string -
    -
    -

    $pass

    -string -
    -
    -
    -
    -

    __sleep() -

    -
    __sleep() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__sleep()
    inherited_from\DB_PDO::__sleep()
    -
    -
    -
    -

    __wakeup() -

    -
    __wakeup() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::__wakeup()
    inherited_from\DB_PDO::__wakeup()
    -
    -
    -
    -

    Returns number of rows affected by an INSERT, UPDATE, DELETE type query

    -
    affected_rows(\PDOStatement $statement) : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::affected_rows()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    int
    -
    -
    -
    -

    beginTransaction() -

    -
    beginTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::beginTransaction()
    inherited_from\DB_PDO::beginTransaction()
    -
    -
    -
    -

    commit() -

    -
    commit() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::commit()
    inherited_from\DB_PDO::commit()
    -
    -
    -
    -

    Deletes all the rows from a table. Does the same as the truncate -method if the database does not support 'TRUNCATE';

    -
    empty_table(string $table) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::empty_table()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    errorCode() -

    -
    errorCode() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::errorCode()
    inherited_from\DB_PDO::errorCode()
    -
    -
    -
    -

    errorInfo() -

    -
    errorInfo() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::errorInfo()
    inherited_from\DB_PDO::errorInfo()
    -
    -
    -
    -

    exec() -

    -
    exec() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::exec()
    inherited_from\DB_PDO::exec()
    -
    -
    -
    -

    getAttribute() -

    -
    getAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAttribute()
    inherited_from\DB_PDO::getAttribute()
    -
    -
    -
    -

    getAvailableDrivers() -

    -
    getAvailableDrivers() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::getAvailableDrivers()
    inherited_from\DB_PDO::getAvailableDrivers()
    -
    -
    -
    -

    Retrieve column information for the current database table

    -
    get_columns(string $table) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_columns()
    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of dbs for the current connection, if possible

    -
    get_dbs() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_dbs()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of function for the current database

    -
    get_functions() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_functions()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return the last error for the current database connection

    -
    get_last_error() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_last_error()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return list of stored procedures for the current database

    -
    get_procedures() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_procedures()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retreives the data from a select query

    -
    get_query_data(\PDOStatement $statement) : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_query_data()
    -

    Parameters

    -
    -

    $statement

    -\PDOStatement -
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return schemas for databases that list them

    -
    get_schemas() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_schemas()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of sequences for the current database, if they exist

    -
    get_sequences() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_sequences()
    -

    Returns

    -
    array
    -
    -
    -
    -

    List system tables for the current database

    -
    get_system_tables() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    List tables for the current database

    -
    get_tables() : mixed
    -
    -
    -

    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Return list of triggers for the current database

    -
    get_triggers() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_triggers()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Retrieve list of data types for the database

    -
    get_types() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_types()
    -

    Returns

    -
    array
    -
    -
    -
    -

    Return list of views for the current database

    -
    get_views() : array
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::get_views()
    -

    Returns

    -
    array
    -
    -
    -
    -

    inTransaction() -

    -
    inTransaction() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::inTransaction()
    inherited_from\DB_PDO::inTransaction()
    -
    -
    -
    -

    lastInsertId() -

    -
    lastInsertId() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::lastInsertId()
    inherited_from\DB_PDO::lastInsertId()
    -
    -
    -
    -

    Load a database for the current connection

    -
    load_database(string $db, string $name) 
    -
    -
    -

    -

    Parameters

    -
    -

    $db

    -string -
    -
    -

    $name

    -string -
    -
    -
    -
    -

    Return the number of rows returned for a SELECT query

    -
    num_rows() : int
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::num_rows()
    -

    Returns

    -
    int
    -
    -
    -
    -

    prepare() -

    -
    prepare() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::prepare()
    inherited_from\DB_PDO::prepare()
    -
    -
    -
    -

    Create and execute a prepared statement with the provided parameters

    -
    prepare_execute(string $sql, array $params) : \PDOStatement
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::prepare_execute()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $params

    -array -
    -

    Returns

    - -
    -
    -
    -

    Simplifies prepared statements for database queries

    -
    prepare_query(string $sql, array $data) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::prepare_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $data

    -array -
    -

    Returns

    -
    -mixedPDOStatement / FALSE
    -
    -
    -
    -

    query() -

    -
    query() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::query()
    inherited_from\DB_PDO::query()
    -
    -
    -
    -

    quote() -

    -
    quote() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::quote()
    inherited_from\DB_PDO::quote()
    -
    -
    -
    -

    Surrounds the string with the databases identifier escape characters

    -
    quote_ident(mixed $ident) : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::quote_ident()
    -

    Parameters

    -
    -

    $ident

    -mixed -
    -

    Returns

    -
    string
    -
    -
    -
    -

    rollBack() -

    -
    rollBack() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::rollBack()
    inherited_from\DB_PDO::rollBack()
    -
    -
    -
    -

    setAttribute() -

    -
    setAttribute() 
    -
    Inherited
    -
    -

    - - - - - - - - - -
    inherited_fromPDO::setAttribute()
    inherited_from\DB_PDO::setAttribute()
    -
    -
    -
    -

    Doesn't apply to sqlite

    -
    switch_db(string $name) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -
    -
    -

    Empty a table

    -
    truncate(string $table) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -
    -
    -
    -

    Unload a database from the current connection

    -
    unload_database(string $name) 
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -
    -
    -

    Helper method for quote_ident

    -
    _quote(mixed $str) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::_quote()
    -

    Parameters

    -
    -

    $str

    -mixed -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Method to simplify retreiving db results for meta-data queries

    -
    driver_query(string $sql, bool $filtered_index) : mixed
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::driver_query()
    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $filtered_index

    -bool -
    -

    Returns

    -
    mixed
    -
    -
    -

    - Properties

    - 
    -

    Reference to sql sub class

    -
    $sql : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$sql
    -
    -
    - 
    -

    Reference to util sub class

    -
    $util : Object
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$util
    -
    -
    - 
    -

    Character to escape identifiers

    -
    $escape_char : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_PDO::$$escape_char
    -
    -
    - 
    -

    Reference to the last executed sql query

    -
    $statement : \PDOStatement
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/SQLite_SQL.html b/docs/classes/SQLite_SQL.html deleted file mode 100644 index 66f67a3..0000000 --- a/docs/classes/SQLite_SQL.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - -miniMVC » \SQLite_SQL - - - - - - - - - - -
    - -
    - -
    -
    -

    SQLite Specific SQL

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Get the 'average' keyword

    -
    avg() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::avg()
    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to show infromation about columns in a table

    -
    column_list(string $table) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $table

    -string -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list other databases

    -
    db_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Get the 'distinct' keyword

    -
    distinct() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::distinct()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list functions

    -
    function_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Limit clause

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

    -

    Parameters

    -
    -

    $sql

    -string -
    -
    -

    $limit

    -int -
    -
    -

    $offset

    -int -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the max keyword sql

    -
    max() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::max()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Get the min keyword sql

    -
    min() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::min()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list stored procedures

    -
    procedure_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Random ordering keyword

    -
    random() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Return sql to list sequences

    -
    sequence_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    Get the 'sum' keyword

    -
    sum() : string
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_SQL::sum()
    -

    Returns

    -
    string
    -
    -
    -
    -

    Overridden in SQLite class

    -
    system_table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list tables

    -
    table_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Returns sql to list triggers

    -
    trigger_list() : FALSE
    -
    -
    -

    -

    Returns

    -
    FALSE
    -
    -
    -
    -

    SQL to show list of field types

    -
    type_list() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Returns sql to list views

    -
    view_list() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/SQLite_Util.html b/docs/classes/SQLite_Util.html deleted file mode 100644 index d55f7b7..0000000 --- a/docs/classes/SQLite_Util.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - -miniMVC » \SQLite_Util - - - - - - - - - - -
    - -
    - -
    -
    -

    SQLite-specific backup, import and creation methods

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageDrivers
    -

    - Methods

    -
    -

    Enable calling driver methods

    -
    __call(string $method, array $args) 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::__call()
    -

    Parameters

    -
    -

    $method

    -string -
    -
    -

    $args

    -array -
    -
    -
    -
    -

    Save a reference to the current connection object

    -
    __construct(object $conn) : void
    -
    -
    -

    -

    Parameters

    -
    -

    $conn

    -object

    &$conn

    -
    -
    -
    -
    -

    Create an SQL backup file for the current database's data

    -
    backup_data(array $excluded) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $excluded

    -array -
    -

    Returns

    -
    string
    -
    -
    -
    -

    Create an SQL backup file for the current database's structure

    -
    backup_structure() : string
    -
    -
    -

    -

    Returns

    -
    string
    -
    -
    -
    -

    Convenience public function to create a new table

    -
    create_table(string $name, array $columns, array $constraints, array $indexes) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string

    //Name of the table

    -
    -
    -

    $columns

    -array

    //columns as straight array and/or column => type pairs

    -
    -
    -

    $constraints

    -array

    // column => constraint pairs

    -
    -
    -

    $indexes

    -array

    // column => index pairs

    -
    -

    Returns

    -
    string
    -
    -
    -
    -

    SQL to drop the specified table

    -
    delete_table(string $name) : string
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    string
    -
    -
    -

    - Properties

    - 
    -

    Reference to the current connection object

    -
    $conn 
    -
    Inherited
    -
    -

    - - - -
    inherited_from\DB_Util::$$conn
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/Settings.html b/docs/classes/Settings.html deleted file mode 100644 index 3e707b8..0000000 --- a/docs/classes/Settings.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - -miniMVC » \Settings - - - - - - - - - - -
    - -
    - -
    -
    -

    Class for manipulating datbase connections, and miscellaneous settings

    -
    -

    - - - - - - - - - -
    packageQuery
    subpackageHelper Classes
    -

    - Methods

    -
    -

    Output the settings on destruct

    -
    __destruct() 
    -
    -

    -
    -
    -

    Magic method to simplify isset checking for config options

    -
    __get(string $key) : mixed
    -
    -
    -

    -

    Parameters

    -
    -

    $key

    -string -
    -

    Returns

    -
    mixed
    -
    -
    -
    -

    Magic method to simplify setting config options

    -
    __set(string $key, $val) 
    -
    -
    -

    -

    Parameters

    -
    -

    $key

    -string -
    -
    -

    $val

    -

    mixed

    -
    -
    -
    -

    Add a database connection

    -
    add_db(string $name, array $params) 
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $params

    -array -
    -
    -
    -
    -

    Edit a database connection

    -
    edit_db(string $name, array $params) 
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -

    $params

    -array -
    -
    -
    -
    -

    Retreive a specific database connection

    -
    get_db(string $name) : object
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -

    Returns

    -
    object
    -
    -
    -
    -

    Retreive all db connections

    -
    get_dbs() : array
    -
    -
    -

    -

    Returns

    -
    array
    -
    -
    -
    -

    Static method to retreive current instance -of the singleton

    -
    get_instance() : \Settings
    -
    -
    -

    -

    Returns

    - -
    -
    -
    -

    Remove a database connection

    -
    remove_db(string $name) 
    -
    -
    -

    -

    Parameters

    -
    -

    $name

    -string -
    -
    -
    -
    -

    Load the settings file - private so it can't be loaded -directly - the settings should be safe!

    -
    __construct() 
    -
    -

    -
    -

    - Properties

    - 
    -

    Settings object represented by the currently loaded JSON file

    -
    $current 
    -
    -

    -
    - 
    -

    Singleton instance

    -
    $instance 
    -
    -

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/docs/classes/Welcome.html b/docs/classes/Welcome.html index b9f2c5b..b7081f0 100644 --- a/docs/classes/Welcome.html +++ b/docs/classes/Welcome.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -904,7 +901,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/Welcome_Model.html b/docs/classes/Welcome_Model.html index 6d107fb..bf80e7e 100644 --- a/docs/classes/Welcome_Model.html +++ b/docs/classes/Welcome_Model.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -826,7 +823,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/classes/miniMVC.html b/docs/classes/miniMVC.html index 3afdf27..af2b603 100644 --- a/docs/classes/miniMVC.html +++ b/docs/classes/miniMVC.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -613,7 +610,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/deprecated.html b/docs/deprecated.html index 76aff4b..b61d7b3 100644 --- a/docs/deprecated.html +++ b/docs/deprecated.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -69,7 +66,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/errors.html b/docs/errors.html index 0462596..30c063d 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -82,35 +79,12 @@
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/graph_class.html b/docs/graph_class.html index e2bb32c..55498d0 100644 --- a/docs/graph_class.html +++ b/docs/graph_class.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -66,7 +63,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/index.html b/docs/index.html index 064eac5..aad033c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -59,7 +56,6 @@
    @@ -73,9 +69,7 @@
  •  Errors  0
  •  Markers  -
    • todo  - 6 -
  • +
  •  Deprecated elements  0
  • @@ -84,7 +78,7 @@
    + generated on 2012-05-15T12:38:56-04:00.
    diff --git a/docs/markers.html b/docs/markers.html index 0bdb556..db2ef58 100644 --- a/docs/markers.html +++ b/docs/markers.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -52,15 +49,7 @@ if Javascript is enabled.
    -
    +
    +
    No markers have been found in this project.
    The following markers were found: -
    • todo  - 6 -
    -
    -
    -
    -

    -sys/db/classes/query_builder.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo805make able to handle operators without spaces
    -
    -
    -

    -sys/db/drivers/pgsql/pgsql_util.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo114Implement Backup function
    -
    -
    -

    -sys/db/drivers/pgsql/pgsql_driver.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo46Implement
    -
    -
    -

    -sys/db/drivers/mysql/mysql_util.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo141Implement Backup function
    -
    -
    -

    -sys/db/drivers/mysql/mysql_driver.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo57Implement
    -
    -
    -

    -sys/db/drivers/firebird/firebird_util.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo117Implement Backup structure function
    -
    +
      +
      + generated on 2012-05-15T12:38:56-04:00.
      diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 0ca83b4..177f894 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
    •  Errors  0
    •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -143,39 +140,6 @@
      array
      -
      -

      Filter out db rows into one array

      -
      db_filter(array $array, mixed $index) : array
      -
      -
      -

      -

      Parameters

      -
      -

      $array

      -array -
      -
      -

      $index

      -mixed -
      -

      Returns

      -
      array
      -
      -
      -
      -

      Bulk directory loading workaround for use -with array_map and glob

      -
      do_include(string $path) : void
      -
      -
      -

      -

      Parameters

      -
      -

      $path

      -string -
      -
      -

      Array_map callback to load a folder of classes at once

      do_include(string $path) : void
      @@ -351,63 +315,6 @@ display them cleanly
      « More »
      -
      -

      DB_PDO -

      -

      Base Database class

      -
      -« More » -
      -
      -

      DB_Reg -

      -

      Connection registry

      -
      -« More » -
      -
      -

      DB_SQL -

      -

      Abstract parent for database manipulation subclasses

      -
      -« More » -
      -
      -

      DB_Util -

      -

      Abstract class defining database / table creation methods

      -
      -« More » -
      -
      -

      Firebird -

      -

      Firebird Database class

      -
      -« More » -
      -
      -

      Firebird_Result -

      -

      Firebird result class to emulate PDOStatement Class - only implements -data-fetching methods

      -
      -« More » -
      -
      -

      Firebird_SQL -

      -

      Firebird Specific SQL

      -
      -« More » -
      -
      -

      Firebird_Util -

      -

      Firebird-specific backup, import and creation methods

      -
      -« More » -

      MM

      @@ -457,105 +364,6 @@ data-fetching methods

      « More »
      -
      -

      MySQL -

      -

      MySQL specific class

      -
      -« More » -
      -
      -

      MySQL_SQL -

      -

      MySQL specifc SQL

      -
      -« More » -
      -
      -

      MySQL_Util -

      -

      MySQL-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      ODBC -

      -

      ODBC Database Driver

      -
      -« More » -
      -
      -

      ODBC_SQL -

      -

      ODBC SQL Class

      -
      -« More » -
      -
      -

      ODBC_Util -

      -

      ODBC-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      PgSQL -

      -

      PostgreSQL specifc class

      -
      -« More » -
      -
      -

      PgSQL_SQL -

      -

      PostgreSQL specifc SQL

      -
      -« More » -
      -
      -

      PgSQL_Util -

      -

      Posgres-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      Query_Builder -

      -

      Convienience class for creating sql queries - also the class that -instantiates the specific db driver

      -
      -« More » -
      -
      -

      SQLite -

      -

      SQLite specific class

      -
      -« More » -
      -
      -

      SQLite_SQL -

      -

      SQLite Specific SQL

      -
      -« More » -
      -
      -

      SQLite_Util -

      -

      SQLite-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      Settings -

      -

      Class for manipulating datbase connections, and miscellaneous settings

      -
      -« More » -

      Welcome

      @@ -651,18 +459,6 @@ instantiates the specific db driver

      - 
      -

      Reference to root path

      -
      QBASE_PATH 
      -
      -

      -
      - 
      -

      Path to driver classes

      -
      QDRIVER_PATH 
      -
      -

      -
       

      SCRIPT_PATH

      SCRIPT_PATH 
      @@ -717,7 +513,7 @@ instantiates the specific db driver

      + generated on 2012-05-15T12:38:56-04:00.
      diff --git a/docs/packages/.html b/docs/packages/.html index 6869fef..1aa633e 100644 --- a/docs/packages/.html +++ b/docs/packages/.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
    •  Errors  0
    •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -69,7 +66,7 @@
      + generated on 2012-05-15T12:38:56-04:00.
      diff --git a/docs/packages/Default.html b/docs/packages/Default.html index d511c93..415ca19 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
    •  Errors  0
    •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -73,8 +70,6 @@
    • 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
    • @@ -146,18 +141,6 @@

      - 
      -

      Reference to root path

      -
      QBASE_PATH 
      -
      -

      -
      - 
      -

      Path to driver classes

      -
      QDRIVER_PATH 
      -
      -

      -
       

      SCRIPT_PATH

      SCRIPT_PATH 
      @@ -194,7 +177,7 @@
      + generated on 2012-05-15T12:38:56-04:00.
      diff --git a/docs/packages/Query.Drivers.html b/docs/packages/Query.Drivers.html deleted file mode 100644 index c474f62..0000000 --- a/docs/packages/Query.Drivers.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - -miniMVC » Query\Drivers - - - - - - - - - - -
      - -
      - -
      - -
      -

      - Classes and interfaces

      -
      -

      Firebird -

      -

      Firebird Database class

      -
      -« More » -
      -
      -

      Firebird_Result -

      -

      Firebird result class to emulate PDOStatement Class - only implements -data-fetching methods

      -
      -« More » -
      -
      -

      Firebird_SQL -

      -

      Firebird Specific SQL

      -
      -« More » -
      -
      -

      Firebird_Util -

      -

      Firebird-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      MySQL -

      -

      MySQL specific class

      -
      -« More » -
      -
      -

      MySQL_SQL -

      -

      MySQL specifc SQL

      -
      -« More » -
      -
      -

      MySQL_Util -

      -

      MySQL-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      ODBC -

      -

      ODBC Database Driver

      -
      -« More » -
      -
      -

      ODBC_SQL -

      -

      ODBC SQL Class

      -
      -« More » -
      -
      -

      ODBC_Util -

      -

      ODBC-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      PgSQL -

      -

      PostgreSQL specifc class

      -
      -« More » -
      -
      -

      PgSQL_SQL -

      -

      PostgreSQL specifc SQL

      -
      -« More » -
      -
      -

      PgSQL_Util -

      -

      Posgres-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      SQLite -

      -

      SQLite specific class

      -
      -« More » -
      -
      -

      SQLite_SQL -

      -

      SQLite Specific SQL

      -
      -« More » -
      -
      -

      SQLite_Util -

      -

      SQLite-specific backup, import and creation methods

      -
      -« More » -
      -
      -
      -
      -
      -
      - - diff --git a/docs/packages/Query.Helper Classes.html b/docs/packages/Query.Helper Classes.html deleted file mode 100644 index 7405e8d..0000000 --- a/docs/packages/Query.Helper Classes.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - -miniMVC » Query\Helper Classes - - - - - - - - - - -
      - -
      -
      -
      - -
      - -
      -
      - -
      -

      - Classes and interfaces

      -
      -

      DB_Reg -

      -

      Connection registry

      -
      -« More » -
      -
      -

      Settings -

      -

      Class for manipulating datbase connections, and miscellaneous settings

      -
      -« More » -
      -
      -
      -
      -
      -
      - - diff --git a/docs/packages/Query.Query.html b/docs/packages/Query.Query.html deleted file mode 100644 index 1719b96..0000000 --- a/docs/packages/Query.Query.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - -miniMVC » Query\Query - - - - - - - - - - -
      - -
      -
      -
      - -
      - -
      -
      - -
      -

      - Classes and interfaces

      -
      -

      DB_PDO -

      -

      Base Database class

      -
      -« More » -
      -
      -

      DB_SQL -

      -

      Abstract parent for database manipulation subclasses

      -
      -« More » -
      -
      -

      DB_Util -

      -

      Abstract class defining database / table creation methods

      -
      -« More » -
      -
      -

      Query_Builder -

      -

      Convienience class for creating sql queries - also the class that -instantiates the specific db driver

      -
      -« More » -
      -
      -
      -
      -
      -
      - - diff --git a/docs/packages/Query.html b/docs/packages/Query.html deleted file mode 100644 index bdcefac..0000000 --- a/docs/packages/Query.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - -miniMVC » Query - - - - - - - - - - -
      - -
      - -
      - -
      -

      - Functions

      -
      -

      Filter out db rows into one array

      -
      db_filter(array $array, mixed $index) : array
      -
      -
      -

      -

      Parameters

      -
      -

      $array

      -array -
      -
      -

      $index

      -mixed -
      -

      Returns

      -
      array
      -
      -
      -
      -

      Bulk directory loading workaround for use -with array_map and glob

      -
      do_include(string $path) : void
      -
      -
      -

      -

      Parameters

      -
      -

      $path

      -string -
      -
      -
      - -
      -

      - Classes and interfaces

      -
      -

      Firebird -

      -

      Firebird Database class

      -
      -« More » -
      -
      -

      Firebird_Result -

      -

      Firebird result class to emulate PDOStatement Class - only implements -data-fetching methods

      -
      -« More » -
      -
      -

      Firebird_SQL -

      -

      Firebird Specific SQL

      -
      -« More » -
      -
      -

      Firebird_Util -

      -

      Firebird-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      MySQL -

      -

      MySQL specific class

      -
      -« More » -
      -
      -

      MySQL_SQL -

      -

      MySQL specifc SQL

      -
      -« More » -
      -
      -

      MySQL_Util -

      -

      MySQL-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      ODBC -

      -

      ODBC Database Driver

      -
      -« More » -
      -
      -

      ODBC_SQL -

      -

      ODBC SQL Class

      -
      -« More » -
      -
      -

      ODBC_Util -

      -

      ODBC-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      PgSQL -

      -

      PostgreSQL specifc class

      -
      -« More » -
      -
      -

      PgSQL_SQL -

      -

      PostgreSQL specifc SQL

      -
      -« More » -
      -
      -

      PgSQL_Util -

      -

      Posgres-specific backup, import and creation methods

      -
      -« More » -
      -
      -

      SQLite -

      -

      SQLite specific class

      -
      -« More » -
      -
      -

      SQLite_SQL -

      -

      SQLite Specific SQL

      -
      -« More » -
      -
      -

      SQLite_Util -

      -

      SQLite-specific backup, import and creation methods

      -
      -« More » -
      -
      - -
      -

      - Classes and interfaces

      -
      -

      DB_Reg -

      -

      Connection registry

      -
      -« More » -
      -
      -

      Settings -

      -

      Class for manipulating datbase connections, and miscellaneous settings

      -
      -« More » -
      -
      - -
      -

      - Classes and interfaces

      -
      -

      DB_PDO -

      -

      Base Database class

      -
      -« More » -
      -
      -

      DB_SQL -

      -

      Abstract parent for database manipulation subclasses

      -
      -« More » -
      -
      -

      DB_Util -

      -

      Abstract class defining database / table creation methods

      -
      -« More » -
      -
      -

      Query_Builder -

      -

      Convienience class for creating sql queries - also the class that -instantiates the specific db driver

      -
      -« More » -
      -
      -
      -
      -
      -
      -
      - - diff --git a/docs/packages/miniMVC.App.html b/docs/packages/miniMVC.App.html index 67d24fb..98f3c78 100644 --- a/docs/packages/miniMVC.App.html +++ b/docs/packages/miniMVC.App.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
    •  Errors  0
    •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -141,7 +138,7 @@
      + generated on 2012-05-15T12:38:56-04:00.
      diff --git a/docs/packages/miniMVC.Libraries.html b/docs/packages/miniMVC.Libraries.html index 03f982c..d0838f3 100644 --- a/docs/packages/miniMVC.Libraries.html +++ b/docs/packages/miniMVC.Libraries.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
    •  Errors  0
    •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -99,7 +96,7 @@
      + generated on 2012-05-15T12:38:56-04:00.
      diff --git a/docs/packages/miniMVC.System.html b/docs/packages/miniMVC.System.html index 86cee9e..b5db0d7 100644 --- a/docs/packages/miniMVC.System.html +++ b/docs/packages/miniMVC.System.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
    •  Errors  0
    •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -139,7 +136,7 @@
      + generated on 2012-05-15T12:38:56-04:00.
      diff --git a/docs/packages/miniMVC.html b/docs/packages/miniMVC.html index 9e75ef6..2702e75 100644 --- a/docs/packages/miniMVC.html +++ b/docs/packages/miniMVC.html @@ -21,7 +21,6 @@ API Documentation @@ -35,9 +34,7 @@
    •  Errors  0
    •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -497,7 +494,7 @@ display them cleanly
      + generated on 2012-05-15T12:38:56-04:00.
      diff --git a/docs/structure.xml b/docs/structure.xml index 60020f7..b6461b4 100644 --- a/docs/structure.xml +++ b/docs/structure.xml @@ -1,5421 +1,5 @@ - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - -
      - - DB_Reg - \DB_Reg - - - - Decouples the Settings class from the query builder -and organizes database connections

      ]]>
      - - -
      - - $instance - - - - - - - - get_db - function - - - - - string - - - object - - - - $key - - - - - - __construct - function - - - - - string - - - - $key - - - - - - get_connections - function - - - - - array - - - - - remove_db - function - - - - - string - - - void - - - - $key - - - - -
      -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Settings - \Settings - - - - - - - - - $current - - - - - - - - $instance - - - - - - - - get_instance - function - - - - - \Settings - - - - - __construct - function - - - - - - - __destruct - function - - - - - - - __get - function - - - - - string - - - mixed - - - - $key - - - - - - __set - function - - - - - string - - - - - $key - - - - - $val - - - - - - add_db - function - - - - - string - - - array - - - - $name - - - - - $params - - - - - - edit_db - function - - - - - string - - - array - - - - $name - - - - - $params - - - - - - remove_db - function - - - - - string - - - - $name - - - - - - get_dbs - function - - - - - array - - - - - get_db - function - - - - - string - - - object - - - - $name - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - DB_SQL - \DB_SQL - - - - - - - - - max - function - - - - - string - - - - - min - function - - - - - string - - - - - distinct - function - - - - - string - - - - - avg - function - - - - - string - - - - - sum - function - - - - - string - - - - - limit - function - - - - - - string - - - int - - - int - - - string - - - - $sql - - - - - $limit - - - - - $offset - - - - - - random - function - - - - - - string - - - - - db_list - function - - - - - string - - - - - table_list - function - - - - - string - - - - - system_table_list - function - - - - - string - - - - - view_list - function - - - - - string - - - - - trigger_list - function - - - - - string - - - - - function_list - function - - - - - FALSE - - - - - procedure_list - function - - - - - string - - - - - sequence_list - function - - - - - string - - - - - type_list - function - - - - - mixed - - - - - column_list - function - - - - - - string - - - - $table - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - DB_PDO - \DB_PDO - \PDO - - - Extends PDO to simplify cross-database issues

      ]]>
      - - -
      - - $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 - - - - - - _quote - function - - - - - mixed - - - mixed - - - - $str - - - - - - 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 - - - - - get_columns - function - - - - - string - - - array - - - - $table - - - - - - get_types - 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 - - - - -
      -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - make able to handle operators without spaces - - - Query_Builder - \Query_Builder - - - - - - - - - $select_string - - - - - - string - - - - - $from_string - - - - - - string - - - - - $set_string - - - - - - string - - - - - $order_string - - - - - - string - - - - - $group_string - - - - - - string - - - - - $set_array_keys - - - - - - array - - - - - $order_array - - - - - - array - - - - - $group_array - - - - - - array - - - - - $values - - - - - - array - - - - - $limit - - - - - - int - - - - - $offset - - - - - - int - - - - - $sql - - - db->sql]]> - - - \DB_PDO - - - - - $query_map - - - - Format:

      - -

      array( - 'type' => 'where', - '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 - - - \$this - - - - $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 - - - string - - - \$this - - - - $key - - - - - $val - - - - - $conj - - - - - - having - function - - - - - mixed - - - mixed - - - \$this - - - - $key - - - - - $val - - - - - - or_having - function - - - - - mixed - - - mixed - - - \$this - - - - $key - - - - - $val - - - - - - _where - function - - - - - mixed - - - mixed - - - array - - - - $key - - - - - $val - - - - - - _where_string - function - - - - - mixed - - - mixed - - - string - - - \$this - - - - $key - - - - - $val - - - - - $conj - - - - - - _where_in - function - - - - - mixed - - - mixed - - - - - \$this - - - - $key - - - - - $val - - - - - $in - - - - - $conj - - - - - - where - function - - - - - mixed - - - mixed - - - \$this - - - - $key - - - - - $val - - - - - - or_where - function - - - - - string - - - mixed - - - \$this - - - - $key - - - - - $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 - - - - - $where - - - - - - __call - function - - - - - string - - - array - - - mixed - - - - $name - - - - - $params - - - - - - _reset - function - - - - - void - - - - - _compile - function - - - - - string - - - string - - - \$string - - - - $type - - - - - $table - - - - -
      -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - DB_Util - \DB_Util - - - - - - - - - $conn - - - - - - - - __construct - function - - - - - object - - - - $conn - - - - - - __call - function - - - - - string - - - array - - - - $method - - - - - $args - - - - - - create_table - function - - - - - - string - - - array - - - array - - - array - - - string - - - - $name - - - - - $columns - - - - - $constraints - - array - - - $indexes - - array - - - - delete_table - function - - - - - - string - - - string - - - - $name - - - - - - backup_structure - function - - - - - - string - - - - - backup_data - function - - - - - - string - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - QBASE_PATH - - - - - - - - QDRIVER_PATH - - - - - - - - do_include - function - - - - - string - - - void - - - - $path - - - - - - db_filter - function - - - - - array - - - mixed - - - array - - - - $array - - - - - $index - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - -
      - - PgSQL_SQL - \PgSQL_SQL - \DB_SQL - - - - - - - - limit - function - - - - - string - - - int - - - int - - - string - - - - $sql - - - - - $limit - - - - - $offset - - - - - - random - function - - - - - string - - - - - db_list - function - - - - - string - - - - - table_list - function - - - - - string - - - - - system_table_list - function - - - - - string - - - - - view_list - function - - - - - string - - - - - trigger_list - function - - - - - string - - - - - function_list - function - - - - - FALSE - - - - - procedure_list - function - - - - - string - - - - - sequence_list - function - - - - - string - - - - - column_list - function - - - - - string - - - string - - - - $table - - - - - - type_list - function - - - - - string - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Implement Backup function - - - PgSQL_Util - \PgSQL_Util - \DB_Util - - - - - - - - __construct - function - - - - - object - - - void - - - - $conn - - - - - - create_table - function - - - - - string - - - array - - - array - - - array - - - string - - - - $name - - - - - $columns - - - - - $constraints - - array - - - $indexes - - array - - - - delete_table - function - - - - - string - - - string - - - - $name - - - - - - backup_structure - function - - - - - string - - - - - backup_data - function - - - - - array - - - string - - - - $exclude - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Implement - - - PgSQL - \PgSQL - \DB_PDO - - - - - - - - __construct - function - - - - - string - - - string - - - string - - - array - - - - $dsn - - - - - $username - - - - - $password - - - - - $options - - - - - - switch_db - function - - - - - string - - - - $name - - - - - - truncate - function - - - - - string - - - - $table - - - - - - get_schemas - function - - - - - array - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - ODBC_Util - \ODBC_Util - \DB_Util - - - - - - - - __construct - function - - - - - object - - - void - - - - $conn - - - - - - create_table - function - - - - - string - - - array - - - array - - - array - - - string - - - - $name - - - - - $columns - - - - - $constraints - - array - - - $indexes - - array - - - - delete_table - function - - - - - string - - - string - - - - $name - - - - - - backup_structure - function - - - - - string - - - - - backup_data - function - - - - - string - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - ODBC_SQL - \ODBC_SQL - \DB_SQL - - - - - - - - limit - function - - - - - string - - - int - - - int - - - string - - - - $sql - - - - - $limit - - - - - $offset - - - - - - random - function - - - - - string - - - - - db_list - function - - - - - FALSE - - - - - table_list - function - - - - - FALSE - - - - - system_table_list - function - - - - - FALSE - - - - - view_list - function - - - - - FALSE - - - - - trigger_list - function - - - - - FALSE - - - - - function_list - function - - - - - FALSE - - - - - procedure_list - function - - - - - FALSE - - - - - sequence_list - function - - - - - FALSE - - - - - type_list - function - - - - - FALSE - - - - - column_list - function - - - - - string - - - FALSE - - - - $table - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - ODBC - \ODBC - \DB_PDO - - - For general database access for databases not specified by the main drivers

      ]]>
      - - -
      - - $escape_char - - - - - - - - __construct - function - - - - - string - - - string - - - string - - - array - - - - $dsn - - - - - $username - - - - - $password - - - - - $options - - - - - - switch_db - function - - - - - string - - - bool - - - - $name - - - - - - truncate - function - - - - - string - - - void - - - - $table - - - - -
      -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Implement Backup function - - - MySQL_Util - \MySQL_Util - \DB_Util - - - - - - - - __construct - function - - - - - object - - - void - - - - $conn - - - - - - create_table - function - - - - - string - - - array - - - array - - - array - - - string - - - - $name - - - - - $columns - - - - - $constraints - - array - - - $indexes - - array - - - - delete_table - function - - - - - string - - - string - - - - $name - - - - - - backup_structure - function - - - - - string - - - - - backup_data - function - - - - - array - - - string - - - - $exclude - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Implement - - - MySQL - \MySQL - \DB_PDO - - - - - - - - $escape_char - - - - - - string - - - - - __construct - function - - - - - string - - - string - - - string - - - array - - - - $dsn - - - - - $username - - - - - $password - - - - - $options - - - - - - switch_db - function - - - - - string - - - - $name - - - - - - truncate - function - - - - - string - - - - $table - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - MySQL_SQL - \MySQL_SQL - \DB_SQL - - - - - - - - limit - function - - - - - string - - - int - - - int - - - string - - - - $sql - - - - - $limit - - - - - $offset - - - - - - random - function - - - - - string - - - - - db_list - function - - - - - string - - - - - table_list - function - - - - - string - - - string - - - - $database - - - - - - system_table_list - function - - - - - string - - - - - view_list - function - - - - - string - - - - - trigger_list - function - - - - - string - - - - - function_list - function - - - - - string - - - - - procedure_list - function - - - - - string - - - - - sequence_list - function - - - - - FALSE - - - - - type_list - function - - - - - string - - - - - column_list - function - - - - - string - - - string - - - - $table - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - SQLite_Util - \SQLite_Util - \DB_Util - - - - - - - - __construct - function - - - - - object - - - void - - - - $conn - - - - - - create_table - function - - - - - string - - - array - - - array - - - array - - - string - - - - $name - - - - - $columns - - - - - $constraints - - array - - - $indexes - - array - - - - delete_table - function - - - - - string - - - string - - - - $name - - - - - - backup_data - function - - - - - array - - - string - - - - $excluded - - - - - - backup_structure - function - - - - - string - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - SQLite - \SQLite - \DB_PDO - - - - - - - - $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 - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - SQLite_SQL - \SQLite_SQL - \DB_SQL - - - - - - - - limit - function - - - - - string - - - int - - - int - - - string - - - - $sql - - - - - $limit - - - - - $offset - - - - - - random - function - - - - - string - - - - - db_list - function - - - - - FALSE - - - - - table_list - function - - - - - string - - - - - system_table_list - function - - - - - string - - - - - view_list - function - - - - - string - - - - - trigger_list - function - - - - - FALSE - - - - - function_list - function - - - - - FALSE - - - - - procedure_list - function - - - - - FALSE - - - - - sequence_list - function - - - - - FALSE - - - - - type_list - function - - - - - array - - - - - column_list - function - - - - - string - - - string - - - - $table - - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Firebird_SQL - \Firebird_SQL - \DB_SQL - - - - - - - - limit - function - - - - - string - - - int - - - int - - - string - - - - $sql - - - - - $limit - - - - - $offset - - - - - - random - function - - - - - string - - - - - db_list - function - - - - - FALSE - - - - - table_list - function - - - - - string - - - - - system_table_list - function - - - - - string - - - - - view_list - function - - - - - string - - - - - trigger_list - function - - - - - string - - - - - function_list - function - - - - - string - - - - - procedure_list - function - - - - - string - - - - - sequence_list - function - - - - - string - - - - - column_list - function - - - - - string - - - string - - - - $table - - - - - - type_list - function - - - - - string - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Firebird_Result - \Firebird_Result - \PDOStatement - - - - - - - - $statement - - - - - - resource - - - - - $row - - - - - - int - - - - - $result - - - - - - - - - __construct - function - - - - - resource - - - - $link - - - - - - bindColumn - function - - - - - mixed - - - mixed - - - int - - - mixed - - - array - - - FALSE - - - - $column - - - - - $param - - - - - $type - - - - - $maxlen - - - - - $driverdata - - - - - - bindParam - function - - - - - mixed - - - mixed - - - int - - - mixed - - - array - - - FALSE - - - - $parameter - - - - - $variable - - - - - $data_type - - - - - $maxlen - - - - - $driverdata - - - - - - bindValue - function - - - - - mixed - - - mixed - - - int - - - FALSE - - - - $parameter - - - - - $variable - - - - - $data_type - - - - - - execute - function - - - - - array - - - bool - - - - $args - - - - - - fetch - function - - - - - int - - - mixed - - - mixed - - - mixed - - - - $fetch_style - - - - - $statement - - - - - $offset - - - - - - fetchAll - function - - - - - int - - - mixed - - - mixed - - - mixed - - - - $fetch_style - - - - - $statement - - - - - $ctor_args - - - - - - fetchColumn - function - - - - - int - - - mixed - - - - $column_num - - - - - - fetchObject - function - - - - - string - - - array - - - \stdClass - - - - $class_name - - - - - $ctor_args - - - - - - rowCount - function - - - - - int - - - - - errorCode - function - - errorCode]]> - - - string - - - - - errorInfo - function - - errorInfo / PDOStatement->errorInfo]]> - - - array - - - - -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Firebird - \Firebird - \DB_PDO - - - PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.

      ]]>
      - - -
      - - $statement - - - - - - object - - - - - $statement_link - - - - - - resource - - - - - $trans - - - - - - resource - - - - - $conn - - - - - - resource - - - - - __construct - function - - - - - string - - - string - - - string - - - - $dbpath - - - - - $user - - - - - $pass - - - - - - switch_db - function - - - - - string - - - FALSE - - - - $name - - - - - - truncate - function - - - - - string - - - - $table - - - - - - query - function - - - - - string - - - \$this - - - - $sql - - - - - - prepare - function - - - - - string - - - array - - - \$this - - - - $query - - - - - $options - - - - - - beginTransaction - function - - - - - bool - - - - - commit - function - - - - - bool - - - - - rollBack - function - - - - - bool - - - - - prepare_execute - function - - - - - string - - - array - - - resource - - - - $sql - - - - - $args - - - - - - quote - function - - quote]]> - - - string - - - int - - - string - - - - $str - - - - - $param_type - - - - - - errorInfo - function - - errorInfo / PDOStatement->errorInfo]]> - - - array - - - - - errorCode - function - - errorCode]]> - - - array - - - - - prepare_query - function - - - - - string - - - array - - - FALSE - - - - $sql - - - - - $params - - - - -
      -
      - - - - Free Query Builder / Database Abstraction Layer

      ]]>
      - - - - - -
      - - Implement Backup structure function - - - Firebird_Util - \Firebird_Util - \DB_Util - - - - - - - - __construct - function - - - - - object - - - void - - - - $conn - - - - - - create_table - function - - - - - string - - - array - - - array - - - array - - - string - - - - $name - - - - - $fields - - - - - $constraints - - array - - - $indexes - - array - - - - delete_table - function - - - - - string - - - string - - - - $name - - - - - - backup_structure - function - - - - - string - - - - - backup_data - function - - - - - array - - - bool - - - string - - - - $exclude - - - - - $system_tables - - - - - -
      @@ -6875,7 +1459,7 @@ of the singleton]]> - + Convention-based micro-framework for PHP

      ]]>
      @@ -7071,66 +1655,66 @@ display them cleanly]]>
      - + site_url function - + - + string - + string - + $segment - + to_string function - + - + \object/array - + string - + string - + $data - + $method - + do_include function - + - + string - + void - + $path @@ -7355,18 +1939,13 @@ display them cleanly]]>
      - - - - - - todo + todo fixme
      diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml index d837c15..8409629 100644 --- a/phpdoc.dist.xml +++ b/phpdoc.dist.xml @@ -16,10 +16,10 @@ assets app/views app/errors - sys/db/tests + sys/db tests/* assets/* - sys/db/tests/* + sys/db/* app/views/* app/errors/*