Add interfaces

This commit is contained in:
Timothy Warren 2012-12-18 16:19:52 -05:00
parent 4664111ce4
commit 785e5f2e1f
58 changed files with 4375 additions and 882 deletions

View File

@ -522,13 +522,5 @@ abstract class DB_PDO extends PDO {
* @return void * @return void
*/ */
abstract public function truncate($table); abstract public function truncate($table);
/**
* Connect to a different database
*
* @param string $name
* @return void
*/
abstract public function switch_db($name);
} }
// End of db_pdo.php // End of db_pdo.php

View File

@ -96,3 +96,4 @@ abstract class DB_Util {
abstract public function backup_data(); abstract public function backup_data();
} }
// End of db_util.php

View File

@ -14,12 +14,12 @@
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Abstract parent for database manipulation subclasses * parent for database manipulation subclasses
* *
* @package Query * @package Query
* @subpackage Query * @subpackage Query
*/ */
abstract class DB_SQL { interface iDB_SQL {
/** /**
* Get database specific sql for limit clause * Get database specific sql for limit clause
@ -30,7 +30,7 @@ abstract class DB_SQL {
* @param int $offset * @param int $offset
* @return string * @return string
*/ */
abstract public function limit($sql, $limit, $offset=FALSE); public function limit($sql, $limit, $offset=FALSE);
/** /**
* Get the sql for random ordering * Get the sql for random ordering
@ -38,70 +38,70 @@ abstract class DB_SQL {
* @abstract * @abstract
* @return string * @return string
*/ */
abstract public function random(); public function random();
/** /**
* Returns sql to list other databases * Returns sql to list other databases
* *
* @return string * @return string
*/ */
abstract public function db_list(); public function db_list();
/** /**
* Returns sql to list tables * Returns sql to list tables
* *
* @return string * @return string
*/ */
abstract public function table_list(); public function table_list();
/** /**
* Returns sql to list system tables * Returns sql to list system tables
* *
* @return string * @return string
*/ */
abstract public function system_table_list(); public function system_table_list();
/** /**
* Returns sql to list views * Returns sql to list views
* *
* @return string * @return string
*/ */
abstract public function view_list(); public function view_list();
/** /**
* Returns sql to list triggers * Returns sql to list triggers
* *
* @return string * @return string
*/ */
abstract public function trigger_list(); public function trigger_list();
/** /**
* Return sql to list functions * Return sql to list functions
* *
* @return FALSE * @return FALSE
*/ */
abstract public function function_list(); public function function_list();
/** /**
* Return sql to list stored procedures * Return sql to list stored procedures
* *
* @return string * @return string
*/ */
abstract public function procedure_list(); public function procedure_list();
/** /**
* Return sql to list sequences * Return sql to list sequences
* *
* @return string * @return string
*/ */
abstract public function sequence_list(); public function sequence_list();
/** /**
* Return sql to list database field types * Return sql to list database field types
* *
* @return mixed * @return mixed
*/ */
abstract public function type_list(); public function type_list();
/** /**
* Get information about the columns in the * Get information about the columns in the
@ -110,6 +110,6 @@ abstract class DB_SQL {
* @param string * @param string
* @return string * @return string
*/ */
abstract public function column_list($table); public function column_list($table);
} }
// End of db_sql.php // End of db_sql.php

480
classes/iquery_builder.php Normal file
View File

@ -0,0 +1,480 @@
<?php
/**
* Query
*
* Free Query Builder / Database Abstraction Layer
*
* @package Query
* @author Timothy J. Warren
* @copyright Copyright (c) 2012
* @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
/**
* Interface defining the Query Builder class
*
* @package Query
* @subpackage Query
*/
interface iQuery_Builder {
// --------------------------------------------------------------------------
// ! Select Queries
// --------------------------------------------------------------------------
/**
* Specifies rows to select in a query
*
* @param string $fields
* @return $this
*/
public function select($fields);
// --------------------------------------------------------------------------
/**
* Selects the maximum value of a field from a query
*
* @param string $field
* @param string $as
* @return $this
*/
public function select_max($field, $as=FALSE);
// --------------------------------------------------------------------------
/**
* Selects the minimum value of a field from a query
*
* @param string $field
* @param string $as
* @return $this
*/
public function select_min($field, $as=FALSE);
// --------------------------------------------------------------------------
/**
* Selects the average value of a field from a query
*
* @param string $field
* @param string $as
* @return $this
*/
public function select_avg($field, $as=FALSE);
// --------------------------------------------------------------------------
/**
* Selects the sum of a field from a query
*
* @param string $field
* @param string $as
* @return $this
*/
public function select_sum($field, $as=FALSE);
// --------------------------------------------------------------------------
/**
* Adds the 'distinct' keyword to a query
*
* @return $this
*/
public function distinct();
// --------------------------------------------------------------------------
/**
* Specify the database table to select from
*
* @param string $tblname
* @return $this
*/
public function from($tblname);
// --------------------------------------------------------------------------
// ! 'Like' methods
// --------------------------------------------------------------------------
/**
* Creates a Like clause in the sql statement
*
* @param string $field
* @param mixed $val
* @param string $pos
* @return $this
*/
public function like($field, $val, $pos='both');
// --------------------------------------------------------------------------
/**
* Generates an OR Like clause
*
* @param string $field
* @param mixed $val
* @param string $pos
* @return $this
*/
public function or_like($field, $val, $pos='both');
// --------------------------------------------------------------------------
/**
* Generates a NOT LIKE clause
*
* @param string $field
* @param mixed $val
* @param string $pos
* @return $this
*/
public function not_like($field, $val, $pos='both');
// --------------------------------------------------------------------------
/**
* Generates a OR NOT LIKE clause
*
* @param string $field
* @param mixed $val
* @param string $pos
* @return $this
*/
public function or_not_like($field, $val, $pos='both');
// --------------------------------------------------------------------------
// ! Having methods
// --------------------------------------------------------------------------
/**
* Generates a 'Having' clause
*
* @param mixed $key
* @param mixed $val
* @return $this
*/
public function having($key, $val=array());
// --------------------------------------------------------------------------
/**
* Generates a 'Having' clause prefixed with 'OR'
*
* @param mixed $key
* @param mixed $val
* @return $this
*/
public function or_having($key, $val=array());
// --------------------------------------------------------------------------
// ! 'Where' methods
// --------------------------------------------------------------------------
/**
* 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
*
* @param mixed $key
* @param mixed $val
* @return $this
*/
public function where($key, $val=array());
// --------------------------------------------------------------------------
/**
* Where clause prefixed with "OR"
*
* @param string $key
* @param mixed $val
* @return $this
*/
public function or_where($key, $val=array());
// --------------------------------------------------------------------------
/**
* Where clause with 'IN' statement
*
* @param mixed $field
* @param mixed $val
* @return $this
*/
public function where_in($field, $val=array());
// --------------------------------------------------------------------------
/**
* Where in statement prefixed with "or"
*
* @param string $field
* @param mixed $val
* @return $this
*/
public function or_where_in($field, $val=array());
// --------------------------------------------------------------------------
/**
* WHERE NOT IN (FOO) clause
*
* @param string $field
* @param mixed $val
* @return $this
*/
public function where_not_in($field, $val=array());
// --------------------------------------------------------------------------
/**
* OR WHERE NOT IN (FOO) clause
*
* @param string $field
* @param mixed $val
* @return $this
*/
public function or_where_not_in($field, $val=array());
// --------------------------------------------------------------------------
// ! Other Query Modifier methods
// --------------------------------------------------------------------------
/**
* Sets values for inserts / updates / deletes
*
* @param mixed $key
* @param mixed $val
* @return $this
*/
public function set($key, $val = NULL);
// --------------------------------------------------------------------------
/**
* Creates a join phrase in a compiled query
*
* @param string $table
* @param string $condition
* @param string $type
* @return $this
*/
public function join($table, $condition, $type='');
// --------------------------------------------------------------------------
/**
* Group the results by the selected field(s)
*
* @param mixed $field
* @return $this
*/
public function group_by($field);
// --------------------------------------------------------------------------
/**
* Order the results by the selected field(s)
*
* @param string $field
* @param string $type
* @return $this
*/
public function order_by($field, $type="");
// --------------------------------------------------------------------------
/**
* Set a limit on the current sql statement
*
* @param int $limit
* @param int $offset
* @return string
*/
public function limit($limit, $offset=FALSE);
// --------------------------------------------------------------------------
// ! Query Grouping Methods
// --------------------------------------------------------------------------
/**
* Adds a paren to the current query for query grouping
*
* @return $this
*/
public function group_start();
// --------------------------------------------------------------------------
/**
* Adds a paren to the current query for query grouping,
* prefixed with 'OR'
*
* @return $this
*/
public function or_group_start();
// --------------------------------------------------------------------------
/**
* Adds a paren to the current query for query grouping,
* prefixed with 'OR NOT'
*
* @return $this
*/
public function or_not_group_start();
// --------------------------------------------------------------------------
/**
* Ends a query group
*
* @return $this
*/
public function group_end();
// --------------------------------------------------------------------------
// ! Query execution methods
// --------------------------------------------------------------------------
/**
* Select and retrieve all records from the current table, and/or
* execute current compiled query
*
* @param $table
* @param int $limit
* @param int $offset
* @return object
*/
public function get($table='', $limit=FALSE, $offset=FALSE);
// --------------------------------------------------------------------------
/**
* Convience method for get() with a where clause
*
* @param string $table
* @param array $where
* @param int $limit
* @param int $offset
* @return object
*/
public function get_where($table, $where=array(), $limit=FALSE, $offset=FALSE);
// --------------------------------------------------------------------------
/**
* Retreive the number of rows in the selected table
*
* @param string $table
* @return int
*/
public function count_all($table);
// --------------------------------------------------------------------------
/**
* Retrieve the number of results for the generated query - used
* in place of the get() method
*
* @param string $table
* @return int
*/
public function count_all_results($table='');
// --------------------------------------------------------------------------
/**
* Creates an insert clause, and executes it
*
* @param string $table
* @param mixed $data
* @return mixed
*/
public function insert($table, $data=array());
// --------------------------------------------------------------------------
/**
* Creates an update clause, and executes it
*
* @param string $table
* @param mixed $data
* @return mixed
*/
public function update($table, $data=array());
// --------------------------------------------------------------------------
/**
* Deletes data from a table
*
* @param string $table
* @param mixed $where
* @return mixed
*/
public function delete($table, $where='');
// --------------------------------------------------------------------------
// ! SQL Returning Methods
// --------------------------------------------------------------------------
/**
* Returns the generated 'select' sql query
*
* @param string $table
* @param bool $reset
* @return string
*/
public function get_compiled_select($table='', $reset=TRUE);
// --------------------------------------------------------------------------
/**
* Returns the generated 'insert' sql query
*
* @param string $table
* @param bool $reset
* @return string
*/
public function get_compiled_insert($table, $reset=TRUE);
// --------------------------------------------------------------------------
/**
* Returns the generated 'update' sql query
*
* @param string $table
* @param bool $reset
* @return string
*/
public function get_compiled_update($table='', $reset=TRUE);
// --------------------------------------------------------------------------
/**
* Returns the generated 'delete' sql query
*
* @param string $table
* @param bool $reset
* @return string
*/
public function get_compiled_delete($table="", $reset=TRUE);
// --------------------------------------------------------------------------
// ! Miscellaneous Methods
// --------------------------------------------------------------------------
/**
* Clear out the class variables, so the next query can be run
*
* @return void
*/
public function reset_query();
}
// End of iquery_builder.php

View File

