Simplifiy select_ methods
This commit is contained in:
parent
cd3255a8a2
commit
008e65a872
@ -25,21 +25,29 @@ abstract class DB_PDO extends PDO {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Reference to the last executed query
|
* Reference to the last executed query
|
||||||
|
*
|
||||||
|
* @var mixed
|
||||||
*/
|
*/
|
||||||
protected $statement;
|
protected $statement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Character to escape identifiers
|
* Character to escape identifiers
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $escape_char = '"';
|
protected $escape_char = '"';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reference to sql sub class
|
* Reference to sql sub class
|
||||||
|
*
|
||||||
|
* @var Object
|
||||||
*/
|
*/
|
||||||
public $sql;
|
public $sql;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reference to util sub class
|
* Reference to util sub class
|
||||||
|
*
|
||||||
|
* @var Object
|
||||||
*/
|
*/
|
||||||
public $util;
|
public $util;
|
||||||
|
|
||||||
|
@ -148,10 +148,6 @@ class Query_Builder {
|
|||||||
*/
|
*/
|
||||||
public $conn_name = "";
|
public $conn_name = "";
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
// ! Start of methods
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
@ -277,13 +273,13 @@ class Query_Builder {
|
|||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Selects the maximum value of a field from a query
|
* Method to simplify select_ methods
|
||||||
*
|
*
|
||||||
* @param string $field
|
* @param string $field
|
||||||
* @param string $as
|
* @param string $as
|
||||||
* @return $this
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function select_max($field, $as=FALSE)
|
private function _select($field, $as = FALSE)
|
||||||
{
|
{
|
||||||
// Escape the identifiers
|
// Escape the identifiers
|
||||||
$field = $this->quote_ident($field);
|
$field = $this->quote_ident($field);
|
||||||
@ -292,9 +288,22 @@ class Query_Builder {
|
|||||||
? $this->quote_ident($as)
|
? $this->quote_ident($as)
|
||||||
: $field;
|
: $field;
|
||||||
|
|
||||||
// Create the select string
|
return "({$field}) AS {$as} ";
|
||||||
$this->select_string .= $this->sql->max()."({$field}) AS {$as} ";
|
}
|
||||||
|
|
||||||
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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)
|
||||||
|
{
|
||||||
|
// Create the select string
|
||||||
|
$this->select_string .= $this->sql->max().$this->_select($field, $as);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -309,16 +318,8 @@ class Query_Builder {
|
|||||||
*/
|
*/
|
||||||
public function select_min($field, $as=FALSE)
|
public function select_min($field, $as=FALSE)
|
||||||
{
|
{
|
||||||
// Escape the identifiers
|
|
||||||
$field = $this->quote_ident($field);
|
|
||||||
|
|
||||||
$as = ($as !== FALSE)
|
|
||||||
? $this->quote_ident($as)
|
|
||||||
: $field;
|
|
||||||
|
|
||||||
// Create the select string
|
// Create the select string
|
||||||
$this->select_string .= $this->sql->min()."({$field}) AS {$as} ";
|
$this->select_string .= $this->sql->min().$this->_select($field, $as);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -333,16 +334,8 @@ class Query_Builder {
|
|||||||
*/
|
*/
|
||||||
public function select_avg($field, $as=FALSE)
|
public function select_avg($field, $as=FALSE)
|
||||||
{
|
{
|
||||||
// Escape the identifiers
|
|
||||||
$field = $this->quote_ident($field);
|
|
||||||
|
|
||||||
$as = ($as !== FALSE)
|
|
||||||
? $this->quote_ident($as)
|
|
||||||
: $field;
|
|
||||||
|
|
||||||
// Create the select string
|
// Create the select string
|
||||||
$this->select_string .= $this->sql->avg()."({$field}) AS {$as} ";
|
$this->select_string .= $this->sql->avg().$this->_select($field, $as);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -357,16 +350,8 @@ class Query_Builder {
|
|||||||
*/
|
*/
|
||||||
public function select_sum($field, $as=FALSE)
|
public function select_sum($field, $as=FALSE)
|
||||||
{
|
{
|
||||||
// Escape the identifiers
|
|
||||||
$field = $this->quote_ident($field);
|
|
||||||
|
|
||||||
$as = ($as !== FALSE)
|
|
||||||
? $this->quote_ident($as)
|
|
||||||
: $field;
|
|
||||||
|
|
||||||
// Create the select string
|
// Create the select string
|
||||||
$this->select_string .= $this->sql->sum()."({$field}) AS {$as} ";
|
$this->select_string .= $this->sql->sum().$this->_select($field, $as);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -381,7 +366,6 @@ class Query_Builder {
|
|||||||
{
|
{
|
||||||
// Prepend the keyword to the select string
|
// Prepend the keyword to the select string
|
||||||
$this->select_string = $this->sql->distinct() . $this->select_string;
|
$this->select_string = $this->sql->distinct() . $this->select_string;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -898,6 +882,8 @@ class Query_Builder {
|
|||||||
*/
|
*/
|
||||||
public function join($table, $condition, $type='')
|
public function join($table, $condition, $type='')
|
||||||
{
|
{
|
||||||
|
// @todo make able to handle operators without spaces
|
||||||
|
|
||||||
$table = implode(" ", array_map(array($this->db, 'quote_ident'), explode(' ', trim($table))));
|
$table = implode(" ", array_map(array($this->db, 'quote_ident'), explode(' ', trim($table))));
|
||||||
//$condition = preg_replace('`(\W)`', " $1 ", $condition);
|
//$condition = preg_replace('`(\W)`', " $1 ", $condition);
|
||||||
$cond_array = explode(' ', trim($condition));
|
$cond_array = explode(' ', trim($condition));
|
||||||
@ -1304,12 +1290,10 @@ class Query_Builder {
|
|||||||
foreach($this as $name => $var)
|
foreach($this as $name => $var)
|
||||||
{
|
{
|
||||||
// Skip properties that are needed for every query
|
// Skip properties that are needed for every query
|
||||||
$save_properties = array(
|
if (in_array($name, array(
|
||||||
'db',
|
'db',
|
||||||
'sql'
|
'sql'
|
||||||
);
|
)))
|
||||||
|
|
||||||
if (in_array($name, $save_properties))
|
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -1342,10 +1326,12 @@ class Query_Builder {
|
|||||||
{
|
{
|
||||||
$sql = '';
|
$sql = '';
|
||||||
|
|
||||||
|
$table = $this->quote_ident($table);
|
||||||
|
|
||||||
switch($type)
|
switch($type)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
$sql = 'SELECT * FROM '.$this->from_string;
|
$sql = "SELECT * FROM {$this->from_string}";
|
||||||
|
|
||||||
// Set the select string
|
// Set the select string
|
||||||
if ( ! empty($this->select_string))
|
if ( ! empty($this->select_string))
|
||||||
@ -1394,13 +1380,13 @@ class Query_Builder {
|
|||||||
case "insert":
|
case "insert":
|
||||||
$param_count = count($this->set_array_keys);
|
$param_count = count($this->set_array_keys);
|
||||||
$params = array_fill(0, $param_count, '?');
|
$params = array_fill(0, $param_count, '?');
|
||||||
$sql = 'INSERT INTO '. $this->quote_ident($table) .
|
$sql = "INSERT INTO {$table} ("
|
||||||
' (' . implode(', ', $this->set_array_keys) .
|
. implode(', ', $this->set_array_keys) .
|
||||||
') VALUES ('.implode(', ', $params).')';
|
') VALUES ('.implode(', ', $params).')';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "update":
|
case "update":
|
||||||
$sql = 'UPDATE '.$this->quote_ident($table). ' SET '. $this->set_string;
|
$sql = "UPDATE {$table} SET {$this->set_string}";
|
||||||
|
|
||||||
// Set the where string
|
// Set the where string
|
||||||
if ( ! empty($this->query_map))
|
if ( ! empty($this->query_map))
|
||||||
@ -1413,7 +1399,7 @@ class Query_Builder {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "delete":
|
case "delete":
|
||||||
$sql = 'DELETE FROM '.$this->quote_ident($table);
|
$sql = "DELETE FROM {$table}";
|
||||||
|
|
||||||
// Set the where string
|
// Set the where string
|
||||||
if ( ! empty($this->query_map))
|
if ( ! empty($this->query_map))
|
||||||
|
@ -633,25 +633,25 @@ the connection/database</h2>
|
|||||||
<i class="icon-custom icon-property"></i> Properties</h3>
|
<i class="icon-custom icon-property"></i> Properties</h3>
|
||||||
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
||||||
<h2>Reference to sql sub class</h2>
|
<h2>Reference to sql sub class</h2>
|
||||||
<pre>$sql </pre>
|
<pre>$sql : Object</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="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
||||||
<h2>Reference to util sub class</h2>
|
<h2>Reference to util sub class</h2>
|
||||||
<pre>$util </pre>
|
<pre>$util : Object</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="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
||||||
<h2>Character to escape identifiers</h2>
|
<h2>Character to escape identifiers</h2>
|
||||||
<pre>$escape_char </pre>
|
<pre>$escape_char : 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="%24statement" id="$statement"> </a><div class="element clickable property protected $statement" data-toggle="collapse" data-target=".$statement .collapse">
|
<a name="%24statement" id="$statement"> </a><div class="element clickable property protected $statement" data-toggle="collapse" data-target=".$statement .collapse">
|
||||||
<h2>Reference to the last executed query</h2>
|
<h2>Reference to the last executed query</h2>
|
||||||
<pre>$statement </pre>
|
<pre>$statement : mixed</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>
|
||||||
@ -662,7 +662,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -151,7 +151,7 @@ and organizes database connections</p></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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -268,7 +268,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -208,7 +208,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -746,7 +746,7 @@ the connection/database</h2>
|
|||||||
<i class="icon-custom icon-property"></i> Properties</h3>
|
<i class="icon-custom icon-property"></i> Properties</h3>
|
||||||
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
||||||
<h2>Reference to sql sub class</h2>
|
<h2>Reference to sql sub class</h2>
|
||||||
<pre>$sql </pre>
|
<pre>$sql : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -758,7 +758,7 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
||||||
<h2>Reference to util sub class</h2>
|
<h2>Reference to util sub class</h2>
|
||||||
<pre>$util </pre>
|
<pre>$util : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -776,7 +776,7 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
||||||
<h2>Character to escape identifiers</h2>
|
<h2>Character to escape identifiers</h2>
|
||||||
<pre>$escape_char </pre>
|
<pre>$escape_char : string</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -812,7 +812,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -503,7 +503,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -296,7 +296,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -211,7 +211,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -801,7 +801,7 @@ the connection/database</h2>
|
|||||||
<i class="icon-custom icon-property"></i> Properties</h3>
|
<i class="icon-custom icon-property"></i> Properties</h3>
|
||||||
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
||||||
<h2>Reference to sql sub class</h2>
|
<h2>Reference to sql sub class</h2>
|
||||||
<pre>$sql </pre>
|
<pre>$sql : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -813,7 +813,7 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
||||||
<h2>Reference to util sub class</h2>
|
<h2>Reference to util sub class</h2>
|
||||||
<pre>$util </pre>
|
<pre>$util : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -831,7 +831,7 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24statement" id="$statement"> </a><div class="element clickable property protected $statement" data-toggle="collapse" data-target=".$statement .collapse">
|
<a name="%24statement" id="$statement"> </a><div class="element clickable property protected $statement" data-toggle="collapse" data-target=".$statement .collapse">
|
||||||
<h2>Reference to the last executed query</h2>
|
<h2>Reference to the last executed query</h2>
|
||||||
<pre>$statement </pre>
|
<pre>$statement : mixed</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -848,7 +848,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -280,7 +280,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -207,7 +207,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -803,7 +803,7 @@ the connection/database</h2>
|
|||||||
<i class="icon-custom icon-property"></i> Properties</h3>
|
<i class="icon-custom icon-property"></i> Properties</h3>
|
||||||
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
||||||
<h2>Reference to sql sub class</h2>
|
<h2>Reference to sql sub class</h2>
|
||||||
<pre>$sql </pre>
|
<pre>$sql : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -815,7 +815,7 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
||||||
<h2>Reference to util sub class</h2>
|
<h2>Reference to util sub class</h2>
|
||||||
<pre>$util </pre>
|
<pre>$util : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -827,13 +827,13 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
||||||
<h2>Don't define the escape char - or define it in sub-drivers in a refactor</h2>
|
<h2>Don't define the escape char - or define it in sub-drivers in a refactor</h2>
|
||||||
<pre>$escape_char </pre>
|
<pre>$escape_char : 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="%24statement" id="$statement"> </a><div class="element clickable property protected $statement" data-toggle="collapse" data-target=".$statement .collapse">
|
<a name="%24statement" id="$statement"> </a><div class="element clickable property protected $statement" data-toggle="collapse" data-target=".$statement .collapse">
|
||||||
<h2>Reference to the last executed query</h2>
|
<h2>Reference to the last executed query</h2>
|
||||||
<pre>$statement </pre>
|
<pre>$statement : mixed</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -850,7 +850,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -280,7 +280,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -202,7 +202,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -797,7 +797,7 @@ the connection/database</h2>
|
|||||||
<i class="icon-custom icon-property"></i> Properties</h3>
|
<i class="icon-custom icon-property"></i> Properties</h3>
|
||||||
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
||||||
<h2>Reference to sql sub class</h2>
|
<h2>Reference to sql sub class</h2>
|
||||||
<pre>$sql </pre>
|
<pre>$sql : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -809,7 +809,7 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
||||||
<h2>Reference to util sub class</h2>
|
<h2>Reference to util sub class</h2>
|
||||||
<pre>$util </pre>
|
<pre>$util : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -821,7 +821,7 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
||||||
<h2>Character to escape identifiers</h2>
|
<h2>Character to escape identifiers</h2>
|
||||||
<pre>$escape_char </pre>
|
<pre>$escape_char : string</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -833,7 +833,7 @@ the connection/database</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24statement" id="$statement"> </a><div class="element clickable property protected $statement" data-toggle="collapse" data-target=".$statement .collapse">
|
<a name="%24statement" id="$statement"> </a><div class="element clickable property protected $statement" data-toggle="collapse" data-target=".$statement .collapse">
|
||||||
<h2>Reference to the last executed query</h2>
|
<h2>Reference to the last executed query</h2>
|
||||||
<pre>$statement </pre>
|
<pre>$statement : mixed</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -850,7 +850,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -296,7 +296,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -207,7 +207,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -108,6 +108,7 @@ passed array with key / value pairs</span><pre>where()</pre></a></li>
|
|||||||
<li class="nav-header private">» Private</li>
|
<li class="nav-header private">» Private</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 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 private "><a href="#_reset" title="_reset :: 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()</pre></a></li>
|
<li class="method private "><a href="#_reset" title="_reset :: 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()</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 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 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="nav-header">
|
<li class="nav-header">
|
||||||
<i class="icon-custom icon-property"></i> Properties</li>
|
<i class="icon-custom icon-property"></i> Properties</li>
|
||||||
@ -954,6 +955,25 @@ 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="_select" id="_select"></a><div class="element clickable method private _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 private _where" data-toggle="collapse" data-target="._where .collapse">
|
<a name="_where" id="_where"></a><div class="element clickable method private _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>
|
||||||
@ -1079,7 +1099,7 @@ for complex select queries</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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -818,7 +818,7 @@ method if the database does not support 'TRUNCATE';</h2>
|
|||||||
<i class="icon-custom icon-property"></i> Properties</h3>
|
<i class="icon-custom icon-property"></i> Properties</h3>
|
||||||
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
|
||||||
<h2>Reference to sql sub class</h2>
|
<h2>Reference to sql sub class</h2>
|
||||||
<pre>$sql </pre>
|
<pre>$sql : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -830,7 +830,7 @@ method if the database does not support 'TRUNCATE';</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
<a name="%24util" id="$util"> </a><div class="element clickable property public $util" data-toggle="collapse" data-target=".$util .collapse">
|
||||||
<h2>Reference to util sub class</h2>
|
<h2>Reference to util sub class</h2>
|
||||||
<pre>$util </pre>
|
<pre>$util : Object</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -842,7 +842,7 @@ method if the database does not support 'TRUNCATE';</h2>
|
|||||||
</div>
|
</div>
|
||||||
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
<a name="%24escape_char" id="$escape_char"> </a><div class="element clickable property protected $escape_char" data-toggle="collapse" data-target=".$escape_char .collapse">
|
||||||
<h2>Character to escape identifiers</h2>
|
<h2>Character to escape identifiers</h2>
|
||||||
<pre>$escape_char </pre>
|
<pre>$escape_char : string</pre>
|
||||||
<div class="labels"><span class="label">Inherited</span></div>
|
<div class="labels"><span class="label">Inherited</span></div>
|
||||||
<div class="row collapse"><div class="span8">
|
<div class="row collapse"><div class="span8">
|
||||||
<p class="long_description"></p>
|
<p class="long_description"></p>
|
||||||
@ -865,7 +865,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -280,7 +280,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -207,7 +207,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -243,7 +243,7 @@ directly - the settings should be safe!</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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -66,7 +66,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -92,7 +92,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -63,7 +63,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -282,7 +282,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -66,7 +66,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -93,7 +93,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -210,7 +210,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -96,7 +96,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -114,7 +114,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -315,7 +315,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-04-30T14:49:04-04:00.<br></footer></div>
|
generated on 2012-04-30T15:29:34-04:00.<br></footer></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -3,10 +3,6 @@
|
|||||||
<title>Query</title>
|
<title>Query</title>
|
||||||
<parser>
|
<parser>
|
||||||
<target>docs</target>
|
<target>docs</target>
|
||||||
<!--<markers>
|
|
||||||
<item>@todo</item>
|
|
||||||
<item>@TODO</item>
|
|
||||||
</markers>-->
|
|
||||||
</parser>
|
</parser>
|
||||||
<transformer>
|
<transformer>
|
||||||
<target>docs</target>
|
<target>docs</target>
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user