@ -20,55 +20,55 @@
* @package Query * @package Query
* @subpackage Query * @subpackage Query
*/ */
class Query_Builder { class Query_Builder implements iQuery_Builder {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// ! SQL Clause Strings // ! SQL Clause Strings
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// Compiled 'select' clause // Compiled 'select' clause
private $select_string; protected $select_string;
// Compiled 'from' clause // Compiled 'from' clause
private $from_string; protected $from_string;
// Compiled arguments for insert / update // Compiled arguments for insert / update
private $set_string; protected $set_string;
// Order by clause // Order by clause
private $order_string; protected $order_string;
// Group by clause // Group by clause
private $group_string; protected $group_string;
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// ! SQL Clause Arrays // ! SQL Clause Arrays
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// Keys for insert/update statement // Keys for insert/update statement
private $set_array_keys; protected $set_array_keys;
// Key/val pairs for order by clause // Key/val pairs for order by clause
private $order_array; protected $order_array;
// Key/val pairs for group by clause // Key/val pairs for group by clause
private $group_array; protected $group_array;
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// ! Other Class vars // ! Other Class vars
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// Values to apply to prepared statements // Values to apply to prepared statements
private $values = array(); protected $values = array();
// Values to apply to where clauses in prepared statements // Values to apply to where clauses in prepared statements
private $where_values = array(); protected $where_values = array();
// Value for limit string // Value for limit string
private $limit; protected $limit;
// Value for offset in limit string // Value for offset in limit string
private $offset; protected $offset;
// Alias to $this->db->sql // Alias to $this->db->sql
public $sql; public $sql;
@ -82,10 +82,10 @@ class Query_Builder {
// 'conjunction' => ' AND ', // 'conjunction' => ' AND ',
// 'string' => 'k=?' // 'string' => 'k=?'
// ) // )
private $query_map; protected $query_map;
// Map for having clause // Map for having clause
private $having_map; protected $having_map;
// Convenience property for connection management // Convenience property for connection management
public $conn_name = ""; public $conn_name = "";
@ -103,7 +103,7 @@ class Query_Builder {
* @param DB_PDO $db * @param DB_PDO $db
* @param object $params - the connection parameters * @param object $params - the connection parameters
*/ */
public function __construct(&$db, &$params) public function __construct(&$db, $params)
{ {
$this->db = $db; $this->db = $db;
@ -176,7 +176,7 @@ class Query_Builder {
* @param string $as * @param string $as
* @return string * @return string
*/ */
private function _select($field, $as = FALSE) protected function _select($field, $as = FALSE)
{ {
// Escape the identifiers // Escape the identifiers
$field = $this->db->quote_ident($field); $field = $this->db->quote_ident($field);
@ -304,7 +304,7 @@ class Query_Builder {
* @param string $conj * @param string $conj
* @return $this * @return $this
*/ */
private function _like($field, $val, $pos, $like='LIKE', $conj='AND') protected function _like($field, $val, $pos, $like='LIKE', $conj='AND')
{ {
$field = $this->db->quote_ident($field); $field = $this->db->quote_ident($field);
@ -408,7 +408,7 @@ class Query_Builder {
* @param string $conj * @param string $conj
* @return $this * @return $this
*/ */
private function _having($key, $val=array(), $conj='AND') protected function _having($key, $val=array(), $conj='AND')
{ {
$where = $this->_where($key, $val); $where = $this->_where($key, $val);
@ -473,7 +473,7 @@ class Query_Builder {
* @param mixed $val * @param mixed $val
* @return array * @return array
*/ */
private function _where($key, $val=array()) protected function _where($key, $val=array())
{ {
$where = array(); $where = array();
@ -506,7 +506,7 @@ class Query_Builder {
* @param string $conj * @param string $conj
* @return $this * @return $this
*/ */
private function _where_string($key, $val=array(), $conj='AND') protected function _where_string($key, $val=array(), $conj='AND')
{ {
$where = $this->_where($key, $val); $where = $this->_where($key, $val);
@ -544,7 +544,7 @@ class Query_Builder {
* @param string * @param string
* @return $this * @return $this
*/ */
private function _where_in($key, $val=array(), $in='IN', $conj='AND') protected function _where_in($key, $val=array(), $in='IN', $conj='AND')
{ {
$key = $this->db->quote_ident($key); $key = $this->db->quote_ident($key);
$params = array_fill(0, count($val), '?'); $params = array_fill(0, count($val), '?');
@ -1056,7 +1056,7 @@ class Query_Builder {
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// ! Query Returning Methods // ! SQL Returning Methods
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
@ -1094,7 +1094,7 @@ class Query_Builder {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Returns the generated 'insert' sql query * Returns the generated 'update' sql query
* *
* @param string $table * @param string $table
* @param bool $reset * @param bool $reset
@ -1108,7 +1108,7 @@ class Query_Builder {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Returns the generated 'insert' sql query * Returns the generated 'delete' sql query
* *
* @param string $table * @param string $table
* @param bool $reset * @param bool $reset
@ -1129,7 +1129,7 @@ class Query_Builder {
* @param bool * @param bool
* @resturn string * @resturn string
*/ */
private function _get_compile($type, $table, $reset) protected function _get_compile($type, $table, $reset)
{ {
$sql = $this->_compile($type, $table); $sql = $this->_compile($type, $table);
@ -1185,7 +1185,7 @@ class Query_Builder {
* @param bool $simple * @param bool $simple
* @return mixed * @return mixed
*/ */
private function _run($type, $table, $simple=FALSE) protected function _run($type, $table, $simple=FALSE)
{ {
$sql = $this->_compile($type, $table); $sql = $this->_compile($type, $table);
$vals = array_merge($this->values, (array) $this->where_values); $vals = array_merge($this->values, (array) $this->where_values);
@ -1227,7 +1227,7 @@ class Query_Builder {
* @param string $table * @param string $table
* @return $string * @return $string
*/ */
private function _compile($type='', $table='') protected function _compile($type='', $table='')
{ {
$sql = ''; $sql = '';

View File

@ -192,7 +192,7 @@ function Query($params = '')
$db->table_prefix = $params->prefix; $db->table_prefix = $params->prefix;
} }
// Create the database connection // Create the Query Builder object
$conn = new Query_Builder($db, $params); $conn = new Query_Builder($db, $params);
// Save it for later // Save it for later

View File

@ -10,14 +10,14 @@
<title>G</title> <title>G</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-1242 687,-1242 687,5 -4,5"/> <polygon fill="white" stroke="white" points="-4,5 -4,-1242 687,-1242 687,5 -4,5"/>
<g id="graph2" class="cluster"><title>cluster_default</title> <g id="graph2" class="cluster"><title>cluster_default</title>
<polyline fill="none" stroke="none" points="248,-152 662,-152 "/> <polyline fill="none" stroke="none" points="235,-152 662,-152 "/>
<path fill="none" stroke="none" d="M662,-152C668,-152 674,-158 674,-164"/> <path fill="none" stroke="none" d="M662,-152C668,-152 674,-158 674,-164"/>
<polyline fill="none" stroke="none" points="674,-164 674,-1218 "/> <polyline fill="none" stroke="none" points="674,-164 674,-1218 "/>
<path fill="none" stroke="none" d="M674,-1218C674,-1224 668,-1230 662,-1230"/> <path fill="none" stroke="none" d="M674,-1218C674,-1224 668,-1230 662,-1230"/>
<polyline fill="none" stroke="none" points="662,-1230 248,-1230 "/> <polyline fill="none" stroke="none" points="662,-1230 235,-1230 "/>
<path fill="none" stroke="none" d="M248,-1230C242,-1230 236,-1224 236,-1218"/> <path fill="none" stroke="none" d="M235,-1230C229,-1230 223,-1224 223,-1218"/>
<polyline fill="none" stroke="none" points="236,-1218 236,-164 "/> <polyline fill="none" stroke="none" points="223,-1218 223,-164 "/>
<path fill="none" stroke="none" d="M236,-164C236,-158 242,-152 248,-152"/> <path fill="none" stroke="none" d="M223,-164C223,-158 229,-152 235,-152"/>
</g> </g>
<!-- \\Query_Parser --> <!-- \\Query_Parser -->
<g id="node2" class="node"><title>\\Query_Parser</title> <g id="node2" class="node"><title>\\Query_Parser</title>
@ -26,16 +26,8 @@
<text text-anchor="middle" x="584" y="-1200.6" font-family="Courier,monospace" font-size="11.00">Query_Parser</text> <text text-anchor="middle" x="584" y="-1200.6" font-family="Courier,monospace" font-size="11.00">Query_Parser</text>
</a> </a>
</g> </g>
<!-- \\DB_SQL -->
<g id="node3" class="node"><title>\\DB_SQL</title>
<a xlink:href="classes.db_sql.html" xlink:title="«abstract»&lt;br/&gt;DB_SQL" target="_parent">
<polygon fill="none" stroke="black" points="329,-736 245,-736 245,-700 329,-700 329,-736"/>
<text text-anchor="start" x="253" y="-723.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="266.5" y="-710.233" font-family="Courier,monospace" font-size="11.00">DB_SQL</text>
</a>
</g>
<!-- \\DB_PDO --> <!-- \\DB_PDO -->
<g id="node4" class="node"><title>\\DB_PDO</title> <g id="node3" class="node"><title>\\DB_PDO</title>
<a xlink:href="classes.db_pdo.html" xlink:title="«abstract»&lt;br/&gt;DB_PDO" target="_parent"> <a xlink:href="classes.db_pdo.html" xlink:title="«abstract»&lt;br/&gt;DB_PDO" target="_parent">
<polygon fill="none" stroke="black" points="329,-466 245,-466 245,-430 329,-430 329,-466"/> <polygon fill="none" stroke="black" points="329,-466 245,-466 245,-430 329,-430 329,-466"/>
<text text-anchor="start" x="253" y="-453.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text> <text text-anchor="start" x="253" y="-453.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
@ -43,7 +35,7 @@
</a> </a>
</g> </g>
<!-- \\PDO --> <!-- \\PDO -->
<g id="node26" class="node"><title>\\PDO</title> <g id="node27" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="36" cy="-448" rx="35.0527" ry="18"/> <ellipse fill="none" stroke="black" cx="36" cy="-448" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="36" y="-443.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text> <text text-anchor="middle" x="36" y="-443.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
</g> </g>
@ -53,14 +45,33 @@
<polygon fill="none" stroke="black" points="81.8642,-444.5 71.8642,-448 81.8642,-451.5 81.8642,-444.5"/> <polygon fill="none" stroke="black" points="81.8642,-444.5 71.8642,-448 81.8642,-451.5 81.8642,-444.5"/>
</g> </g>
<!-- \\Query_Builder --> <!-- \\Query_Builder -->
<g id="node5" class="node"><title>\\Query_Builder</title> <g id="node4" class="node"><title>\\Query_Builder</title>
<a xlink:href="classes.query_builder.html" xlink:title="Query_Builder" target="_parent"> <a xlink:href="classes.query_builder.html" xlink:title="Query_Builder" target="_parent">
<polygon fill="none" stroke="black" points="636,-1168 532,-1168 532,-1132 636,-1132 636,-1168"/> <polygon fill="none" stroke="black" points="636,-1168 532,-1168 532,-1132 636,-1132 636,-1168"/>
<text text-anchor="middle" x="584" y="-1146.6" font-family="Courier,monospace" font-size="11.00">Query_Builder</text> <text text-anchor="middle" x="584" y="-1146.6" font-family="Courier,monospace" font-size="11.00">Query_Builder</text>
</a> </a>
</g> </g>
<!-- \\iQuery_Builder -->
<g id="node6" class="node"><title>\\iQuery_Builder</title>
<a xlink:href="classes.iquery_builder.html" xlink:title="iQuery_Builder" target="_parent">
<polygon fill="none" stroke="black" points="342,-1168 232,-1168 232,-1132 342,-1132 342,-1168"/>
<text text-anchor="middle" x="287" y="-1146.6" font-family="Courier,monospace" font-size="11.00">iQuery_Builder</text>
</a>
</g>
<!-- \\Query_Builder&#45;&gt;\\iQuery_Builder -->
<g id="edge31" class="edge"><title>\\Query_Builder&#45;&gt;\\iQuery_Builder</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M531.927,-1150C482.07,-1150 406.665,-1150 352.701,-1150"/>
<polygon fill="none" stroke="black" points="352.547,-1146.5 342.547,-1150 352.547,-1153.5 352.547,-1146.5"/>
</g>
<!-- \\iDB_SQL -->
<g id="node5" class="node"><title>\\iDB_SQL</title>
<a xlink:href="classes.idb_sql.html" xlink:title="iDB_SQL" target="_parent">
<polygon fill="none" stroke="black" points="319,-736 255,-736 255,-700 319,-700 319,-736"/>
<text text-anchor="middle" x="287" y="-714.6" font-family="Courier,monospace" font-size="11.00">iDB_SQL</text>
</a>
</g>
<!-- \\DB_Util --> <!-- \\DB_Util -->
<g id="node6" class="node"><title>\\DB_Util</title> <g id="node7" class="node"><title>\\DB_Util</title>
<a xlink:href="classes.db_util.html" xlink:title="«abstract»&lt;br/&gt;DB_Util" target="_parent"> <a xlink:href="classes.db_util.html" xlink:title="«abstract»&lt;br/&gt;DB_Util" target="_parent">
<polygon fill="none" stroke="black" points="329,-1006 245,-1006 245,-970 329,-970 329,-1006"/> <polygon fill="none" stroke="black" points="329,-1006 245,-1006 245,-970 329,-970 329,-1006"/>
<text text-anchor="start" x="253" y="-993.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text> <text text-anchor="start" x="253" y="-993.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
@ -68,14 +79,14 @@
</a> </a>
</g> </g>
<!-- \\BadDBDriverException --> <!-- \\BadDBDriverException -->
<g id="node7" class="node"><title>\\BadDBDriverException</title> <g id="node8" class="node"><title>\\BadDBDriverException</title>
<a xlink:href="common.html" xlink:title="BadDBDriverException" target="_parent"> <a xlink:href="common.html" xlink:title="BadDBDriverException" target="_parent">
<polygon fill="none" stroke="black" points="659,-304 509,-304 509,-268 659,-268 659,-304"/> <polygon fill="none" stroke="black" points="659,-304 509,-304 509,-268 659,-268 659,-304"/>
<text text-anchor="middle" x="584" y="-282.6" font-family="Courier,monospace" font-size="11.00">BadDBDriverException</text> <text text-anchor="middle" x="584" y="-282.6" font-family="Courier,monospace" font-size="11.00">BadDBDriverException</text>
</a> </a>
</g> </g>
<!-- \\InvalidArgumentException --> <!-- \\InvalidArgumentException -->
<g id="node28" class="node"><title>\\InvalidArgumentException</title> <g id="node29" class="node"><title>\\InvalidArgumentException</title>
<ellipse fill="none" stroke="black" cx="287" cy="-126" rx="138.86" ry="18"/> <ellipse fill="none" stroke="black" cx="287" cy="-126" rx="138.86" ry="18"/>
<text text-anchor="middle" x="287" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text> <text text-anchor="middle" x="287" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text>
</g> </g>
@ -85,14 +96,14 @@
<polygon fill="none" stroke="black" points="415.351,-136.174 404.768,-135.674 412.73,-142.664 415.351,-136.174"/> <polygon fill="none" stroke="black" points="415.351,-136.174 404.768,-135.674 412.73,-142.664 415.351,-136.174"/>
</g> </g>
<!-- \\BadConnectionException --> <!-- \\BadConnectionException -->
<g id="node8" class="node"><title>\\BadConnectionException</title> <g id="node9" class="node"><title>\\BadConnectionException</title>
<a xlink:href="common.html" xlink:title="BadConnectionException" target="_parent"> <a xlink:href="common.html" xlink:title="BadConnectionException" target="_parent">
<polygon fill="none" stroke="black" points="666,-250 502,-250 502,-214 666,-214 666,-250"/> <polygon fill="none" stroke="black" points="666,-250 502,-250 502,-214 666,-214 666,-250"/>
<text text-anchor="middle" x="584" y="-228.6" font-family="Courier,monospace" font-size="11.00">BadConnectionException</text> <text text-anchor="middle" x="584" y="-228.6" font-family="Courier,monospace" font-size="11.00">BadConnectionException</text>
</a> </a>
</g> </g>
<!-- \\UnexpectedValueException --> <!-- \\UnexpectedValueException -->
<g id="node30" class="node"><title>\\UnexpectedValueException</title> <g id="node31" class="node"><title>\\UnexpectedValueException</title>
<ellipse fill="none" stroke="black" cx="287" cy="-72" rx="142.885" ry="18"/> <ellipse fill="none" stroke="black" cx="287" cy="-72" rx="142.885" ry="18"/>
<text text-anchor="middle" x="287" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\UnexpectedValueException</text> <text text-anchor="middle" x="287" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\UnexpectedValueException</text>
</g> </g>
@ -102,199 +113,199 @@
<polygon fill="none" stroke="black" points="408.047,-83.7705 397.454,-83.5843 405.619,-90.3358 408.047,-83.7705"/> <polygon fill="none" stroke="black" points="408.047,-83.7705 397.454,-83.5843 405.619,-90.3358 408.047,-83.7705"/>
</g> </g>
<!-- \\PgSQL_SQL --> <!-- \\PgSQL_SQL -->
<g id="node9" class="node"><title>\\PgSQL_SQL</title> <g id="node10" class="node"><title>\\PgSQL_SQL</title>
<a xlink:href="drivers.pgsql.pgsql_sql.html" xlink:title="PgSQL_SQL" target="_parent"> <a xlink:href="drivers.pgsql.pgsql_sql.html" xlink:title="PgSQL_SQL" target="_parent">
<polygon fill="none" stroke="black" points="622,-844 546,-844 546,-808 622,-808 622,-844"/> <polygon fill="none" stroke="black" points="622,-844 546,-844 546,-808 622,-808 622,-844"/>
<text text-anchor="middle" x="584" y="-822.6" font-family="Courier,monospace" font-size="11.00">PgSQL_SQL</text> <text text-anchor="middle" x="584" y="-822.6" font-family="Courier,monospace" font-size="11.00">PgSQL_SQL</text>
</a> </a>
</g> </g>
<!-- \\PgSQL_SQL&#45;&gt;\\DB_SQL --> <!-- \\PgSQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge9" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\DB_SQL</title> <g id="edge33" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" d="M545.093,-813.561C531.426,-809.093 515.993,-803.937 502,-799 446.048,-779.258 382.529,-755.111 339.128,-738.343"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M545.093,-813.561C531.426,-809.093 515.993,-803.937 502,-799 441.327,-777.593 371.756,-751.005 328.588,-734.264"/>
<polygon fill="none" stroke="black" points="340.227,-735.016 329.637,-734.671 337.7,-741.544 340.227,-735.016"/> <polygon fill="none" stroke="black" points="329.85,-730.999 319.262,-730.641 327.316,-737.524 329.85,-730.999"/>
</g> </g>
<!-- \\PgSQL_Util --> <!-- \\PgSQL_Util -->
<g id="node10" class="node"><title>\\PgSQL_Util</title> <g id="node11" class="node"><title>\\PgSQL_Util</title>
<a xlink:href="drivers.pgsql.pgsql_util.html" xlink:title="PgSQL_Util" target="_parent"> <a xlink:href="drivers.pgsql.pgsql_util.html" xlink:title="PgSQL_Util" target="_parent">
<polygon fill="none" stroke="black" points="626,-1114 542,-1114 542,-1078 626,-1078 626,-1114"/> <polygon fill="none" stroke="black" points="626,-1114 542,-1114 542,-1078 626,-1078 626,-1114"/>
<text text-anchor="middle" x="584" y="-1092.6" font-family="Courier,monospace" font-size="11.00">PgSQL_Util</text> <text text-anchor="middle" x="584" y="-1092.6" font-family="Courier,monospace" font-size="11.00">PgSQL_Util</text>
</a> </a>
</g> </g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util --> <!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge11" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title> <g id="edge9" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M541.747,-1082.47C528.941,-1078.26 514.862,-1073.54 502,-1069 446.048,-1049.26 382.529,-1025.11 339.128,-1008.34"/> <path fill="none" stroke="black" d="M541.747,-1082.47C528.941,-1078.26 514.862,-1073.54 502,-1069 446.048,-1049.26 382.529,-1025.11 339.128,-1008.34"/>
<polygon fill="none" stroke="black" points="340.227,-1005.02 329.637,-1004.67 337.7,-1011.54 340.227,-1005.02"/> <polygon fill="none" stroke="black" points="340.227,-1005.02 329.637,-1004.67 337.7,-1011.54 340.227,-1005.02"/>
</g> </g>
<!-- \\PgSQL --> <!-- \\PgSQL -->
<g id="node11" class="node"><title>\\PgSQL</title> <g id="node12" class="node"><title>\\PgSQL</title>
<a xlink:href="drivers.pgsql.pgsql_driver.html" xlink:title="PgSQL" target="_parent"> <a xlink:href="drivers.pgsql.pgsql_driver.html" xlink:title="PgSQL" target="_parent">
<polygon fill="none" stroke="black" points="611,-574 557,-574 557,-538 611,-538 611,-574"/> <polygon fill="none" stroke="black" points="611,-574 557,-574 557,-538 611,-538 611,-574"/>
<text text-anchor="middle" x="584" y="-552.6" font-family="Courier,monospace" font-size="11.00">PgSQL</text> <text text-anchor="middle" x="584" y="-552.6" font-family="Courier,monospace" font-size="11.00">PgSQL</text>
</a> </a>
</g> </g>
<!-- \\PgSQL&#45;&gt;\\DB_PDO --> <!-- \\PgSQL&#45;&gt;\\DB_PDO -->
<g id="edge13" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title> <g id="edge11" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M556.942,-547.408C540.912,-542.239 520.233,-535.433 502,-529 446.048,-509.258 382.529,-485.111 339.128,-468.343"/> <path fill="none" stroke="black" d="M556.942,-547.408C540.912,-542.239 520.233,-535.433 502,-529 446.048,-509.258 382.529,-485.111 339.128,-468.343"/>
<polygon fill="none" stroke="black" points="340.227,-465.016 329.637,-464.671 337.7,-471.544 340.227,-465.016"/> <polygon fill="none" stroke="black" points="340.227,-465.016 329.637,-464.671 337.7,-471.544 340.227,-465.016"/>
</g> </g>
<!-- \\ODBC_Util --> <!-- \\ODBC_Util -->
<g id="node12" class="node"><title>\\ODBC_Util</title> <g id="node13" class="node"><title>\\ODBC_Util</title>
<a xlink:href="drivers.odbc.odbc_util.html" xlink:title="ODBC_Util" target="_parent"> <a xlink:href="drivers.odbc.odbc_util.html" xlink:title="ODBC_Util" target="_parent">
<polygon fill="none" stroke="black" points="622,-1060 546,-1060 546,-1024 622,-1024 622,-1060"/> <polygon fill="none" stroke="black" points="622,-1060 546,-1060 546,-1024 622,-1024 622,-1060"/>
<text text-anchor="middle" x="584" y="-1038.6" font-family="Courier,monospace" font-size="11.00">ODBC_Util</text> <text text-anchor="middle" x="584" y="-1038.6" font-family="Courier,monospace" font-size="11.00">ODBC_Util</text>
</a> </a>
</g> </g>
<!-- \\ODBC_Util&#45;&gt;\\DB_Util --> <!-- \\ODBC_Util&#45;&gt;\\DB_Util -->
<g id="edge15" class="edge"><title>\\ODBC_Util&#45;&gt;\\DB_Util</title> <g id="edge13" class="edge"><title>\\ODBC_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M545.477,-1035C492.953,-1025.45 398.67,-1008.3 339.653,-997.573"/> <path fill="none" stroke="black" d="M545.477,-1035C492.953,-1025.45 398.67,-1008.3 339.653,-997.573"/>
<polygon fill="none" stroke="black" points="340.244,-994.123 329.779,-995.778 338.991,-1001.01 340.244,-994.123"/> <polygon fill="none" stroke="black" points="340.244,-994.123 329.779,-995.778 338.991,-1001.01 340.244,-994.123"/>
</g> </g>
<!-- \\ODBC_SQL --> <!-- \\ODBC_SQL -->
<g id="node13" class="node"><title>\\ODBC_SQL</title> <g id="node14" class="node"><title>\\ODBC_SQL</title>
<a xlink:href="drivers.odbc.odbc_sql.html" xlink:title="ODBC_SQL" target="_parent"> <a xlink:href="drivers.odbc.odbc_sql.html" xlink:title="ODBC_SQL" target="_parent">
<polygon fill="none" stroke="black" points="619,-790 549,-790 549,-754 619,-754 619,-790"/> <polygon fill="none" stroke="black" points="619,-790 549,-790 549,-754 619,-754 619,-790"/>
<text text-anchor="middle" x="584" y="-768.6" font-family="Courier,monospace" font-size="11.00">ODBC_SQL</text> <text text-anchor="middle" x="584" y="-768.6" font-family="Courier,monospace" font-size="11.00">ODBC_SQL</text>
</a> </a>
</g> </g>
<!-- \\ODBC_SQL&#45;&gt;\\DB_SQL --> <!-- \\ODBC_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge17" class="edge"><title>\\ODBC_SQL&#45;&gt;\\DB_SQL</title> <g id="edge35" class="edge"><title>\\ODBC_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" d="M548.764,-765.593C497.054,-756.192 400.231,-738.588 339.94,-727.626"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M548.764,-765.593C493.827,-755.605 387.971,-736.358 329.099,-725.654"/>
<polygon fill="none" stroke="black" points="340.324,-724.138 329.859,-725.793 339.072,-731.025 340.324,-724.138"/> <polygon fill="none" stroke="black" points="329.489,-722.168 319.024,-723.823 328.237,-729.055 329.489,-722.168"/>
</g> </g>
<!-- \\ODBC --> <!-- \\ODBC -->
<g id="node14" class="node"><title>\\ODBC</title> <g id="node15" class="node"><title>\\ODBC</title>
<a xlink:href="drivers.odbc.odbc_driver.html" xlink:title="ODBC" target="_parent"> <a xlink:href="drivers.odbc.odbc_driver.html" xlink:title="ODBC" target="_parent">
<polygon fill="none" stroke="black" points="611,-520 557,-520 557,-484 611,-484 611,-520"/> <polygon fill="none" stroke="black" points="611,-520 557,-520 557,-484 611,-484 611,-520"/>
<text text-anchor="middle" x="584" y="-498.6" font-family="Courier,monospace" font-size="11.00">ODBC</text> <text text-anchor="middle" x="584" y="-498.6" font-family="Courier,monospace" font-size="11.00">ODBC</text>
</a> </a>
</g> </g>
<!-- \\ODBC&#45;&gt;\\DB_PDO --> <!-- \\ODBC&#45;&gt;\\DB_PDO -->
<g id="edge19" class="edge"><title>\\ODBC&#45;&gt;\\DB_PDO</title> <g id="edge15" class="edge"><title>\\ODBC&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M556.856,-497.065C507.751,-488.137 403.375,-469.159 339.79,-457.598"/> <path fill="none" stroke="black" d="M556.856,-497.065C507.751,-488.137 403.375,-469.159 339.79,-457.598"/>
<polygon fill="none" stroke="black" points="340.031,-454.085 329.566,-455.739 338.779,-460.972 340.031,-454.085"/> <polygon fill="none" stroke="black" points="340.031,-454.085 329.566,-455.739 338.779,-460.972 340.031,-454.085"/>
</g> </g>
<!-- \\MySQL_Util --> <!-- \\MySQL_Util -->
<g id="node15" class="node"><title>\\MySQL_Util</title> <g id="node16" class="node"><title>\\MySQL_Util</title>
<a xlink:href="drivers.mysql.mysql_util.html" xlink:title="MySQL_Util" target="_parent"> <a xlink:href="drivers.mysql.mysql_util.html" xlink:title="MySQL_Util" target="_parent">
<polygon fill="none" stroke="black" points="626,-1006 542,-1006 542,-970 626,-970 626,-1006"/> <polygon fill="none" stroke="black" points="626,-1006 542,-1006 542,-970 626,-970 626,-1006"/>
<text text-anchor="middle" x="584" y="-984.6" font-family="Courier,monospace" font-size="11.00">MySQL_Util</text> <text text-anchor="middle" x="584" y="-984.6" font-family="Courier,monospace" font-size="11.00">MySQL_Util</text>
</a> </a>
</g> </g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util --> <!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge21" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title> <g id="edge17" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M541.447,-988C488.447,-988 397.876,-988 340.305,-988"/> <path fill="none" stroke="black" d="M541.447,-988C488.447,-988 397.876,-988 340.305,-988"/>
<polygon fill="none" stroke="black" points="339.956,-984.5 329.956,-988 339.956,-991.5 339.956,-984.5"/> <polygon fill="none" stroke="black" points="339.956,-984.5 329.956,-988 339.956,-991.5 339.956,-984.5"/>
</g> </g>
<!-- \\MySQL --> <!-- \\MySQL -->
<g id="node16" class="node"><title>\\MySQL</title> <g id="node17" class="node"><title>\\MySQL</title>
<a xlink:href="drivers.mysql.mysql_driver.html" xlink:title="MySQL" target="_parent"> <a xlink:href="drivers.mysql.mysql_driver.html" xlink:title="MySQL" target="_parent">
<polygon fill="none" stroke="black" points="611,-466 557,-466 557,-430 611,-430 611,-466"/> <polygon fill="none" stroke="black" points="611,-466 557,-466 557,-430 611,-430 611,-466"/>
<text text-anchor="middle" x="584" y="-444.6" font-family="Courier,monospace" font-size="11.00">MySQL</text> <text text-anchor="middle" x="584" y="-444.6" font-family="Courier,monospace" font-size="11.00">MySQL</text>
</a> </a>
</g> </g>
<!-- \\MySQL&#45;&gt;\\DB_PDO --> <!-- \\MySQL&#45;&gt;\\DB_PDO -->
<g id="edge23" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title> <g id="edge19" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M556.856,-448C507.751,-448 403.375,-448 339.79,-448"/> <path fill="none" stroke="black" d="M556.856,-448C507.751,-448 403.375,-448 339.79,-448"/>
<polygon fill="none" stroke="black" points="339.566,-444.5 329.566,-448 339.566,-451.5 339.566,-444.5"/> <polygon fill="none" stroke="black" points="339.566,-444.5 329.566,-448 339.566,-451.5 339.566,-444.5"/>
</g> </g>
<!-- \\MySQL_SQL --> <!-- \\MySQL_SQL -->
<g id="node17" class="node"><title>\\MySQL_SQL</title> <g id="node18" class="node"><title>\\MySQL_SQL</title>
<a xlink:href="drivers.mysql.mysql_sql.html" xlink:title="MySQL_SQL" target="_parent"> <a xlink:href="drivers.mysql.mysql_sql.html" xlink:title="MySQL_SQL" target="_parent">
<polygon fill="none" stroke="black" points="623,-736 545,-736 545,-700 623,-700 623,-736"/> <polygon fill="none" stroke="black" points="623,-736 545,-736 545,-700 623,-700 623,-736"/>
<text text-anchor="middle" x="584" y="-714.6" font-family="Courier,monospace" font-size="11.00">MySQL_SQL</text> <text text-anchor="middle" x="584" y="-714.6" font-family="Courier,monospace" font-size="11.00">MySQL_SQL</text>
</a> </a>
</g> </g>
<!-- \\MySQL_SQL&#45;&gt;\\DB_SQL --> <!-- \\MySQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge25" class="edge"><title>\\MySQL_SQL&#45;&gt;\\DB_SQL</title> <g id="edge37" class="edge"><title>\\MySQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" d="M544.867,-718C492.265,-718 398.579,-718 339.781,-718"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M544.867,-718C489.111,-718 387.199,-718 329.599,-718"/>
<polygon fill="none" stroke="black" points="339.584,-714.5 329.584,-718 339.584,-721.5 339.584,-714.5"/> <polygon fill="none" stroke="black" points="329.381,-714.5 319.381,-718 329.381,-721.5 329.381,-714.5"/>
</g> </g>
<!-- \\SQLite_Util --> <!-- \\SQLite_Util -->
<g id="node18" class="node"><title>\\SQLite_Util</title> <g id="node19" class="node"><title>\\SQLite_Util</title>
<a xlink:href="drivers.sqlite.sqlite_util.html" xlink:title="SQLite_Util" target="_parent"> <a xlink:href="drivers.sqlite.sqlite_util.html" xlink:title="SQLite_Util" target="_parent">
<polygon fill="none" stroke="black" points="629,-952 539,-952 539,-916 629,-916 629,-952"/> <polygon fill="none" stroke="black" points="629,-952 539,-952 539,-916 629,-916 629,-952"/>
<text text-anchor="middle" x="584" y="-930.6" font-family="Courier,monospace" font-size="11.00">SQLite_Util</text> <text text-anchor="middle" x="584" y="-930.6" font-family="Courier,monospace" font-size="11.00">SQLite_Util</text>
</a> </a>
</g> </g>
<!-- \\SQLite_Util&#45;&gt;\\DB_Util --> <!-- \\SQLite_Util&#45;&gt;\\DB_Util -->
<g id="edge27" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title> <g id="edge21" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M538.245,-942.319C484.784,-952.039 396.477,-968.095 340.06,-978.353"/> <path fill="none" stroke="black" d="M538.245,-942.319C484.784,-952.039 396.477,-968.095 340.06,-978.353"/>
<polygon fill="none" stroke="black" points="339.125,-974.965 329.912,-980.198 340.377,-981.852 339.125,-974.965"/> <polygon fill="none" stroke="black" points="339.125,-974.965 329.912,-980.198 340.377,-981.852 339.125,-974.965"/>
</g> </g>
<!-- \\SQLite --> <!-- \\SQLite -->
<g id="node19" class="node"><title>\\SQLite</title> <g id="node20" class="node"><title>\\SQLite</title>
<a xlink:href="drivers.sqlite.sqlite_driver.html" xlink:title="SQLite" target="_parent"> <a xlink:href="drivers.sqlite.sqlite_driver.html" xlink:title="SQLite" target="_parent">
<polygon fill="none" stroke="black" points="612,-412 556,-412 556,-376 612,-376 612,-412"/> <polygon fill="none" stroke="black" points="612,-412 556,-412 556,-376 612,-376 612,-412"/>
<text text-anchor="middle" x="584" y="-390.6" font-family="Courier,monospace" font-size="11.00">SQLite</text> <text text-anchor="middle" x="584" y="-390.6" font-family="Courier,monospace" font-size="11.00">SQLite</text>
</a> </a>
</g> </g>
<!-- \\SQLite&#45;&gt;\\DB_PDO --> <!-- \\SQLite&#45;&gt;\\DB_PDO -->
<g id="edge29" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title> <g id="edge23" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M555.42,-400.405C524.567,-407.21 473.936,-418.061 430,-426 400.191,-431.386 366.734,-436.58 339.68,-440.567"/> <path fill="none" stroke="black" d="M555.42,-400.405C524.567,-407.21 473.936,-418.061 430,-426 400.191,-431.386 366.734,-436.58 339.68,-440.567"/>
<polygon fill="none" stroke="black" points="339.035,-437.124 329.646,-442.034 340.047,-444.05 339.035,-437.124"/> <polygon fill="none" stroke="black" points="339.035,-437.124 329.646,-442.034 340.047,-444.05 339.035,-437.124"/>
</g> </g>
<!-- \\SQLite_SQL --> <!-- \\SQLite_SQL -->
<g id="node20" class="node"><title>\\SQLite_SQL</title> <g id="node21" class="node"><title>\\SQLite_SQL</title>
<a xlink:href="drivers.sqlite.sqlite_sql.html" xlink:title="SQLite_SQL" target="_parent"> <a xlink:href="drivers.sqlite.sqlite_sql.html" xlink:title="SQLite_SQL" target="_parent">
<polygon fill="none" stroke="black" points="626,-682 542,-682 542,-646 626,-646 626,-682"/> <polygon fill="none" stroke="black" points="626,-682 542,-682 542,-646 626,-646 626,-682"/>
<text text-anchor="middle" x="584" y="-660.6" font-family="Courier,monospace" font-size="11.00">SQLite_SQL</text> <text text-anchor="middle" x="584" y="-660.6" font-family="Courier,monospace" font-size="11.00">SQLite_SQL</text>
</a> </a>
</g> </g>
<!-- \\SQLite_SQL&#45;&gt;\\DB_SQL --> <!-- \\SQLite_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge31" class="edge"><title>\\SQLite_SQL&#45;&gt;\\DB_SQL</title> <g id="edge39" class="edge"><title>\\SQLite_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" d="M541.763,-671.68C488.583,-681.349 397.223,-697.959 339.576,-708.441"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M541.763,-671.68C485.225,-681.959 385.535,-700.085 329.079,-710.349"/>
<polygon fill="none" stroke="black" points="338.785,-705.027 329.573,-710.26 340.037,-711.914 338.785,-705.027"/> <polygon fill="none" stroke="black" points="328.273,-706.938 319.06,-712.171 329.525,-713.825 328.273,-706.938"/>
</g> </g>
<!-- \\Firebird_SQL --> <!-- \\Firebird_SQL -->
<g id="node21" class="node"><title>\\Firebird_SQL</title> <g id="node22" class="node"><title>\\Firebird_SQL</title>
<a xlink:href="drivers.firebird.firebird_sql.html" xlink:title="Firebird_SQL" target="_parent"> <a xlink:href="drivers.firebird.firebird_sql.html" xlink:title="Firebird_SQL" target="_parent">
<polygon fill="none" stroke="black" points="632,-628 536,-628 536,-592 632,-592 632,-628"/> <polygon fill="none" stroke="black" points="632,-628 536,-628 536,-592 632,-592 632,-628"/>
<text text-anchor="middle" x="584" y="-606.6" font-family="Courier,monospace" font-size="11.00">Firebird_SQL</text> <text text-anchor="middle" x="584" y="-606.6" font-family="Courier,monospace" font-size="11.00">Firebird_SQL</text>
</a> </a>
</g> </g>
<!-- \\Firebird_SQL&#45;&gt;\\DB_SQL --> <!-- \\Firebird_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge33" class="edge"><title>\\Firebird_SQL&#45;&gt;\\DB_SQL</title> <g id="edge41" class="edge"><title>\\Firebird_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" d="M535.322,-625.653C524.333,-629.291 512.742,-633.21 502,-637 446.048,-656.742 382.529,-680.889 339.128,-697.657"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M535.322,-625.653C524.333,-629.291 512.742,-633.21 502,-637 441.327,-658.407 371.756,-684.995 328.588,-701.736"/>
<polygon fill="none" stroke="black" points="337.7,-694.456 329.637,-701.329 340.227,-700.984 337.7,-694.456"/> <polygon fill="none" stroke="black" points="327.316,-698.476 319.262,-705.359 329.85,-705.001 327.316,-698.476"/>
</g> </g>
<!-- \\Firebird_Result --> <!-- \\Firebird_Result -->
<g id="node22" class="node"><title>\\Firebird_Result</title> <g id="node23" class="node"><title>\\Firebird_Result</title>
<a xlink:href="drivers.firebird.firebird_result.html" xlink:title="Firebird_Result" target="_parent"> <a xlink:href="drivers.firebird.firebird_result.html" xlink:title="Firebird_Result" target="_parent">
<polygon fill="none" stroke="black" points="642,-196 526,-196 526,-160 642,-160 642,-196"/> <polygon fill="none" stroke="black" points="642,-196 526,-196 526,-160 642,-160 642,-196"/>
<text text-anchor="middle" x="584" y="-174.6" font-family="Courier,monospace" font-size="11.00">Firebird_Result</text> <text text-anchor="middle" x="584" y="-174.6" font-family="Courier,monospace" font-size="11.00">Firebird_Result</text>
</a> </a>
</g> </g>
<!-- \\PDOStatement --> <!-- \\PDOStatement -->
<g id="node45" class="node"><title>\\PDOStatement</title> <g id="node41" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="287" cy="-18" rx="85.1942" ry="18"/> <ellipse fill="none" stroke="black" cx="287" cy="-18" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="287" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text> <text text-anchor="middle" x="287" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g> </g>
<!-- \\Firebird_Result&#45;&gt;\\PDOStatement --> <!-- \\Firebird_Result&#45;&gt;\\PDOStatement -->
<g id="edge35" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title> <g id="edge25" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title>
<path fill="none" stroke="black" d="M568.617,-159.537C543.074,-130.208 488.863,-73.3967 430,-45 413.026,-36.8113 393.802,-31.1023 375.082,-27.1231"/> <path fill="none" stroke="black" d="M568.617,-159.537C543.074,-130.208 488.863,-73.3967 430,-45 413.026,-36.8113 393.802,-31.1023 375.082,-27.1231"/>
<polygon fill="none" stroke="black" points="375.542,-23.6464 365.053,-25.141 374.184,-30.5136 375.542,-23.6464"/> <polygon fill="none" stroke="black" points="375.542,-23.6464 365.053,-25.141 374.184,-30.5136 375.542,-23.6464"/>
</g> </g>
<!-- \\Firebird --> <!-- \\Firebird -->
<g id="node23" class="node"><title>\\Firebird</title> <g id="node24" class="node"><title>\\Firebird</title>
<a xlink:href="drivers.firebird.firebird_driver.html" xlink:title="Firebird" target="_parent"> <a xlink:href="drivers.firebird.firebird_driver.html" xlink:title="Firebird" target="_parent">
<polygon fill="none" stroke="black" points="619,-358 549,-358 549,-322 619,-322 619,-358"/> <polygon fill="none" stroke="black" points="619,-358 549,-358 549,-322 619,-322 619,-358"/>
<text text-anchor="middle" x="584" y="-336.6" font-family="Courier,monospace" font-size="11.00">Firebird</text> <text text-anchor="middle" x="584" y="-336.6" font-family="Courier,monospace" font-size="11.00">Firebird</text>
</a> </a>
</g> </g>
<!-- \\Firebird&#45;&gt;\\DB_PDO --> <!-- \\Firebird&#45;&gt;\\DB_PDO -->
<g id="edge37" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title> <g id="edge27" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M548.914,-348.465C533.935,-352.851 516.582,-358.991 502,-367 465.738,-386.918 467.783,-409.147 430,-426 401.827,-438.566 367.775,-444.139 339.968,-446.536"/> <path fill="none" stroke="black" d="M548.914,-348.465C533.935,-352.851 516.582,-358.991 502,-367 465.738,-386.918 467.783,-409.147 430,-426 401.827,-438.566 367.775,-444.139 339.968,-446.536"/>
<polygon fill="none" stroke="black" points="339.354,-443.072 329.642,-447.307 339.875,-450.053 339.354,-443.072"/> <polygon fill="none" stroke="black" points="339.354,-443.072 329.642,-447.307 339.875,-450.053 339.354,-443.072"/>
</g> </g>
<!-- \\Firebird_Util --> <!-- \\Firebird_Util -->
<g id="node24" class="node"><title>\\Firebird_Util</title> <g id="node25" class="node"><title>\\Firebird_Util</title>
<a xlink:href="drivers.firebird.firebird_util.html" xlink:title="Firebird_Util" target="_parent"> <a xlink:href="drivers.firebird.firebird_util.html" xlink:title="Firebird_Util" target="_parent">
<polygon fill="none" stroke="black" points="636,-898 532,-898 532,-862 636,-862 636,-898"/> <polygon fill="none" stroke="black" points="636,-898 532,-898 532,-862 636,-862 636,-898"/>
<text text-anchor="middle" x="584" y="-876.6" font-family="Courier,monospace" font-size="11.00">Firebird_Util</text> <text text-anchor="middle" x="584" y="-876.6" font-family="Courier,monospace" font-size="11.00">Firebird_Util</text>
</a> </a>
</g> </g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util --> <!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="edge39" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title> <g id="edge29" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M531.833,-896.81C521.902,-900.114 511.611,-903.609 502,-907 446.048,-926.742 382.529,-950.889 339.128,-967.657"/> <path fill="none" stroke="black" d="M531.833,-896.81C521.902,-900.114 511.611,-903.609 502,-907 446.048,-926.742 382.529,-950.889 339.128,-967.657"/>
<polygon fill="none" stroke="black" points="337.7,-964.456 329.637,-971.329 340.227,-970.984 337.7,-964.456"/> <polygon fill="none" stroke="black" points="337.7,-964.456 329.637,-971.329 340.227,-970.984 337.7,-964.456"/>
</g> </g>

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -219,7 +219,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -219,7 +219,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -116,7 +116,6 @@ the connection/database</span><pre>get_system_tables()</pre></a></li>
</span><pre>rollBack()</pre></a></li> </span><pre>rollBack()</pre></a></li>
<li class="method public "><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute() <li class="method public "><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute()
</span><pre>setAttribute()</pre></a></li> </span><pre>setAttribute()</pre></a></li>
<li class="method public "><a href="#switch_db" title="switch_db :: Connect to a different database"><span class="description">Connect to a different database</span><pre>switch_db()</pre></a></li>
<li class="method public "><a href="#truncate" title="truncate :: Empty the passed table"><span class="description">Empty the passed table</span><pre>truncate()</pre></a></li> <li class="method public "><a href="#truncate" title="truncate :: Empty the passed table"><span class="description">Empty the passed table</span><pre>truncate()</pre></a></li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
<li class="method protected "><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li> <li class="method protected "><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li>
@ -656,19 +655,6 @@ the connection/database</h2>
</tr></table> </tr></table>
</div></div> </div></div>
</div> </div>
<a name="switch_db" id="switch_db"></a><div class="element clickable method public switch_db" data-toggle="collapse" data-target=".switch_db .collapse">
<h2>Connect to a different database</h2>
<pre>switch_db(string $name) : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse"> <a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse">
<h2>Empty the passed table</h2> <h2>Empty the passed table</h2>
<pre>truncate(string $table) : void</pre> <pre>truncate(string $table) : void</pre>
@ -757,7 +743,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -244,7 +244,7 @@ specified table</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-11-09T15:10:09-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -210,7 +210,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -108,7 +108,6 @@ the connection/database</span><pre>get_system_tables()</pre></a></li>
<li class="method public "><a href="#rollBack" title="rollBack :: Rollback a transaction"><span class="description">Rollback a transaction</span><pre>rollBack()</pre></a></li> <li class="method public "><a href="#rollBack" title="rollBack :: Rollback a transaction"><span class="description">Rollback a transaction</span><pre>rollBack()</pre></a></li>
<li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute() <li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute()
</span><pre>setAttribute()</pre></a></li> </span><pre>setAttribute()</pre></a></li>
<li class="method public "><a href="#switch_db" title="switch_db :: Doesn't apply to Firebird"><span class="description">Doesn't apply to Firebird</span><pre>switch_db()</pre></a></li>
<li class="method public "><a href="#truncate" title="truncate :: Empty a database table"><span class="description">Empty a database table</span><pre>truncate()</pre></a></li> <li class="method public "><a href="#truncate" title="truncate :: Empty a database table"><span class="description">Empty a database table</span><pre>truncate()</pre></a></li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
<li class="method protected inherited"><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li> <li class="method protected inherited"><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li>
@ -781,21 +780,6 @@ the connection/database</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="switch_db" id="switch_db"></a><div class="element clickable method public switch_db" data-toggle="collapse" data-target=".switch_db .collapse">
<h2>Doesn't apply to Firebird</h2>
<pre>switch_db(string $name) : FALSE</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>FALSE</code></div>
</div></div>
</div>
<a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse"> <a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse">
<h2>Empty a database table</h2> <h2>Empty a database table</h2>
<pre>truncate(string $table) : void</pre> <pre>truncate(string $table) : void</pre>
@ -941,7 +925,7 @@ the last query executed</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -505,7 +505,7 @@ the query</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -234,7 +234,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -213,7 +213,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -116,7 +116,6 @@ the connection/database</span><pre>get_system_tables()</pre></a></li>
</span><pre>rollBack()</pre></a></li> </span><pre>rollBack()</pre></a></li>
<li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute() <li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute()
</span><pre>setAttribute()</pre></a></li> </span><pre>setAttribute()</pre></a></li>
<li class="method public "><a href="#switch_db" title="switch_db :: Connect to a different database"><span class="description">Connect to a different database</span><pre>switch_db()</pre></a></li>
<li class="method public "><a href="#truncate" title="truncate :: Empty a table"><span class="description">Empty a table</span><pre>truncate()</pre></a></li> <li class="method public "><a href="#truncate" title="truncate :: Empty a table"><span class="description">Empty a table</span><pre>truncate()</pre></a></li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
<li class="method protected inherited"><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li> <li class="method protected inherited"><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li>
@ -838,19 +837,6 @@ the connection/database</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="switch_db" id="switch_db"></a><div class="element clickable method public switch_db" data-toggle="collapse" data-target=".switch_db .collapse">
<h2>Connect to a different database</h2>
<pre>switch_db(string $name) : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse"> <a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse">
<h2>Empty a table</h2> <h2>Empty a table</h2>
<pre>truncate(string $table) : void</pre> <pre>truncate(string $table) : void</pre>
@ -977,7 +963,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -239,7 +239,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -209,7 +209,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -116,7 +116,6 @@ the connection/database</span><pre>get_system_tables()</pre></a></li>
</span><pre>rollBack()</pre></a></li> </span><pre>rollBack()</pre></a></li>
<li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute() <li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute()
</span><pre>setAttribute()</pre></a></li> </span><pre>setAttribute()</pre></a></li>
<li class="method public "><a href="#switch_db" title="switch_db :: Doesn't apply to ODBC"><span class="description">Doesn't apply to ODBC</span><pre>switch_db()</pre></a></li>
<li class="method public "><a href="#truncate" title="truncate :: Empty the current database"><span class="description">Empty the current database</span><pre>truncate()</pre></a></li> <li class="method public "><a href="#truncate" title="truncate :: Empty the current database"><span class="description">Empty the current database</span><pre>truncate()</pre></a></li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
<li class="method protected inherited"><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li> <li class="method protected inherited"><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li>
@ -838,21 +837,6 @@ the connection/database</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="switch_db" id="switch_db"></a><div class="element clickable method public switch_db" data-toggle="collapse" data-target=".switch_db .collapse">
<h2>Doesn't apply to ODBC</h2>
<pre>switch_db(string $name) : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
<a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse"> <a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse">
<h2>Empty the current database</h2> <h2>Empty the current database</h2>
<pre>truncate(string $table) : void</pre> <pre>truncate(string $table) : void</pre>
@ -979,7 +963,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -234,7 +234,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -204,7 +204,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -116,7 +116,6 @@ the connection/database</span><pre>get_system_tables()</pre></a></li>
</span><pre>rollBack()</pre></a></li> </span><pre>rollBack()</pre></a></li>
<li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute() <li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute()
</span><pre>setAttribute()</pre></a></li> </span><pre>setAttribute()</pre></a></li>
<li class="method public "><a href="#switch_db" title="switch_db :: Connect to a different database"><span class="description">Connect to a different database</span><pre>switch_db()</pre></a></li>
<li class="method public "><a href="#truncate" title="truncate :: Empty a table"><span class="description">Empty a table</span><pre>truncate()</pre></a></li> <li class="method public "><a href="#truncate" title="truncate :: Empty a table"><span class="description">Empty a table</span><pre>truncate()</pre></a></li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
<li class="method protected inherited"><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li> <li class="method protected inherited"><a href="#_prefix" title="_prefix :: Sets the table prefix on the passed string"><span class="description">Sets the table prefix on the passed string</span><pre>_prefix()</pre></a></li>
@ -834,19 +833,6 @@ the connection/database</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="switch_db" id="switch_db"></a><div class="element clickable method public switch_db" data-toggle="collapse" data-target=".switch_db .collapse">
<h2>Connect to a different database</h2>
<pre>switch_db(string $name) : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse"> <a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse">
<h2>Empty a table</h2> <h2>Empty a table</h2>
<pre>truncate(string $table) : void</pre> <pre>truncate(string $table) : void</pre>
@ -979,7 +965,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -234,7 +234,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -209,7 +209,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -70,10 +70,10 @@ in place of the get() method</span><pre>count_all_results()</pre></a></li>
<li class="method public "><a href="#get" title="get :: Select and retrieve all records from the current table, and/or <li class="method public "><a href="#get" title="get :: Select and retrieve all records from the current table, and/or
execute current compiled query"><span class="description">Select and retrieve all records from the current table, and/or execute current compiled query"><span class="description">Select and retrieve all records from the current table, and/or
execute current compiled query</span><pre>get()</pre></a></li> execute current compiled query</span><pre>get()</pre></a></li>
<li class="method public "><a href="#get_compiled_delete" title="get_compiled_delete :: Returns the generated 'insert' sql query"><span class="description">Returns the generated 'insert' sql query</span><pre>get_compiled_delete()</pre></a></li> <li class="method public "><a href="#get_compiled_delete" title="get_compiled_delete :: Returns the generated 'delete' sql query"><span class="description">Returns the generated 'delete' sql query</span><pre>get_compiled_delete()</pre></a></li>
<li class="method public "><a href="#get_compiled_insert" title="get_compiled_insert :: Returns the generated 'insert' sql query"><span class="description">Returns the generated 'insert' sql query</span><pre>get_compiled_insert()</pre></a></li> <li class="method public "><a href="#get_compiled_insert" title="get_compiled_insert :: Returns the generated 'insert' sql query"><span class="description">Returns the generated 'insert' sql query</span><pre>get_compiled_insert()</pre></a></li>
<li class="method public "><a href="#get_compiled_select" title="get_compiled_select :: Returns the generated 'select' sql query"><span class="description">Returns the generated 'select' sql query</span><pre>get_compiled_select()</pre></a></li> <li class="method public "><a href="#get_compiled_select" title="get_compiled_select :: Returns the generated 'select' sql query"><span class="description">Returns the generated 'select' sql query</span><pre>get_compiled_select()</pre></a></li>
<li class="method public "><a href="#get_compiled_update" title="get_compiled_update :: Returns the generated 'insert' sql query"><span class="description">Returns the generated 'insert' sql query</span><pre>get_compiled_update()</pre></a></li> <li class="method public "><a href="#get_compiled_update" title="get_compiled_update :: Returns the generated 'update' sql query"><span class="description">Returns the generated 'update' sql query</span><pre>get_compiled_update()</pre></a></li>
<li class="method public "><a href="#get_where" title="get_where :: Convience method for get() with a where clause"><span class="description">Convience method for get() with a where clause</span><pre>get_where()</pre></a></li> <li class="method public "><a href="#get_where" title="get_where :: Convience method for get() with a where clause"><span class="description">Convience method for get() with a where clause</span><pre>get_where()</pre></a></li>
<li class="method public "><a href="#group_by" title="group_by :: Group the results by the selected field(s)"><span class="description">Group the results by the selected field(s)</span><pre>group_by()</pre></a></li> <li class="method public "><a href="#group_by" title="group_by :: Group the results by the selected field(s)"><span class="description">Group the results by the selected field(s)</span><pre>group_by()</pre></a></li>
<li class="method public "><a href="#group_end" title="group_end :: Ends a query group"><span class="description">Ends a query group</span><pre>group_end()</pre></a></li> <li class="method public "><a href="#group_end" title="group_end :: Ends a query group"><span class="description">Ends a query group</span><pre>group_end()</pre></a></li>
@ -112,36 +112,36 @@ Note: this function works with key / value, or a
passed array with key / value pairs</span><pre>where()</pre></a></li> passed array with key / value pairs</span><pre>where()</pre></a></li>
<li class="method public "><a href="#where_in" title="where_in :: Where clause with 'IN' statement"><span class="description">Where clause with 'IN' statement</span><pre>where_in()</pre></a></li> <li class="method public "><a href="#where_in" title="where_in :: Where clause with 'IN' statement"><span class="description">Where clause with 'IN' statement</span><pre>where_in()</pre></a></li>
<li class="method public "><a href="#where_not_in" title="where_not_in :: WHERE NOT IN (FOO) clause"><span class="description">WHERE NOT IN (FOO) clause</span><pre>where_not_in()</pre></a></li> <li class="method public "><a href="#where_not_in" title="where_not_in :: WHERE NOT IN (FOO) clause"><span class="description">WHERE NOT IN (FOO) clause</span><pre>where_not_in()</pre></a></li>
<li class="nav-header private">» Private</li> <li class="nav-header protected">» Protected</li>
<li class="method private "><a href="#_compile" title="_compile :: String together the sql statements for sending to the db"><span class="description">String together the sql statements for sending to the db</span><pre>_compile()</pre></a></li> <li class="method protected "><a href="#_compile" title="_compile :: String together the sql statements for sending to the db"><span class="description">String together the sql statements for sending to the db</span><pre>_compile()</pre></a></li>
<li class="method private "><a href="#_get_compile" title="_get_compile :: Helper function for returning sql strings"><span class="description">Helper function for returning sql strings</span><pre>_get_compile()</pre></a></li> <li class="method protected "><a href="#_get_compile" title="_get_compile :: Helper function for returning sql strings"><span class="description">Helper function for returning sql strings</span><pre>_get_compile()</pre></a></li>
<li class="method private "><a href="#_having" title="_having :: Simplify building having clauses"><span class="description">Simplify building having clauses</span><pre>_having()</pre></a></li> <li class="method protected "><a href="#_having" title="_having :: Simplify building having clauses"><span class="description">Simplify building having clauses</span><pre>_having()</pre></a></li>
<li class="method private "><a href="#_like" title="_like :: Simplify 'like' methods"><span class="description">Simplify 'like' methods</span><pre>_like()</pre></a></li> <li class="method protected "><a href="#_like" title="_like :: Simplify 'like' methods"><span class="description">Simplify 'like' methods</span><pre>_like()</pre></a></li>
<li class="method private "><a href="#_run" title="_run :: Executes the compiled query"><span class="description">Executes the compiled query</span><pre>_run()</pre></a></li> <li class="method protected "><a href="#_run" title="_run :: Executes the compiled query"><span class="description">Executes the compiled query</span><pre>_run()</pre></a></li>
<li class="method private "><a href="#_select" title="_select :: Method to simplify select_ methods"><span class="description">Method to simplify select_ methods</span><pre>_select()</pre></a></li> <li class="method protected "><a href="#_select" title="_select :: Method to simplify select_ methods"><span class="description">Method to simplify select_ methods</span><pre>_select()</pre></a></li>
<li class="method private "><a href="#_where" title="_where :: Do all the repeditive stuff for where/having type methods"><span class="description">Do all the repeditive stuff for where/having type methods</span><pre>_where()</pre></a></li> <li class="method protected "><a href="#_where" title="_where :: Do all the repeditive stuff for where/having type methods"><span class="description">Do all the repeditive stuff for where/having type methods</span><pre>_where()</pre></a></li>
<li class="method private "><a href="#_where_in" title="_where_in :: Simplify where_in methods"><span class="description">Simplify where_in methods</span><pre>_where_in()</pre></a></li> <li class="method protected "><a href="#_where_in" title="_where_in :: Simplify where_in methods"><span class="description">Simplify where_in methods</span><pre>_where_in()</pre></a></li>
<li class="method private "><a href="#_where_string" title="_where_string :: Simplify generating where string"><span class="description">Simplify generating where string</span><pre>_where_string()</pre></a></li> <li class="method protected "><a href="#_where_string" title="_where_string :: Simplify generating where string"><span class="description">Simplify generating where string</span><pre>_where_string()</pre></a></li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li> <i class="icon-custom icon-property"></i> Properties</li>
<li class="property public "><a href="#%24conn_name" title="$conn_name :: "><span class="description">$conn_name</span><pre>$conn_name</pre></a></li> <li class="property public "><a href="#%24conn_name" title="$conn_name :: "><span class="description">$conn_name</span><pre>$conn_name</pre></a></li>
<li class="property public "><a href="#%24queries" title="$queries :: "><span class="description">$queries</span><pre>$queries</pre></a></li> <li class="property public "><a href="#%24queries" title="$queries :: "><span class="description">$queries</span><pre>$queries</pre></a></li>
<li class="property public "><a href="#%24sql" title="$sql :: "><span class="description">$sql</span><pre>$sql</pre></a></li> <li class="property public "><a href="#%24sql" title="$sql :: "><span class="description">$sql</span><pre>$sql</pre></a></li>
<li class="nav-header private">» Private</li> <li class="nav-header protected">» Protected</li>
<li class="property private "><a href="#%24from_string" title="$from_string :: "><span class="description">$from_string</span><pre>$from_string</pre></a></li> <li class="property protected "><a href="#%24from_string" title="$from_string :: "><span class="description">$from_string</span><pre>$from_string</pre></a></li>
<li class="property private "><a href="#%24group_array" title="$group_array :: "><span class="description">$group_array</span><pre>$group_array</pre></a></li> <li class="property protected "><a href="#%24group_array" title="$group_array :: "><span class="description">$group_array</span><pre>$group_array</pre></a></li>
<li class="property private "><a href="#%24group_string" title="$group_string :: "><span class="description">$group_string</span><pre>$group_string</pre></a></li> <li class="property protected "><a href="#%24group_string" title="$group_string :: "><span class="description">$group_string</span><pre>$group_string</pre></a></li>
<li class="property private "><a href="#%24having_map" title="$having_map :: "><span class="description">$having_map</span><pre>$having_map</pre></a></li> <li class="property protected "><a href="#%24having_map" title="$having_map :: "><span class="description">$having_map</span><pre>$having_map</pre></a></li>
<li class="property private "><a href="#%24limit" title="$limit :: "><span class="description">$limit</span><pre>$limit</pre></a></li> <li class="property protected "><a href="#%24limit" title="$limit :: "><span class="description">$limit</span><pre>$limit</pre></a></li>
<li class="property private "><a href="#%24offset" title="$offset :: "><span class="description">$offset</span><pre>$offset</pre></a></li> <li class="property protected "><a href="#%24offset" title="$offset :: "><span class="description">$offset</span><pre>$offset</pre></a></li>
<li class="property private "><a href="#%24order_array" title="$order_array :: "><span class="description">$order_array</span><pre>$order_array</pre></a></li> <li class="property protected "><a href="#%24order_array" title="$order_array :: "><span class="description">$order_array</span><pre>$order_array</pre></a></li>
<li class="property private "><a href="#%24order_string" title="$order_string :: "><span class="description">$order_string</span><pre>$order_string</pre></a></li> <li class="property protected "><a href="#%24order_string" title="$order_string :: "><span class="description">$order_string</span><pre>$order_string</pre></a></li>
<li class="property private "><a href="#%24query_map" title="$query_map :: "><span class="description">$query_map</span><pre>$query_map</pre></a></li> <li class="property protected "><a href="#%24query_map" title="$query_map :: "><span class="description">$query_map</span><pre>$query_map</pre></a></li>
<li class="property private "><a href="#%24select_string" title="$select_string :: "><span class="description">$select_string</span><pre>$select_string</pre></a></li> <li class="property protected "><a href="#%24select_string" title="$select_string :: "><span class="description">$select_string</span><pre>$select_string</pre></a></li>
<li class="property private "><a href="#%24set_array_keys" title="$set_array_keys :: "><span class="description">$set_array_keys</span><pre>$set_array_keys</pre></a></li> <li class="property protected "><a href="#%24set_array_keys" title="$set_array_keys :: "><span class="description">$set_array_keys</span><pre>$set_array_keys</pre></a></li>
<li class="property private "><a href="#%24set_string" title="$set_string :: "><span class="description">$set_string</span><pre>$set_string</pre></a></li> <li class="property protected "><a href="#%24set_string" title="$set_string :: "><span class="description">$set_string</span><pre>$set_string</pre></a></li>
<li class="property private "><a href="#%24values" title="$values :: "><span class="description">$values</span><pre>$values</pre></a></li> <li class="property protected "><a href="#%24values" title="$values :: "><span class="description">$values</span><pre>$values</pre></a></li>
<li class="property private "><a href="#%24where_values" title="$where_values :: "><span class="description">$where_values</span><pre>$where_values</pre></a></li> <li class="property protected "><a href="#%24where_values" title="$where_values :: "><span class="description">$where_values</span><pre>$where_values</pre></a></li>
</ul> </ul>
</div> </div>
<div class="span8"> <div class="span8">
@ -308,7 +308,7 @@ execute current compiled query</h2>
</div></div> </div></div>
</div> </div>
<a name="get_compiled_delete" id="get_compiled_delete"></a><div class="element clickable method public get_compiled_delete" data-toggle="collapse" data-target=".get_compiled_delete .collapse"> <a name="get_compiled_delete" id="get_compiled_delete"></a><div class="element clickable method public get_compiled_delete" data-toggle="collapse" data-target=".get_compiled_delete .collapse">
<h2>Returns the generated 'insert' sql query</h2> <h2>Returns the generated 'delete' sql query</h2>
<pre>get_compiled_delete(string $table, bool $reset) : string</pre> <pre>get_compiled_delete(string $table, bool $reset) : string</pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
@ -365,7 +365,7 @@ execute current compiled query</h2>
</div></div> </div></div>
</div> </div>
<a name="get_compiled_update" id="get_compiled_update"></a><div class="element clickable method public get_compiled_update" data-toggle="collapse" data-target=".get_compiled_update .collapse"> <a name="get_compiled_update" id="get_compiled_update"></a><div class="element clickable method public get_compiled_update" data-toggle="collapse" data-target=".get_compiled_update .collapse">
<h2>Returns the generated 'insert' sql query</h2> <h2>Returns the generated 'update' sql query</h2>
<pre>get_compiled_update(string $table, bool $reset) : string</pre> <pre>get_compiled_update(string $table, bool $reset) : string</pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
@ -1028,7 +1028,7 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div> <div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div> </div></div>
</div> </div>
<a name="_compile" id="_compile"></a><div class="element clickable method private _compile" data-toggle="collapse" data-target="._compile .collapse"> <a name="_compile" id="_compile"></a><div class="element clickable method protected _compile" data-toggle="collapse" data-target="._compile .collapse">
<h2>String together the sql statements for sending to the db</h2> <h2>String together the sql statements for sending to the db</h2>
<pre>_compile(string $type, string $table) : \$string</pre> <pre>_compile(string $type, string $table) : \$string</pre>
<div class="labels"></div> <div class="labels"></div>
@ -1047,7 +1047,7 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code>\$string</code></div> <div class="subelement response"><code>\$string</code></div>
</div></div> </div></div>
</div> </div>
<a name="_get_compile" id="_get_compile"></a><div class="element clickable method private _get_compile" data-toggle="collapse" data-target="._get_compile .collapse"> <a name="_get_compile" id="_get_compile"></a><div class="element clickable method protected _get_compile" data-toggle="collapse" data-target="._get_compile .collapse">
<h2>Helper function for returning sql strings</h2> <h2>Helper function for returning sql strings</h2>
<pre>_get_compile(string $type, string $table, $reset) </pre> <pre>_get_compile(string $type, string $table, $reset) </pre>
<div class="labels"></div> <div class="labels"></div>
@ -1071,7 +1071,7 @@ passed array with key / value pairs</h2>
<code></code><p>bool</p></div> <code></code><p>bool</p></div>
</div></div> </div></div>
</div> </div>
<a name="_having" id="_having"></a><div class="element clickable method private _having" data-toggle="collapse" data-target="._having .collapse"> <a name="_having" id="_having"></a><div class="element clickable method protected _having" data-toggle="collapse" data-target="._having .collapse">
<h2>Simplify building having clauses</h2> <h2>Simplify building having clauses</h2>
<pre>_having(mixed $key, mixed $val, string $conj) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre> <pre>_having(mixed $key, mixed $val, string $conj) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div> <div class="labels"></div>
@ -1098,7 +1098,7 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div> <div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div> </div></div>
</div> </div>
<a name="_like" id="_like"></a><div class="element clickable method private _like" data-toggle="collapse" data-target="._like .collapse"> <a name="_like" id="_like"></a><div class="element clickable method protected _like" data-toggle="collapse" data-target="._like .collapse">
<h2>Simplify 'like' methods</h2> <h2>Simplify 'like' methods</h2>
<pre>_like(string $field, mixed $val, string $pos, string $like, string $conj) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre> <pre>_like(string $field, mixed $val, string $pos, string $like, string $conj) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div> <div class="labels"></div>
@ -1133,7 +1133,7 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div> <div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div> </div></div>
</div> </div>
<a name="_run" id="_run"></a><div class="element clickable method private _run" data-toggle="collapse" data-target="._run .collapse"> <a name="_run" id="_run"></a><div class="element clickable method protected _run" data-toggle="collapse" data-target="._run .collapse">
<h2>Executes the compiled query</h2> <h2>Executes the compiled query</h2>
<pre>_run(string $type, string $table, bool $simple) : mixed</pre> <pre>_run(string $type, string $table, bool $simple) : mixed</pre>
<div class="labels"></div> <div class="labels"></div>
@ -1156,7 +1156,7 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code>mixed</code></div> <div class="subelement response"><code>mixed</code></div>
</div></div> </div></div>
</div> </div>
<a name="_select" id="_select"></a><div class="element clickable method private _select" data-toggle="collapse" data-target="._select .collapse"> <a name="_select" id="_select"></a><div class="element clickable method protected _select" data-toggle="collapse" data-target="._select .collapse">
<h2>Method to simplify select_ methods</h2> <h2>Method to simplify select_ methods</h2>
<pre>_select(string $field, string $as) : string</pre> <pre>_select(string $field, string $as) : string</pre>
<div class="labels"></div> <div class="labels"></div>
@ -1175,7 +1175,7 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code>string</code></div> <div class="subelement response"><code>string</code></div>
</div></div> </div></div>
</div> </div>
<a name="_where" id="_where"></a><div class="element clickable method private _where" data-toggle="collapse" data-target="._where .collapse"> <a name="_where" id="_where"></a><div class="element clickable method protected _where" data-toggle="collapse" data-target="._where .collapse">
<h2>Do all the repeditive stuff for where/having type methods</h2> <h2>Do all the repeditive stuff for where/having type methods</h2>
<pre>_where(mixed $key, mixed $val) : array</pre> <pre>_where(mixed $key, mixed $val) : array</pre>
<div class="labels"></div> <div class="labels"></div>
@ -1194,7 +1194,7 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code>array</code></div> <div class="subelement response"><code>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="_where_in" id="_where_in"></a><div class="element clickable method private _where_in" data-toggle="collapse" data-target="._where_in .collapse"> <a name="_where_in" id="_where_in"></a><div class="element clickable method protected _where_in" data-toggle="collapse" data-target="._where_in .collapse">
<h2>Simplify where_in methods</h2> <h2>Simplify where_in methods</h2>
<pre>_where_in(mixed $key, mixed $val, $in, $conj) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre> <pre>_where_in(mixed $key, mixed $val, $in, $conj) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div> <div class="labels"></div>
@ -1223,7 +1223,7 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div> <div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div> </div></div>
</div> </div>
<a name="_where_string" id="_where_string"></a><div class="element clickable method private _where_string" data-toggle="collapse" data-target="._where_string .collapse"> <a name="_where_string" id="_where_string"></a><div class="element clickable method protected _where_string" data-toggle="collapse" data-target="._where_string .collapse">
<h2>Simplify generating where string</h2> <h2>Simplify generating where string</h2>
<pre>_where_string(mixed $key, mixed $val, string $conj) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre> <pre>_where_string(mixed $key, mixed $val, string $conj) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div> <div class="labels"></div>
@ -1270,85 +1270,85 @@ passed array with key / value pairs</h2>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24from_string" id="$from_string"> </a><div class="element clickable property private $from_string" data-toggle="collapse" data-target=".$from_string .collapse"> <a name="%24from_string" id="$from_string"> </a><div class="element clickable property protected $from_string" data-toggle="collapse" data-target=".$from_string .collapse">
<h2>$from_string</h2> <h2>$from_string</h2>
<pre>$from_string </pre> <pre>$from_string </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24group_array" id="$group_array"> </a><div class="element clickable property private $group_array" data-toggle="collapse" data-target=".$group_array .collapse"> <a name="%24group_array" id="$group_array"> </a><div class="element clickable property protected $group_array" data-toggle="collapse" data-target=".$group_array .collapse">
<h2>$group_array</h2> <h2>$group_array</h2>
<pre>$group_array </pre> <pre>$group_array </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24group_string" id="$group_string"> </a><div class="element clickable property private $group_string" data-toggle="collapse" data-target=".$group_string .collapse"> <a name="%24group_string" id="$group_string"> </a><div class="element clickable property protected $group_string" data-toggle="collapse" data-target=".$group_string .collapse">
<h2>$group_string</h2> <h2>$group_string</h2>
<pre>$group_string </pre> <pre>$group_string </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24having_map" id="$having_map"> </a><div class="element clickable property private $having_map" data-toggle="collapse" data-target=".$having_map .collapse"> <a name="%24having_map" id="$having_map"> </a><div class="element clickable property protected $having_map" data-toggle="collapse" data-target=".$having_map .collapse">
<h2>$having_map</h2> <h2>$having_map</h2>
<pre>$having_map </pre> <pre>$having_map </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24limit" id="$limit"> </a><div class="element clickable property private $limit" data-toggle="collapse" data-target=".$limit .collapse"> <a name="%24limit" id="$limit"> </a><div class="element clickable property protected $limit" data-toggle="collapse" data-target=".$limit .collapse">
<h2>$limit</h2> <h2>$limit</h2>
<pre>$limit </pre> <pre>$limit </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24offset" id="$offset"> </a><div class="element clickable property private $offset" data-toggle="collapse" data-target=".$offset .collapse"> <a name="%24offset" id="$offset"> </a><div class="element clickable property protected $offset" data-toggle="collapse" data-target=".$offset .collapse">
<h2>$offset</h2> <h2>$offset</h2>
<pre>$offset </pre> <pre>$offset </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24order_array" id="$order_array"> </a><div class="element clickable property private $order_array" data-toggle="collapse" data-target=".$order_array .collapse"> <a name="%24order_array" id="$order_array"> </a><div class="element clickable property protected $order_array" data-toggle="collapse" data-target=".$order_array .collapse">
<h2>$order_array</h2> <h2>$order_array</h2>
<pre>$order_array </pre> <pre>$order_array </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24order_string" id="$order_string"> </a><div class="element clickable property private $order_string" data-toggle="collapse" data-target=".$order_string .collapse"> <a name="%24order_string" id="$order_string"> </a><div class="element clickable property protected $order_string" data-toggle="collapse" data-target=".$order_string .collapse">
<h2>$order_string</h2> <h2>$order_string</h2>
<pre>$order_string </pre> <pre>$order_string </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24query_map" id="$query_map"> </a><div class="element clickable property private $query_map" data-toggle="collapse" data-target=".$query_map .collapse"> <a name="%24query_map" id="$query_map"> </a><div class="element clickable property protected $query_map" data-toggle="collapse" data-target=".$query_map .collapse">
<h2>$query_map</h2> <h2>$query_map</h2>
<pre>$query_map </pre> <pre>$query_map </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24select_string" id="$select_string"> </a><div class="element clickable property private $select_string" data-toggle="collapse" data-target=".$select_string .collapse"> <a name="%24select_string" id="$select_string"> </a><div class="element clickable property protected $select_string" data-toggle="collapse" data-target=".$select_string .collapse">
<h2>$select_string</h2> <h2>$select_string</h2>
<pre>$select_string </pre> <pre>$select_string </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24set_array_keys" id="$set_array_keys"> </a><div class="element clickable property private $set_array_keys" data-toggle="collapse" data-target=".$set_array_keys .collapse"> <a name="%24set_array_keys" id="$set_array_keys"> </a><div class="element clickable property protected $set_array_keys" data-toggle="collapse" data-target=".$set_array_keys .collapse">
<h2>$set_array_keys</h2> <h2>$set_array_keys</h2>
<pre>$set_array_keys </pre> <pre>$set_array_keys </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24set_string" id="$set_string"> </a><div class="element clickable property private $set_string" data-toggle="collapse" data-target=".$set_string .collapse"> <a name="%24set_string" id="$set_string"> </a><div class="element clickable property protected $set_string" data-toggle="collapse" data-target=".$set_string .collapse">
<h2>$set_string</h2> <h2>$set_string</h2>
<pre>$set_string </pre> <pre>$set_string </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24values" id="$values"> </a><div class="element clickable property private $values" data-toggle="collapse" data-target=".$values .collapse"> <a name="%24values" id="$values"> </a><div class="element clickable property protected $values" data-toggle="collapse" data-target=".$values .collapse">
<h2>$values</h2> <h2>$values</h2>
<pre>$values </pre> <pre>$values </pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24where_values" id="$where_values"> </a><div class="element clickable property private $where_values" data-toggle="collapse" data-target=".$where_values .collapse"> <a name="%24where_values" id="$where_values"> </a><div class="element clickable property protected $where_values" data-toggle="collapse" data-target=".$where_values .collapse">
<h2>$where_values</h2> <h2>$where_values</h2>
<pre>$where_values </pre> <pre>$where_values </pre>
<div class="labels"></div> <div class="labels"></div>
@ -1361,7 +1361,7 @@ passed array with key / value pairs</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -0,0 +1,349 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » \Query_Builder_Base</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo 
<span class="label label-info">4</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#__call" title="__call :: Calls a function further down the inheritence chain"><span class="description">Calls a function further down the inheritence chain</span><pre>__call()</pre></a></li>
<li class="method public "><a href="#__construct" title="__construct :: Empty base constructor"><span class="description">Empty base constructor</span><pre>__construct()</pre></a></li>
<li class="nav-header protected">» Protected</li>
<li class="method protected "><a href="#_compile" title="_compile :: String together the sql statements for sending to the db"><span class="description">String together the sql statements for sending to the db</span><pre>_compile()</pre></a></li>
<li class="method protected "><a href="#_get_compile" title="_get_compile :: Helper function for returning sql strings"><span class="description">Helper function for returning sql strings</span><pre>_get_compile()</pre></a></li>
<li class="method protected "><a href="#_having" title="_having :: Simplify building having clauses"><span class="description">Simplify building having clauses</span><pre>_having()</pre></a></li>
<li class="method protected "><a href="#_like" title="_like :: Simplify 'like' methods"><span class="description">Simplify 'like' methods</span><pre>_like()</pre></a></li>
<li class="method protected "><a href="#_run" title="_run :: Executes the compiled query"><span class="description">Executes the compiled query</span><pre>_run()</pre></a></li>
<li class="method protected "><a href="#_select" title="_select :: Method to simplify select_ methods"><span class="description">Method to simplify select_ methods</span><pre>_select()</pre></a></li>
<li class="method protected "><a href="#_where" title="_where :: Do all the repeditive stuff for where/having type methods"><span class="description">Do all the repeditive stuff for where/having type methods</span><pre>_where()</pre></a></li>
<li class="method protected "><a href="#_where_in" title="_where_in :: Simplify where_in methods"><span class="description">Simplify where_in methods</span><pre>_where_in()</pre></a></li>
<li class="method protected "><a href="#_where_string" title="_where_string :: Simplify generating where string"><span class="description">Simplify generating where string</span><pre>_where_string()</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CQuery_Builder_Base" id="\Query_Builder_Base"></a><div href="../classes/Query_Builder_Base.html" class="element class">
<p class="short_description">Base class for Query Bulder - Encapsulates protected methods</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/Query.Query.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="__call" id="__call"></a><div class="element clickable method public __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>Calls a function further down the inheritence chain</h2>
<pre>__call(string $name, array $params) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Empty base constructor</h2>
<pre>__construct() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="_compile" id="_compile"></a><div class="element clickable method protected _compile" data-toggle="collapse" data-target="._compile .collapse">
<h2>String together the sql statements for sending to the db</h2>
<pre>_compile(string $type, string $table) : \$string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$type</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\$string</code></div>
</div></div>
</div>
<a name="_get_compile" id="_get_compile"></a><div class="element clickable method protected _get_compile" data-toggle="collapse" data-target="._get_compile .collapse">
<h2>Helper function for returning sql strings</h2>
<pre>_get_compile(string $type, string $table, $reset) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>resturn</th>
<td>string</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$type</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$reset</h4>
<code></code><p>bool</p></div>
</div></div>
</div>
<a name="_having" id="_having"></a><div class="element clickable method protected _having" data-toggle="collapse" data-target="._having .collapse">
<h2>Simplify building having clauses</h2>
<pre>_having(mixed $key, mixed $val, string $conj) : <a href="../classes/Query_Builder_Base.html">\Query_Builder_Base</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$conj</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/Query_Builder_Base.html">\Query_Builder_Base</a></code></div>
</div></div>
</div>
<a name="_like" id="_like"></a><div class="element clickable method protected _like" data-toggle="collapse" data-target="._like .collapse">
<h2>Simplify 'like' methods</h2>
<pre>_like(string $field, mixed $val, string $pos, string $like, string $conj) : <a href="../classes/Query_Builder_Base.html">\Query_Builder_Base</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$pos</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$like</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$conj</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/Query_Builder_Base.html">\Query_Builder_Base</a></code></div>
</div></div>
</div>
<a name="_run" id="_run"></a><div class="element clickable method protected _run" data-toggle="collapse" data-target="._run .collapse">
<h2>Executes the compiled query</h2>
<pre>_run(string $type, string $table, bool $simple) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$type</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$simple</h4>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="_select" id="_select"></a><div class="element clickable method protected _select" data-toggle="collapse" data-target="._select .collapse">
<h2>Method to simplify select_ methods</h2>
<pre>_select(string $field, string $as) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$as</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="_where" id="_where"></a><div class="element clickable method protected _where" data-toggle="collapse" data-target="._where .collapse">
<h2>Do all the repeditive stuff for where/having type methods</h2>
<pre>_where(mixed $key, mixed $val) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="_where_in" id="_where_in"></a><div class="element clickable method protected _where_in" data-toggle="collapse" data-target="._where_in .collapse">
<h2>Simplify where_in methods</h2>
<pre>_where_in(mixed $key, mixed $val, $in, $conj) : <a href="../classes/Query_Builder_Base.html">\Query_Builder_Base</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$in</h4>
<code></code><p>string</p></div>
<div class="subelement argument">
<h4>$conj</h4>
<code></code><p>string</p></div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/Query_Builder_Base.html">\Query_Builder_Base</a></code></div>
</div></div>
</div>
<a name="_where_string" id="_where_string"></a><div class="element clickable method protected _where_string" data-toggle="collapse" data-target="._where_string .collapse">
<h2>Simplify generating where string</h2>
<pre>_where_string(mixed $key, mixed $val, string $conj) : <a href="../classes/Query_Builder_Base.html">\Query_Builder_Base</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$conj</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/Query_Builder_Base.html">\Query_Builder_Base</a></code></div>
</div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:10:09-05:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -145,7 +145,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -115,7 +115,6 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
</span><pre>rollBack()</pre></a></li> </span><pre>rollBack()</pre></a></li>
<li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute() <li class="method public inherited"><a href="#setAttribute" title="setAttribute :: "><span class="description">setAttribute()
</span><pre>setAttribute()</pre></a></li> </span><pre>setAttribute()</pre></a></li>
<li class="method public "><a href="#switch_db" title="switch_db :: Doesn't apply to sqlite"><span class="description">Doesn't apply to sqlite</span><pre>switch_db()</pre></a></li>
<li class="method public "><a href="#truncate" title="truncate :: Empty a table"><span class="description">Empty a table</span><pre>truncate()</pre></a></li> <li class="method public "><a href="#truncate" title="truncate :: Empty a table"><span class="description">Empty a table</span><pre>truncate()</pre></a></li>
<li class="method public "><a href="#unload_database" title="unload_database :: Unload a database from the current connection"><span class="description">Unload a database from the current connection</span><pre>unload_database()</pre></a></li> <li class="method public "><a href="#unload_database" title="unload_database :: Unload a database from the current connection"><span class="description">Unload a database from the current connection</span><pre>unload_database()</pre></a></li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
@ -842,19 +841,6 @@ method if the database does not support 'TRUNCATE';</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="switch_db" id="switch_db"></a><div class="element clickable method public switch_db" data-toggle="collapse" data-target=".switch_db .collapse">
<h2>Doesn't apply to sqlite</h2>
<pre>switch_db(string $name) : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse"> <a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse">
<h2>Empty a table</h2> <h2>Empty a table</h2>
<pre>truncate(string $table) : void</pre> <pre>truncate(string $table) : void</pre>
@ -994,7 +980,7 @@ method if the database does not support 'TRUNCATE';</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -234,7 +234,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -209,7 +209,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

417
docs/classes/iDB_PDO.html Normal file
View File

@ -0,0 +1,417 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » \iDB_PDO</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo 
<span class="label label-info">2</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#__construct" title="__construct :: PDO constructor wrapper"><span class="description">PDO constructor wrapper</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#affected_rows" title="affected_rows :: Returns number of rows affected by an INSERT, UPDATE, DELETE type query"><span class="description">Returns number of rows affected by an INSERT, UPDATE, DELETE type query</span><pre>affected_rows()</pre></a></li>
<li class="method public "><a href="#driver_query" title="driver_query :: Method to simplify retreiving db results for meta-data queries"><span class="description">Method to simplify retreiving db results for meta-data queries</span><pre>driver_query()</pre></a></li>
<li class="method public "><a href="#empty_table" title="empty_table :: Deletes all the rows from a table. Does the same as the truncate
method if the database does not support 'TRUNCATE';"><span class="description">Deletes all the rows from a table. Does the same as the truncate
method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pre></a></li>
<li class="method public "><a href="#get_columns" title="get_columns :: Retrieve column information for the current database table"><span class="description">Retrieve column information for the current database table</span><pre>get_columns()</pre></a></li>
<li class="method public "><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li>
<li class="method public "><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li>
<li class="method public "><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li>
<li class="method public "><a href="#get_procedures" title="get_procedures :: Return list of stored procedures for the current database"><span class="description">Return list of stored procedures for the current database</span><pre>get_procedures()</pre></a></li>
<li class="method public "><a href="#get_query_data" title="get_query_data :: Retreives the data from a select query"><span class="description">Retreives the data from a select query</span><pre>get_query_data()</pre></a></li>
<li class="method public "><a href="#get_schemas" title="get_schemas :: Return schemas for databases that list them"><span class="description">Return schemas for databases that list them</span><pre>get_schemas()</pre></a></li>
<li class="method public "><a href="#get_sequences" title="get_sequences :: Return list of sequences for the current database, if they exist"><span class="description">Return list of sequences for the current database, if they exist</span><pre>get_sequences()</pre></a></li>
<li class="method public "><a href="#get_system_tables" title="get_system_tables :: Retreives an array of non-user-created tables for
the connection/database"><span class="description">Retreives an array of non-user-created tables for
the connection/database</span><pre>get_system_tables()</pre></a></li>
<li class="method public "><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li>
<li class="method public "><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li>
<li class="method public "><a href="#get_types" title="get_types :: Retrieve list of data types for the database"><span class="description">Retrieve list of data types for the database</span><pre>get_types()</pre></a></li>
<li class="method public "><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li>
<li class="method public "><a href="#num_rows" title="num_rows :: Return the number of rows returned for a SELECT query"><span class="description">Return the number of rows returned for a SELECT query</span><pre>num_rows()</pre></a></li>
<li class="method public "><a href="#prepare_execute" title="prepare_execute :: Create and execute a prepared statement with the provided parameters"><span class="description">Create and execute a prepared statement with the provided parameters</span><pre>prepare_execute()</pre></a></li>
<li class="method public "><a href="#prepare_query" title="prepare_query :: Simplifies prepared statements for database queries"><span class="description">Simplifies prepared statements for database queries</span><pre>prepare_query()</pre></a></li>
<li class="method public "><a href="#quote_ident" title="quote_ident :: Surrounds the string with the databases identifier escape characters"><span class="description">Surrounds the string with the databases identifier escape characters</span><pre>quote_ident()</pre></a></li>
<li class="method public "><a href="#quote_table" title="quote_table :: Quote database table name, and set prefix"><span class="description">Quote database table name, and set prefix</span><pre>quote_table()</pre></a></li>
<li class="method public "><a href="#truncate" title="truncate :: Empty the passed table"><span class="description">Empty the passed table</span><pre>truncate()</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CiDB_PDO" id="\iDB_PDO"></a><div href="../classes/iDB_PDO.html" class="element interface">
<p class="short_description">Base Database class</p>
<div class="details">
<p class="long_description"><p>Extends PDO to simplify cross-database issues</p></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/Query.Query.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>PDO constructor wrapper</h2>
<pre>__construct(string $dsn) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$dsn</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="affected_rows" id="affected_rows"></a><div class="element clickable method public affected_rows" data-toggle="collapse" data-target=".affected_rows .collapse">
<h2>Returns number of rows affected by an INSERT, UPDATE, DELETE type query</h2>
<pre>affected_rows(<a href="http://php.net/manual/en/class.pdostatement.php">\PDOStatement</a> $statement) : int</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$statement</h4>
<code><a href="http://php.net/manual/en/class.pdostatement.php">\PDOStatement</a></code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>int</code></div>
</div></div>
</div>
<a name="driver_query" id="driver_query"></a><div class="element clickable method public driver_query" data-toggle="collapse" data-target=".driver_query .collapse">
<h2>Method to simplify retreiving db results for meta-data queries</h2>
<pre>driver_query(string $sql, bool $filtered_index) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sql</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$filtered_index</h4>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="empty_table" id="empty_table"></a><div class="element clickable method public empty_table" data-toggle="collapse" data-target=".empty_table .collapse">
<h2>Deletes all the rows from a table. Does the same as the truncate
method if the database does not support 'TRUNCATE';</h2>
<pre>empty_table(string $table) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="get_columns" id="get_columns"></a><div class="element clickable method public get_columns" data-toggle="collapse" data-target=".get_columns .collapse">
<h2>Retrieve column information for the current database table</h2>
<pre>get_columns(string $table) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse">
<h2>Return list of dbs for the current connection, if possible</h2>
<pre>get_dbs() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_functions" id="get_functions"></a><div class="element clickable method public get_functions" data-toggle="collapse" data-target=".get_functions .collapse">
<h2>Return list of function for the current database</h2>
<pre>get_functions() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_last_error" id="get_last_error"></a><div class="element clickable method public get_last_error" data-toggle="collapse" data-target=".get_last_error .collapse">
<h2>Return the last error for the current database connection</h2>
<pre>get_last_error() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="get_procedures" id="get_procedures"></a><div class="element clickable method public get_procedures" data-toggle="collapse" data-target=".get_procedures .collapse">
<h2>Return list of stored procedures for the current database</h2>
<pre>get_procedures() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_query_data" id="get_query_data"></a><div class="element clickable method public get_query_data" data-toggle="collapse" data-target=".get_query_data .collapse">
<h2>Retreives the data from a select query</h2>
<pre>get_query_data(<a href="http://php.net/manual/en/class.pdostatement.php">\PDOStatement</a> $statement) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$statement</h4>
<code><a href="http://php.net/manual/en/class.pdostatement.php">\PDOStatement</a></code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_schemas" id="get_schemas"></a><div class="element clickable method public get_schemas" data-toggle="collapse" data-target=".get_schemas .collapse">
<h2>Return schemas for databases that list them</h2>
<pre>get_schemas() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_sequences" id="get_sequences"></a><div class="element clickable method public get_sequences" data-toggle="collapse" data-target=".get_sequences .collapse">
<h2>Return list of sequences for the current database, if they exist</h2>
<pre>get_sequences() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_system_tables" id="get_system_tables"></a><div class="element clickable method public get_system_tables" data-toggle="collapse" data-target=".get_system_tables .collapse">
<h2>Retreives an array of non-user-created tables for
the connection/database</h2>
<pre>get_system_tables() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_tables" id="get_tables"></a><div class="element clickable method public get_tables" data-toggle="collapse" data-target=".get_tables .collapse">
<h2>Return list of tables for the current database</h2>
<pre>get_tables() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_triggers" id="get_triggers"></a><div class="element clickable method public get_triggers" data-toggle="collapse" data-target=".get_triggers .collapse">
<h2>Return list of triggers for the current database</h2>
<pre>get_triggers() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_types" id="get_types"></a><div class="element clickable method public get_types" data-toggle="collapse" data-target=".get_types .collapse">
<h2>Retrieve list of data types for the database</h2>
<pre>get_types() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse">
<h2>Return list of views for the current database</h2>
<pre>get_views() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="num_rows" id="num_rows"></a><div class="element clickable method public num_rows" data-toggle="collapse" data-target=".num_rows .collapse">
<h2>Return the number of rows returned for a SELECT query</h2>
<pre>num_rows() : int</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\http://us3.php.net/manual/en/pdostatement.rowcount.php#87110</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>int</code></div>
</div></div>
</div>
<a name="prepare_execute" id="prepare_execute"></a><div class="element clickable method public prepare_execute" data-toggle="collapse" data-target=".prepare_execute .collapse">
<h2>Create and execute a prepared statement with the provided parameters</h2>
<pre>prepare_execute(string $sql, array $params) : <a href="http://php.net/manual/en/class.pdostatement.php">\PDOStatement</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sql</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="http://php.net/manual/en/class.pdostatement.php">\PDOStatement</a></code></div>
</div></div>
</div>
<a name="prepare_query" id="prepare_query"></a><div class="element clickable method public prepare_query" data-toggle="collapse" data-target=".prepare_query .collapse">
<h2>Simplifies prepared statements for database queries</h2>
<pre>prepare_query(string $sql, array $data) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sql</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$data</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response">
<code>mixed</code>PDOStatement / FALSE</div>
</div></div>
</div>
<a name="quote_ident" id="quote_ident"></a><div class="element clickable method public quote_ident" data-toggle="collapse" data-target=".quote_ident .collapse">
<h2>Surrounds the string with the databases identifier escape characters</h2>
<pre>quote_ident(mixed $ident) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="quote_table" id="quote_table"></a><div class="element clickable method public quote_table" data-toggle="collapse" data-target=".quote_table .collapse">
<h2>Quote database table name, and set prefix</h2>
<pre>quote_table(string $table) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="truncate" id="truncate"></a><div class="element clickable method public truncate" data-toggle="collapse" data-target=".truncate .collapse">
<h2>Empty the passed table</h2>
<pre>truncate(string $table) : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
</div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-12-18T16:02:48-05:00.<br></footer></div>
</div>
</body>
</html>

250
docs/classes/iDB_SQL.html Normal file
View File

@ -0,0 +1,250 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » \iDB_SQL</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo 
<span class="label label-info">2</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#column_list" title="column_list :: Get information about the columns in the
specified table"><span class="description">Get information about the columns in the
specified table</span><pre>column_list()</pre></a></li>
<li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li>
<li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li>
<li class="method public "><a href="#limit" title="limit :: Get database specific sql for limit clause"><span class="description">Get database specific sql for limit clause</span><pre>limit()</pre></a></li>
<li class="method public "><a href="#procedure_list" title="procedure_list :: Return sql to list stored procedures"><span class="description">Return sql to list stored procedures</span><pre>procedure_list()</pre></a></li>
<li class="method public "><a href="#random" title="random :: Get the sql for random ordering"><span class="description">Get the sql for random ordering</span><pre>random()</pre></a></li>
<li class="method public "><a href="#sequence_list" title="sequence_list :: Return sql to list sequences"><span class="description">Return sql to list sequences</span><pre>sequence_list()</pre></a></li>
<li class="method public "><a href="#system_table_list" title="system_table_list :: Returns sql to list system tables"><span class="description">Returns sql to list system tables</span><pre>system_table_list()</pre></a></li>
<li class="method public "><a href="#table_list" title="table_list :: Returns sql to list tables"><span class="description">Returns sql to list tables</span><pre>table_list()</pre></a></li>
<li class="method public "><a href="#trigger_list" title="trigger_list :: Returns sql to list triggers"><span class="description">Returns sql to list triggers</span><pre>trigger_list()</pre></a></li>
<li class="method public "><a href="#type_list" title="type_list :: Return sql to list database field types"><span class="description">Return sql to list database field types</span><pre>type_list()</pre></a></li>
<li class="method public "><a href="#view_list" title="view_list :: Returns sql to list views"><span class="description">Returns sql to list views</span><pre>view_list()</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CiDB_SQL" id="\iDB_SQL"></a><div href="../classes/iDB_SQL.html" class="element interface">
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/Query.Query.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="column_list" id="column_list"></a><div class="element clickable method public column_list" data-toggle="collapse" data-target=".column_list .collapse">
<h2>Get information about the columns in the
specified table</h2>
<pre>column_list($table) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code></code><p>string</p></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse">
<h2>Returns sql to list other databases</h2>
<pre>db_list() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="function_list" id="function_list"></a><div class="element clickable method public function_list" data-toggle="collapse" data-target=".function_list .collapse">
<h2>Return sql to list functions</h2>
<pre>function_list() : FALSE</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>FALSE</code></div>
</div></div>
</div>
<a name="limit" id="limit"></a><div class="element clickable method public limit" data-toggle="collapse" data-target=".limit .collapse">
<h2>Get database specific sql for limit clause</h2>
<pre>limit(string $sql, int $limit, int $offset) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>abstract</th>
<td></td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sql</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$limit</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$offset</h4>
<code>int</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="procedure_list" id="procedure_list"></a><div class="element clickable method public procedure_list" data-toggle="collapse" data-target=".procedure_list .collapse">
<h2>Return sql to list stored procedures</h2>
<pre>procedure_list() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="random" id="random"></a><div class="element clickable method public random" data-toggle="collapse" data-target=".random .collapse">
<h2>Get the sql for random ordering</h2>
<pre>random() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>abstract</th>
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="sequence_list" id="sequence_list"></a><div class="element clickable method public sequence_list" data-toggle="collapse" data-target=".sequence_list .collapse">
<h2>Return sql to list sequences</h2>
<pre>sequence_list() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="system_table_list" id="system_table_list"></a><div class="element clickable method public system_table_list" data-toggle="collapse" data-target=".system_table_list .collapse">
<h2>Returns sql to list system tables</h2>
<pre>system_table_list() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="table_list" id="table_list"></a><div class="element clickable method public table_list" data-toggle="collapse" data-target=".table_list .collapse">
<h2>Returns sql to list tables</h2>
<pre>table_list() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="trigger_list" id="trigger_list"></a><div class="element clickable method public trigger_list" data-toggle="collapse" data-target=".trigger_list .collapse">
<h2>Returns sql to list triggers</h2>
<pre>trigger_list() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="type_list" id="type_list"></a><div class="element clickable method public type_list" data-toggle="collapse" data-target=".type_list .collapse">
<h2>Return sql to list database field types</h2>
<pre>type_list() : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="view_list" id="view_list"></a><div class="element clickable method public view_list" data-toggle="collapse" data-target=".view_list .collapse">
<h2>Returns sql to list views</h2>
<pre>view_list() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div>
</body>
</html>

172
docs/classes/iDB_Util.html Normal file
View File

@ -0,0 +1,172 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » \iDB_Util</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo 
<span class="label label-info">2</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#backup_data" title="backup_data :: Return an SQL file with the database data as insert statements"><span class="description">Return an SQL file with the database data as insert statements</span><pre>backup_data()</pre></a></li>
<li class="method public "><a href="#backup_structure" title="backup_structure :: Return an SQL file with the database table structure"><span class="description">Return an SQL file with the database table structure</span><pre>backup_structure()</pre></a></li>
<li class="method public "><a href="#create_table" title="create_table :: Get database-specific sql to create a new table"><span class="description">Get database-specific sql to create a new table</span><pre>create_table()</pre></a></li>
<li class="method public "><a href="#delete_table" title="delete_table :: Get database-specific sql to drop a table"><span class="description">Get database-specific sql to drop a table</span><pre>delete_table()</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CiDB_Util" id="\iDB_Util"></a><div href="../classes/iDB_Util.html" class="element interface">
<p class="short_description">Interface defining database / table creation methods</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/Query.Query.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="backup_data" id="backup_data"></a><div class="element clickable method public backup_data" data-toggle="collapse" data-target=".backup_data .collapse">
<h2>Return an SQL file with the database data as insert statements</h2>
<pre>backup_data() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>abstract</th>
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="backup_structure" id="backup_structure"></a><div class="element clickable method public backup_structure" data-toggle="collapse" data-target=".backup_structure .collapse">
<h2>Return an SQL file with the database table structure</h2>
<pre>backup_structure() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>abstract</th>
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="create_table" id="create_table"></a><div class="element clickable method public create_table" data-toggle="collapse" data-target=".create_table .collapse">
<h2>Get database-specific sql to create a new table</h2>
<pre>create_table(string $name, array $columns, array $constraints, array $indexes) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>abstract</th>
<td></td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$columns</h4>
<code>array</code>
</div>
<div class="subelement argument">
<h4>$constraints</h4>
<code>array</code>
</div>
<div class="subelement argument">
<h4>$indexes</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="delete_table" id="delete_table"></a><div class="element clickable method public delete_table" data-toggle="collapse" data-target=".delete_table .collapse">
<h2>Get database-specific sql to drop a table</h2>
<pre>delete_table(string $name) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>abstract</th>
<td></td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-12-18T16:15:17-05:00.<br></footer></div>
</div>
</body>
</html>

85
docs/classes/iPDO.html Normal file
View File

@ -0,0 +1,85 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » \iPDO</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo 
<span class="label label-info">2</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list"></ul>
</div>
<div class="span8">
<a name="%5CiPDO" id="\iPDO"></a><div href="../classes/iPDO.html" class="element interface">
<p class="short_description">Another interface, just for more fun</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/Query.Query.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-12-18T16:02:48-05:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -0,0 +1,970 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » \iQuery_Builder</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo 
<span class="label label-info">2</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#count_all" title="count_all :: Retreive the number of rows in the selected table"><span class="description">Retreive the number of rows in the selected table</span><pre>count_all()</pre></a></li>
<li class="method public "><a href="#count_all_results" title="count_all_results :: Retrieve the number of results for the generated query - used
in place of the get() method"><span class="description">Retrieve the number of results for the generated query - used
in place of the get() method</span><pre>count_all_results()</pre></a></li>
<li class="method public "><a href="#delete" title="delete :: Deletes data from a table"><span class="description">Deletes data from a table</span><pre>delete()</pre></a></li>
<li class="method public "><a href="#distinct" title="distinct :: Adds the 'distinct' keyword to a query"><span class="description">Adds the 'distinct' keyword to a query</span><pre>distinct()</pre></a></li>
<li class="method public "><a href="#from" title="from :: Specify the database table to select from"><span class="description">Specify the database table to select from</span><pre>from()</pre></a></li>
<li class="method public "><a href="#get" title="get :: Select and retrieve all records from the current table, and/or
execute current compiled query"><span class="description">Select and retrieve all records from the current table, and/or
execute current compiled query</span><pre>get()</pre></a></li>
<li class="method public "><a href="#get_compiled_delete" title="get_compiled_delete :: Returns the generated 'delete' sql query"><span class="description">Returns the generated 'delete' sql query</span><pre>get_compiled_delete()</pre></a></li>
<li class="method public "><a href="#get_compiled_insert" title="get_compiled_insert :: Returns the generated 'insert' sql query"><span class="description">Returns the generated 'insert' sql query</span><pre>get_compiled_insert()</pre></a></li>
<li class="method public "><a href="#get_compiled_select" title="get_compiled_select :: Returns the generated 'select' sql query"><span class="description">Returns the generated 'select' sql query</span><pre>get_compiled_select()</pre></a></li>
<li class="method public "><a href="#get_compiled_update" title="get_compiled_update :: Returns the generated 'update' sql query"><span class="description">Returns the generated 'update' sql query</span><pre>get_compiled_update()</pre></a></li>
<li class="method public "><a href="#get_where" title="get_where :: Convience method for get() with a where clause"><span class="description">Convience method for get() with a where clause</span><pre>get_where()</pre></a></li>
<li class="method public "><a href="#group_by" title="group_by :: Group the results by the selected field(s)"><span class="description">Group the results by the selected field(s)</span><pre>group_by()</pre></a></li>
<li class="method public "><a href="#group_end" title="group_end :: Ends a query group"><span class="description">Ends a query group</span><pre>group_end()</pre></a></li>
<li class="method public "><a href="#group_start" title="group_start :: Adds a paren to the current query for query grouping"><span class="description">Adds a paren to the current query for query grouping</span><pre>group_start()</pre></a></li>
<li class="method public "><a href="#having" title="having :: Generates a 'Having' clause"><span class="description">Generates a 'Having' clause</span><pre>having()</pre></a></li>
<li class="method public "><a href="#insert" title="insert :: Creates an insert clause, and executes it"><span class="description">Creates an insert clause, and executes it</span><pre>insert()</pre></a></li>
<li class="method public "><a href="#join" title="join :: Creates a join phrase in a compiled query"><span class="description">Creates a join phrase in a compiled query</span><pre>join()</pre></a></li>
<li class="method public "><a href="#like" title="like :: Creates a Like clause in the sql statement"><span class="description">Creates a Like clause in the sql statement</span><pre>like()</pre></a></li>
<li class="method public "><a href="#limit" title="limit :: Set a limit on the current sql statement"><span class="description">Set a limit on the current sql statement</span><pre>limit()</pre></a></li>
<li class="method public "><a href="#not_like" title="not_like :: Generates a NOT LIKE clause"><span class="description">Generates a NOT LIKE clause</span><pre>not_like()</pre></a></li>
<li class="method public "><a href="#or_group_start" title="or_group_start :: Adds a paren to the current query for query grouping,
prefixed with 'OR'"><span class="description">Adds a paren to the current query for query grouping,
prefixed with 'OR'</span><pre>or_group_start()</pre></a></li>
<li class="method public "><a href="#or_having" title="or_having :: Generates a 'Having' clause prefixed with 'OR'"><span class="description">Generates a 'Having' clause prefixed with 'OR'</span><pre>or_having()</pre></a></li>
<li class="method public "><a href="#or_like" title="or_like :: Generates an OR Like clause"><span class="description">Generates an OR Like clause</span><pre>or_like()</pre></a></li>
<li class="method public "><a href="#or_not_group_start" title="or_not_group_start :: Adds a paren to the current query for query grouping,
prefixed with 'OR NOT'"><span class="description">Adds a paren to the current query for query grouping,
prefixed with 'OR NOT'</span><pre>or_not_group_start()</pre></a></li>
<li class="method public "><a href="#or_not_like" title="or_not_like :: Generates a OR NOT LIKE clause"><span class="description">Generates a OR NOT LIKE clause</span><pre>or_not_like()</pre></a></li>
<li class="method public "><a href="#or_where" title='or_where :: Where clause prefixed with "OR"'><span class="description">Where clause prefixed with "OR"</span><pre>or_where()</pre></a></li>
<li class="method public "><a href="#or_where_in" title='or_where_in :: Where in statement prefixed with "or"'><span class="description">Where in statement prefixed with "or"</span><pre>or_where_in()</pre></a></li>
<li class="method public "><a href="#or_where_not_in" title="or_where_not_in :: OR WHERE NOT IN (FOO) clause"><span class="description">OR WHERE NOT IN (FOO) clause</span><pre>or_where_not_in()</pre></a></li>
<li class="method public "><a href="#order_by" title="order_by :: Order the results by the selected field(s)"><span class="description">Order the results by the selected field(s)</span><pre>order_by()</pre></a></li>
<li class="method public "><a href="#reset_query" title="reset_query :: Clear out the class variables, so the next query can be run"><span class="description">Clear out the class variables, so the next query can be run</span><pre>reset_query()</pre></a></li>
<li class="method public "><a href="#select" title="select :: Specifies rows to select in a query"><span class="description">Specifies rows to select in a query</span><pre>select()</pre></a></li>
<li class="method public "><a href="#select_avg" title="select_avg :: Selects the average value of a field from a query"><span class="description">Selects the average value of a field from a query</span><pre>select_avg()</pre></a></li>
<li class="method public "><a href="#select_max" title="select_max :: Selects the maximum value of a field from a query"><span class="description">Selects the maximum value of a field from a query</span><pre>select_max()</pre></a></li>
<li class="method public "><a href="#select_min" title="select_min :: Selects the minimum value of a field from a query"><span class="description">Selects the minimum value of a field from a query</span><pre>select_min()</pre></a></li>
<li class="method public "><a href="#select_sum" title="select_sum :: Selects the sum of a field from a query"><span class="description">Selects the sum of a field from a query</span><pre>select_sum()</pre></a></li>
<li class="method public "><a href="#set" title="set :: Sets values for inserts / updates / deletes"><span class="description">Sets values for inserts / updates / deletes</span><pre>set()</pre></a></li>
<li class="method public "><a href="#update" title="update :: Creates an update clause, and executes it"><span class="description">Creates an update clause, and executes it</span><pre>update()</pre></a></li>
<li class="method public "><a href="#where" title="where :: 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"><span class="description">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</span><pre>where()</pre></a></li>
<li class="method public "><a href="#where_in" title="where_in :: Where clause with 'IN' statement"><span class="description">Where clause with 'IN' statement</span><pre>where_in()</pre></a></li>
<li class="method public "><a href="#where_not_in" title="where_not_in :: WHERE NOT IN (FOO) clause"><span class="description">WHERE NOT IN (FOO) clause</span><pre>where_not_in()</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CiQuery_Builder" id="\iQuery_Builder"></a><div href="../classes/iQuery_Builder.html" class="element interface">
<p class="short_description">Interface defining the Query Builder class</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/Query.Query.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="count_all" id="count_all"></a><div class="element clickable method public count_all" data-toggle="collapse" data-target=".count_all .collapse">
<h2>Retreive the number of rows in the selected table</h2>
<pre>count_all(string $table) : int</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>int</code></div>
</div></div>
</div>
<a name="count_all_results" id="count_all_results"></a><div class="element clickable method public count_all_results" data-toggle="collapse" data-target=".count_all_results .collapse">
<h2>Retrieve the number of results for the generated query - used
in place of the get() method</h2>
<pre>count_all_results(string $table) : int</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>int</code></div>
</div></div>
</div>
<a name="delete" id="delete"></a><div class="element clickable method public delete" data-toggle="collapse" data-target=".delete .collapse">
<h2>Deletes data from a table</h2>
<pre>delete(string $table, mixed $where) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$where</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="distinct" id="distinct"></a><div class="element clickable method public distinct" data-toggle="collapse" data-target=".distinct .collapse">
<h2>Adds the 'distinct' keyword to a query</h2>
<pre>distinct() : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="from" id="from"></a><div class="element clickable method public from" data-toggle="collapse" data-target=".from .collapse">
<h2>Specify the database table to select from</h2>
<pre>from(string $tblname) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$tblname</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="get" id="get"></a><div class="element clickable method public get" data-toggle="collapse" data-target=".get .collapse">
<h2>Select and retrieve all records from the current table, and/or
execute current compiled query</h2>
<pre>get($table, int $limit, int $offset) : object</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code></code>
</div>
<div class="subelement argument">
<h4>$limit</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$offset</h4>
<code>int</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>object</code></div>
</div></div>
</div>
<a name="get_compiled_delete" id="get_compiled_delete"></a><div class="element clickable method public get_compiled_delete" data-toggle="collapse" data-target=".get_compiled_delete .collapse">
<h2>Returns the generated 'delete' sql query</h2>
<pre>get_compiled_delete(string $table, bool $reset) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$reset</h4>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="get_compiled_insert" id="get_compiled_insert"></a><div class="element clickable method public get_compiled_insert" data-toggle="collapse" data-target=".get_compiled_insert .collapse">
<h2>Returns the generated 'insert' sql query</h2>
<pre>get_compiled_insert(string $table, bool $reset) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$reset</h4>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="get_compiled_select" id="get_compiled_select"></a><div class="element clickable method public get_compiled_select" data-toggle="collapse" data-target=".get_compiled_select .collapse">
<h2>Returns the generated 'select' sql query</h2>
<pre>get_compiled_select(string $table, bool $reset) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$reset</h4>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="get_compiled_update" id="get_compiled_update"></a><div class="element clickable method public get_compiled_update" data-toggle="collapse" data-target=".get_compiled_update .collapse">
<h2>Returns the generated 'update' sql query</h2>
<pre>get_compiled_update(string $table, bool $reset) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$reset</h4>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="get_where" id="get_where"></a><div class="element clickable method public get_where" data-toggle="collapse" data-target=".get_where .collapse">
<h2>Convience method for get() with a where clause</h2>
<pre>get_where(string $table, array $where, int $limit, int $offset) : object</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$where</h4>
<code>array</code>
</div>
<div class="subelement argument">
<h4>$limit</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$offset</h4>
<code>int</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>object</code></div>
</div></div>
</div>
<a name="group_by" id="group_by"></a><div class="element clickable method public group_by" data-toggle="collapse" data-target=".group_by .collapse">
<h2>Group the results by the selected field(s)</h2>
<pre>group_by(mixed $field) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="group_end" id="group_end"></a><div class="element clickable method public group_end" data-toggle="collapse" data-target=".group_end .collapse">
<h2>Ends a query group</h2>
<pre>group_end() : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="group_start" id="group_start"></a><div class="element clickable method public group_start" data-toggle="collapse" data-target=".group_start .collapse">
<h2>Adds a paren to the current query for query grouping</h2>
<pre>group_start() : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="having" id="having"></a><div class="element clickable method public having" data-toggle="collapse" data-target=".having .collapse">
<h2>Generates a 'Having' clause</h2>
<pre>having(mixed $key, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="insert" id="insert"></a><div class="element clickable method public insert" data-toggle="collapse" data-target=".insert .collapse">
<h2>Creates an insert clause, and executes it</h2>
<pre>insert(string $table, mixed $data) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$data</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="join" id="join"></a><div class="element clickable method public join" data-toggle="collapse" data-target=".join .collapse">
<h2>Creates a join phrase in a compiled query</h2>
<pre>join(string $table, string $condition, string $type) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$condition</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$type</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="like" id="like"></a><div class="element clickable method public like" data-toggle="collapse" data-target=".like .collapse">
<h2>Creates a Like clause in the sql statement</h2>
<pre>like(string $field, mixed $val, string $pos) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$pos</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="limit" id="limit"></a><div class="element clickable method public limit" data-toggle="collapse" data-target=".limit .collapse">
<h2>Set a limit on the current sql statement</h2>
<pre>limit(int $limit, int $offset) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$limit</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$offset</h4>
<code>int</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="not_like" id="not_like"></a><div class="element clickable method public not_like" data-toggle="collapse" data-target=".not_like .collapse">
<h2>Generates a NOT LIKE clause</h2>
<pre>not_like(string $field, mixed $val, string $pos) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$pos</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="or_group_start" id="or_group_start"></a><div class="element clickable method public or_group_start" data-toggle="collapse" data-target=".or_group_start .collapse">
<h2>Adds a paren to the current query for query grouping,
prefixed with 'OR'</h2>
<pre>or_group_start() : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="or_having" id="or_having"></a><div class="element clickable method public or_having" data-toggle="collapse" data-target=".or_having .collapse">
<h2>Generates a 'Having' clause prefixed with 'OR'</h2>
<pre>or_having(mixed $key, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="or_like" id="or_like"></a><div class="element clickable method public or_like" data-toggle="collapse" data-target=".or_like .collapse">
<h2>Generates an OR Like clause</h2>
<pre>or_like(string $field, mixed $val, string $pos) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$pos</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="or_not_group_start" id="or_not_group_start"></a><div class="element clickable method public or_not_group_start" data-toggle="collapse" data-target=".or_not_group_start .collapse">
<h2>Adds a paren to the current query for query grouping,
prefixed with 'OR NOT'</h2>
<pre>or_not_group_start() : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="or_not_like" id="or_not_like"></a><div class="element clickable method public or_not_like" data-toggle="collapse" data-target=".or_not_like .collapse">
<h2>Generates a OR NOT LIKE clause</h2>
<pre>or_not_like(string $field, mixed $val, string $pos) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$pos</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="or_where" id="or_where"></a><div class="element clickable method public or_where" data-toggle="collapse" data-target=".or_where .collapse">
<h2>Where clause prefixed with "OR"</h2>
<pre>or_where(string $key, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="or_where_in" id="or_where_in"></a><div class="element clickable method public or_where_in" data-toggle="collapse" data-target=".or_where_in .collapse">
<h2>Where in statement prefixed with "or"</h2>
<pre>or_where_in(string $field, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="or_where_not_in" id="or_where_not_in"></a><div class="element clickable method public or_where_not_in" data-toggle="collapse" data-target=".or_where_not_in .collapse">
<h2>OR WHERE NOT IN (FOO) clause</h2>
<pre>or_where_not_in(string $field, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="order_by" id="order_by"></a><div class="element clickable method public order_by" data-toggle="collapse" data-target=".order_by .collapse">
<h2>Order the results by the selected field(s)</h2>
<pre>order_by(string $field, string $type) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$type</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="reset_query" id="reset_query"></a><div class="element clickable method public reset_query" data-toggle="collapse" data-target=".reset_query .collapse">
<h2>Clear out the class variables, so the next query can be run</h2>
<pre>reset_query() : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="select" id="select"></a><div class="element clickable method public select" data-toggle="collapse" data-target=".select .collapse">
<h2>Specifies rows to select in a query</h2>
<pre>select(string $fields) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$fields</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="select_avg" id="select_avg"></a><div class="element clickable method public select_avg" data-toggle="collapse" data-target=".select_avg .collapse">
<h2>Selects the average value of a field from a query</h2>
<pre>select_avg(string $field, string $as) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$as</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="select_max" id="select_max"></a><div class="element clickable method public select_max" data-toggle="collapse" data-target=".select_max .collapse">
<h2>Selects the maximum value of a field from a query</h2>
<pre>select_max(string $field, string $as) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$as</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="select_min" id="select_min"></a><div class="element clickable method public select_min" data-toggle="collapse" data-target=".select_min .collapse">
<h2>Selects the minimum value of a field from a query</h2>
<pre>select_min(string $field, string $as) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$as</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="select_sum" id="select_sum"></a><div class="element clickable method public select_sum" data-toggle="collapse" data-target=".select_sum .collapse">
<h2>Selects the sum of a field from a query</h2>
<pre>select_sum(string $field, string $as) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$as</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="set" id="set"></a><div class="element clickable method public set" data-toggle="collapse" data-target=".set .collapse">
<h2>Sets values for inserts / updates / deletes</h2>
<pre>set(mixed $key, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="update" id="update"></a><div class="element clickable method public update" data-toggle="collapse" data-target=".update .collapse">
<h2>Creates an update clause, and executes it</h2>
<pre>update(string $table, mixed $data) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$data</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="where" id="where"></a><div class="element clickable method public where" data-toggle="collapse" data-target=".where .collapse">
<h2>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</h2>
<pre>where(mixed $key, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="where_in" id="where_in"></a><div class="element clickable method public where_in" data-toggle="collapse" data-target=".where_in .collapse">
<h2>Where clause with 'IN' statement</h2>
<pre>where_in(mixed $field, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
<a name="where_not_in" id="where_not_in"></a><div class="element clickable method public where_not_in" data-toggle="collapse" data-target=".where_not_in .collapse">
<h2>WHERE NOT IN (FOO) clause</h2>
<pre>where_not_in(string $field, mixed $val) : <a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/iQuery_Builder.html">\iQuery_Builder</a></code></div>
</div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -68,7 +68,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -68,7 +68,6 @@
<li>Compilation Errors</li> <li>Compilation Errors</li>
</ul> </ul>
<div class="package-contents"></div> <div class="package-contents"></div>
<div class="package-contents"></div>
<div class="package-contents"> <div class="package-contents">
<a name="classes/db_pdo.php" id="classes/db_pdo.php"></a><h3> <a name="classes/db_pdo.php" id="classes/db_pdo.php"></a><h3>
<i class="icon-file"></i>classes/db_pdo.php<small style="float: right;padding-right: 10px;">6</small> <i class="icon-file"></i>classes/db_pdo.php<small style="float: right;padding-right: 10px;">6</small>
@ -231,12 +230,14 @@
<div class="package-contents"></div> <div class="package-contents"></div>
<div class="package-contents"></div> <div class="package-contents"></div>
<div class="package-contents"></div> <div class="package-contents"></div>
<div class="package-contents"></div>
<div class="package-contents"></div>
</div> </div>
</div> </div>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -65,7 +65,7 @@
</script><div class="row"><footer class="span12"> </script><div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -54,8 +54,6 @@
<div class="span4"><ul class="side-nav nav nav-list"> <div class="span4"><ul class="side-nav nav nav-list">
<li class="nav-header">Navigation</li> <li class="nav-header">Navigation</li>
<li><a href="#drivers/pgsql/pgsql_util.php"><i class="icon-file"></i>drivers/pgsql/pgsql_util.php</a></li> <li><a href="#drivers/pgsql/pgsql_util.php"><i class="icon-file"></i>drivers/pgsql/pgsql_util.php</a></li>
<li><a href="#drivers/pgsql/pgsql_driver.php"><i class="icon-file"></i>drivers/pgsql/pgsql_driver.php</a></li>
<li><a href="#drivers/mysql/mysql_driver.php"><i class="icon-file"></i>drivers/mysql/mysql_driver.php</a></li>
<li><a href="#drivers/firebird/firebird_util.php"><i class="icon-file"></i>drivers/firebird/firebird_util.php</a></li> <li><a href="#drivers/firebird/firebird_util.php"><i class="icon-file"></i>drivers/firebird/firebird_util.php</a></li>
</ul></div> </ul></div>
<div class="span8"> <div class="span8">
@ -68,7 +66,7 @@
<div class="alert alert-info"> <div class="alert alert-info">
The following markers were found: The following markers were found:
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul> </li></ul>
</div> </div>
<div id="marker-accordion"> <div id="marker-accordion">
@ -90,40 +88,6 @@
</table></div> </table></div>
</div> </div>
<div class="package-contents"> <div class="package-contents">
<a name="drivers/pgsql/pgsql_driver.php" id="drivers/pgsql/pgsql_driver.php"></a><h3>
<i class="icon-file"></i>drivers/pgsql/pgsql_driver.php<small style="float: right;padding-right: 10px;">1</small>
</h3>
<div><table class="table markers table-bordered">
<tr>
<th>Type</th>
<th>Line</th>
<th>Description</th>
</tr>
<tr>
<td>todo</td>
<td>51</td>
<td>Implement</td>
</tr>
</table></div>
</div>
<div class="package-contents">
<a name="drivers/mysql/mysql_driver.php" id="drivers/mysql/mysql_driver.php"></a><h3>
<i class="icon-file"></i>drivers/mysql/mysql_driver.php<small style="float: right;padding-right: 10px;">1</small>
</h3>
<div><table class="table markers table-bordered">
<tr>
<th>Type</th>
<th>Line</th>
<th>Description</th>
</tr>
<tr>
<td>todo</td>
<td>65</td>
<td>Implement</td>
</tr>
</table></div>
</div>
<div class="package-contents">
<a name="drivers/firebird/firebird_util.php" id="drivers/firebird/firebird_util.php"></a><h3> <a name="drivers/firebird/firebird_util.php" id="drivers/firebird/firebird_util.php"></a><h3>
<i class="icon-file"></i>drivers/firebird/firebird_util.php<small style="float: right;padding-right: 10px;">1</small> <i class="icon-file"></i>drivers/firebird/firebird_util.php<small style="float: right;padding-right: 10px;">1</small>
</h3> </h3>
@ -146,7 +110,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -150,6 +150,20 @@ with array_map and glob</h2>
</div> </div>
<h3> <h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3> <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="iDB_SQL" id="iDB_SQL"></a><div class="element ajax clickable interface" href="../classes/iDB_SQL.html">
<h1>iDB_SQL<a href="../classes/iDB_SQL.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/iDB_SQL.html" class="more">« More »</a>
</div>
<a name="iQuery_Builder" id="iQuery_Builder"></a><div class="element ajax clickable interface" href="../classes/iQuery_Builder.html">
<h1>iQuery_Builder<a href="../classes/iQuery_Builder.html"></a>
</h1>
<p class="short_description">Interface defining the Query Builder class</p>
<div class="details collapse"></div>
<a href="../classes/iQuery_Builder.html" class="more">« More »</a>
</div>
<a name="BadConnectionException" id="BadConnectionException"></a><div class="element ajax clickable class" href="../classes/BadConnectionException.html"> <a name="BadConnectionException" id="BadConnectionException"></a><div class="element ajax clickable class" href="../classes/BadConnectionException.html">
<h1>BadConnectionException<a href="../classes/BadConnectionException.html"></a> <h1>BadConnectionException<a href="../classes/BadConnectionException.html"></a>
</h1> </h1>
@ -171,13 +185,6 @@ with array_map and glob</h2>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/DB_PDO.html" class="more">« More »</a> <a href="../classes/DB_PDO.html" class="more">« More »</a>
</div> </div>
<a name="DB_SQL" id="DB_SQL"></a><div class="element ajax clickable class" href="../classes/DB_SQL.html">
<h1>DB_SQL<a href="../classes/DB_SQL.html"></a>
</h1>
<p class="short_description">Abstract parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/DB_SQL.html" class="more">« More »</a>
</div>
<a name="DB_Util" id="DB_Util"></a><div class="element ajax clickable class" href="../classes/DB_Util.html"> <a name="DB_Util" id="DB_Util"></a><div class="element ajax clickable class" href="../classes/DB_Util.html">
<h1>DB_Util<a href="../classes/DB_Util.html"></a> <h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1> </h1>
@ -333,7 +340,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -68,7 +68,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -95,7 +95,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -212,7 +212,7 @@ data-fetching methods</p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -62,9 +62,12 @@
<a href="../packages/Query.Query.html" title="Query"><i class="icon-folder-open"></i>Query</a><ul class="nav nav-list nav-packages"></ul> <a href="../packages/Query.Query.html" title="Query"><i class="icon-folder-open"></i>Query</a><ul class="nav nav-list nav-packages"></ul>
</li> </li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#iDB_SQL" title="parent for database manipulation subclasses">iDB_SQL</a></li>
<li><a href="#iQuery_Builder" title="Interface defining the Query Builder class">iQuery_Builder</a></li>
<li class="nav-header">
<i class="icon-custom icon-class"></i> Classes</li> <i class="icon-custom icon-class"></i> Classes</li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li> <li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
<li><a href="#DB_SQL" title="Abstract parent for database manipulation subclasses">DB_SQL</a></li>
<li><a href="#DB_PDO" title="Base Database class">DB_PDO</a></li> <li><a href="#DB_PDO" title="Base Database class">DB_PDO</a></li>
<li><a href="#Query_Builder" title="Convienience class for creating sql queries - also the class that <li><a href="#Query_Builder" title="Convienience class for creating sql queries - also the class that
instantiates the specific db driver">Query_Builder</a></li> instantiates the specific db driver">Query_Builder</a></li>
@ -84,6 +87,20 @@ instantiates the specific db driver">Query_Builder</a></li>
<div class="package-indent"> <div class="package-indent">
<h3> <h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3> <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="iDB_SQL" id="iDB_SQL"></a><div class="element ajax clickable interface" href="../classes/iDB_SQL.html">
<h1>iDB_SQL<a href="../classes/iDB_SQL.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/iDB_SQL.html" class="more">« More »</a>
</div>
<a name="iQuery_Builder" id="iQuery_Builder"></a><div class="element ajax clickable interface" href="../classes/iQuery_Builder.html">
<h1>iQuery_Builder<a href="../classes/iQuery_Builder.html"></a>
</h1>
<p class="short_description">Interface defining the Query Builder class</p>
<div class="details collapse"></div>
<a href="../classes/iQuery_Builder.html" class="more">« More »</a>
</div>
<a name="BadConnectionException" id="BadConnectionException"></a><div class="element ajax clickable class" href="../classes/BadConnectionException.html"> <a name="BadConnectionException" id="BadConnectionException"></a><div class="element ajax clickable class" href="../classes/BadConnectionException.html">
<h1>BadConnectionException<a href="../classes/BadConnectionException.html"></a> <h1>BadConnectionException<a href="../classes/BadConnectionException.html"></a>
</h1> </h1>
@ -105,13 +122,6 @@ instantiates the specific db driver">Query_Builder</a></li>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/DB_PDO.html" class="more">« More »</a> <a href="../classes/DB_PDO.html" class="more">« More »</a>
</div> </div>
<a name="DB_SQL" id="DB_SQL"></a><div class="element ajax clickable class" href="../classes/DB_SQL.html">
<h1>DB_SQL<a href="../classes/DB_SQL.html"></a>
</h1>
<p class="short_description">Abstract parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/DB_SQL.html" class="more">« More »</a>
</div>
<a name="DB_Util" id="DB_Util"></a><div class="element ajax clickable class" href="../classes/DB_Util.html"> <a name="DB_Util" id="DB_Util"></a><div class="element ajax clickable class" href="../classes/DB_Util.html">
<h1>DB_Util<a href="../classes/DB_Util.html"></a> <h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1> </h1>
@ -140,7 +150,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">23</span></a></li> <span class="label label-info">23</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">4</span> <span class="label label-info">2</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -298,6 +298,20 @@ data-fetching methods</p>
<div class="package-indent"> <div class="package-indent">
<h3> <h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3> <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="iDB_SQL" id="iDB_SQL"></a><div class="element ajax clickable interface" href="../classes/iDB_SQL.html">
<h1>iDB_SQL<a href="../classes/iDB_SQL.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/iDB_SQL.html" class="more">« More »</a>
</div>
<a name="iQuery_Builder" id="iQuery_Builder"></a><div class="element ajax clickable interface" href="../classes/iQuery_Builder.html">
<h1>iQuery_Builder<a href="../classes/iQuery_Builder.html"></a>
</h1>
<p class="short_description">Interface defining the Query Builder class</p>
<div class="details collapse"></div>
<a href="../classes/iQuery_Builder.html" class="more">« More »</a>
</div>
<a name="BadConnectionException" id="BadConnectionException"></a><div class="element ajax clickable class" href="../classes/BadConnectionException.html"> <a name="BadConnectionException" id="BadConnectionException"></a><div class="element ajax clickable class" href="../classes/BadConnectionException.html">
<h1>BadConnectionException<a href="../classes/BadConnectionException.html"></a> <h1>BadConnectionException<a href="../classes/BadConnectionException.html"></a>
</h1> </h1>
@ -319,13 +333,6 @@ data-fetching methods</p>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/DB_PDO.html" class="more">« More »</a> <a href="../classes/DB_PDO.html" class="more">« More »</a>
</div> </div>
<a name="DB_SQL" id="DB_SQL"></a><div class="element ajax clickable class" href="../classes/DB_SQL.html">
<h1>DB_SQL<a href="../classes/DB_SQL.html"></a>
</h1>
<p class="short_description">Abstract parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/DB_SQL.html" class="more">« More »</a>
</div>
<a name="DB_Util" id="DB_Util"></a><div class="element ajax clickable class" href="../classes/DB_Util.html"> <a name="DB_Util" id="DB_Util"></a><div class="element ajax clickable class" href="../classes/DB_Util.html">
<h1>DB_Util<a href="../classes/DB_Util.html"></a> <h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1> </h1>
@ -355,7 +362,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-11-09T15:01:27-05:00.<br></footer></div> generated on 2012-12-18T16:17:00-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -86,19 +86,6 @@ class Firebird extends DB_PDO {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/**
* Doesn't apply to Firebird
*
* @param string $name
* @return FALSE
*/
public function switch_db($name)
{
return FALSE;
}
// --------------------------------------------------------------------------
/** /**
* Empty a database table * Empty a database table
* *

View File

@ -19,7 +19,7 @@
* @package Query * @package Query
* @subpackage Drivers * @subpackage Drivers
*/ */
class Firebird_SQL extends DB_SQL { class Firebird_SQL implements iDB_SQL {
/** /**
* Limit clause * Limit clause

View File

@ -55,19 +55,6 @@ class MySQL extends DB_PDO {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/**
* Connect to a different database
*
* @param string $name
*/
public function switch_db($name)
{
// TODO Implement
return FALSE;
}
// --------------------------------------------------------------------------
/** /**
* Empty a table * Empty a table
* *

View File

@ -19,7 +19,7 @@
* @package Query * @package Query
* @subpackage Drivers * @subpackage Drivers
*/ */
class MySQL_SQL extends DB_SQL { class MySQL_SQL implements iDB_SQL {
/** /**
* Limit clause * Limit clause

View File

@ -43,19 +43,6 @@ class ODBC extends DB_PDO {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/**
* Doesn't apply to ODBC
*
* @param string $name
* @return bool
*/
public function switch_db($name)
{
return FALSE;
}
// --------------------------------------------------------------------------
/** /**
* Empty the current database * Empty the current database
* *

View File

@ -19,7 +19,7 @@
* @package Query * @package Query
* @subpackage Drivers * @subpackage Drivers
*/ */
class ODBC_SQL extends DB_SQL { class ODBC_SQL implements iDB_SQL {
/** /**
* Limit clause * Limit clause

View File

@ -41,19 +41,6 @@ class PgSQL extends DB_PDO {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/**
* Connect to a different database
*
* @param string $name
*/
public function switch_db($name)
{
// TODO Implement
return FALSE;
}
// --------------------------------------------------------------------------
/** /**
* Empty a table * Empty a table
* *

View File

@ -18,7 +18,7 @@
* @package Query * @package Query
* @subpackage Drivers * @subpackage Drivers
*/ */
class PgSQL_SQL extends DB_SQL { class PgSQL_SQL implements iDB_SQL {
/** /**
* Limit clause * Limit clause

View File

@ -43,18 +43,6 @@ class SQLite extends DB_PDO {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/**
* Doesn't apply to sqlite
*
* @param string $name
*/
public function switch_db($name)
{
return FALSE;
}
// --------------------------------------------------------------------------
/** /**
* Empty a table * Empty a table
* *

View File

@ -19,7 +19,7 @@
* @package Query * @package Query
* @subpackage Drivers * @subpackage Drivers
*/ */
class SQLite_SQL extends DB_SQL { class SQLite_SQL implements iDB_SQL {
/** /**
* Limit clause * Limit clause

Binary file not shown.