Remove some dead code, update docs

This commit is contained in:
Timothy Warren 2014-03-17 19:34:48 -04:00
parent 00374bbde3
commit 5e464ef158
44 changed files with 1540 additions and 536 deletions

View File

@ -53,6 +53,8 @@ function query_autoload($class)
if (is_file($class_path)) require_once($class_path);
elseif (is_dir($driver_path))
{
$class = str_replace("pdo_", "", $class);
if (in_array($class, PDO::getAvailableDrivers()))
{
array_map('do_include', glob("{$driver_path}/*.php"));

View File

@ -106,7 +106,7 @@ abstract class DB_PDO extends PDO {
$k++;
}
$res = $query->bindValue($k, $value);
$query->bindValue($k, $value);
}
return $query;

View File

@ -95,6 +95,11 @@ class Query_Builder implements iQuery_Builder {
// Whether to do only an explain on the query
protected $explain = FALSE;
// Subclass instances
public $db;
protected $parser;
public $util;
// --------------------------------------------------------------------------
// ! Methods
@ -1342,8 +1347,6 @@ class Query_Builder implements iQuery_Builder {
*/
protected function _compile($type='', $table='')
{
$sql = '';
$table = $this->db->quote_table($table);
switch($type)

View File

@ -163,8 +163,21 @@ function Query($params = '')
// --------------------------------------------------------------------------
// Create the dsn for the database to connect to
if ($dbtype === 'firebird' || $dbtype == 'pdo_firebird') $dsn = "{$params->host}:{$params->file}";
if ($dbtype === 'firebird') $dsn = "{$params->host}:{$params->file}";
elseif ($dbtype === 'sqlite') $dsn = $params->file;
elseif ($dbtype === 'pdo_firebird')
{
$dbtype = 'firebird';
if ( ! empty($params->port))
{
$dsn = "{$dbtype}:dbname={$params->host}/{$params->port}:{$params->file}";
}
else
{
$dsn = "{$dbtype}:dbname={$params->host}:{$params->file}";
}
}
else
{
if ( ! empty($params->conn_db))

View File

@ -4,233 +4,263 @@
<!-- Generated by graphviz version 2.26.3 (20100126.1600)
-->
<!-- Title: G Pages: 1 -->
<svg width="680pt" height="1105pt"
viewBox="0.00 0.00 680.00 1105.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1101)">
<svg width="700pt" height="835pt"
viewBox="0.00 0.00 700.00 835.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 831)">
<title>G</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-1101 677,-1101 677,5 -4,5"/>
<polygon fill="white" stroke="white" points="-4,5 -4,-831 697,-831 697,5 -4,5"/>
<g id="graph2" class="cluster"><title>cluster_Global</title>
<polyline fill="none" stroke="gray" points="242,-152 652,-152 "/>
<path fill="none" stroke="gray" d="M652,-152C658,-152 664,-158 664,-164"/>
<polyline fill="none" stroke="gray" points="664,-164 664,-1077 "/>
<path fill="none" stroke="gray" d="M664,-1077C664,-1083 658,-1089 652,-1089"/>
<polyline fill="none" stroke="gray" points="652,-1089 242,-1089 "/>
<path fill="none" stroke="gray" d="M242,-1089C236,-1089 230,-1083 230,-1077"/>
<polyline fill="none" stroke="gray" points="230,-1077 230,-164 "/>
<path fill="none" stroke="gray" d="M230,-164C230,-158 236,-152 242,-152"/>
<text text-anchor="middle" x="447" y="-1075.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">\</text>
<polyline fill="none" stroke="gray" points="20,-152 672,-152 "/>
<path fill="none" stroke="gray" d="M672,-152C678,-152 684,-158 684,-164"/>
<polyline fill="none" stroke="gray" points="684,-164 684,-807 "/>
<path fill="none" stroke="gray" d="M684,-807C684,-813 678,-819 672,-819"/>
<polyline fill="none" stroke="gray" points="672,-819 20,-819 "/>
<path fill="none" stroke="gray" d="M20,-819C14,-819 8,-813 8,-807"/>
<polyline fill="none" stroke="gray" points="8,-807 8,-164 "/>
<path fill="none" stroke="gray" d="M8,-164C8,-158 14,-152 20,-152"/>
<text text-anchor="middle" x="346" y="-805.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">\</text>
</g>
<!-- \\DB_PDO -->
<g id="node2" class="node"><title>\\DB_PDO</title>
<polygon fill="none" stroke="black" points="325,-493 249,-493 249,-457 325,-457 325,-493"/>
<text text-anchor="start" x="257.5" y="-480.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="264" y="-467.233" font-family="Times Roman,serif" font-size="11.00">DB_PDO</text>
<polygon fill="none" stroke="black" points="345,-304 269,-304 269,-268 345,-268 345,-304"/>
<text text-anchor="start" x="277.5" y="-291.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="284" y="-278.233" font-family="Times Roman,serif" font-size="11.00">DB_PDO</text>
</g>
<!-- \\PDO -->
<g id="node24" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="36" cy="-475" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="36" y="-470.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
<g id="node27" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="54" cy="-126" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="54" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
</g>
<!-- \\DB_PDO&#45;&gt;\\PDO -->
<g id="edge3" class="edge"><title>\\DB_PDO&#45;&gt;\\PDO</title>
<path fill="none" stroke="black" d="M248.879,-475C204.032,-475 129.635,-475 81.7269,-475"/>
<polygon fill="none" stroke="black" points="81.6312,-471.5 71.6312,-475 81.6311,-478.5 81.6312,-471.5"/>
<path fill="none" stroke="black" d="M268.992,-288.499C238.254,-288.675 195.119,-284.566 164,-264 113.377,-230.545 135.56,-190.243 92,-148 90.7584,-146.796 89.4385,-145.633 88.0638,-144.512"/>
<polygon fill="none" stroke="black" points="89.9283,-141.543 79.7565,-138.579 85.86,-147.239 89.9283,-141.543"/>
</g>
<!-- \\Firebird_Result -->
<g id="node3" class="node"><title>\\Firebird_Result</title>
<polygon fill="none" stroke="black" points="627,-358 531,-358 531,-322 627,-322 627,-358"/>
<text text-anchor="middle" x="579" y="-336.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Result</text>
<polygon fill="none" stroke="black" points="647,-358 551,-358 551,-322 647,-322 647,-358"/>
<text text-anchor="middle" x="599" y="-336.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Result</text>
</g>
<!-- \\PDOStatement -->
<g id="node26" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="287" cy="-126" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="287" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
<g id="node29" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="307" cy="-126" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="307" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g>
<!-- \\Firebird_Result&#45;&gt;\\PDOStatement -->
<g id="edge5" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title>
<path fill="none" stroke="black" d="M530.433,-329.744C520.145,-325.821 509.994,-320.422 502,-313 443.364,-258.561 493.404,-196.803 430,-148 416.189,-137.37 399.361,-130.886 382.164,-127.081"/>
<polygon fill="none" stroke="black" points="382.497,-123.581 372.017,-125.14 381.181,-130.457 382.497,-123.581"/>
<path fill="none" stroke="black" d="M550.433,-329.744C540.145,-325.821 529.994,-320.422 522,-313 463.364,-258.561 513.404,-196.803 450,-148 436.189,-137.37 419.361,-130.886 402.164,-127.081"/>
<polygon fill="none" stroke="black" points="402.497,-123.581 392.017,-125.14 401.181,-130.457 402.497,-123.581"/>
</g>
<!-- \\Firebird_Util -->
<g id="node4" class="node"><title>\\Firebird_Util</title>
<polygon fill="none" stroke="black" points="620,-952 538,-952 538,-916 620,-916 620,-952"/>
<text text-anchor="middle" x="579" y="-930.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Util</text>
<polygon fill="none" stroke="black" points="348,-628 266,-628 266,-592 348,-592 348,-628"/>
<text text-anchor="middle" x="307" y="-606.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Util</text>
</g>
<!-- \\DB_Util -->
<g id="node8" class="node"><title>\\DB_Util</title>
<polygon fill="none" stroke="black" points="325,-925 249,-925 249,-889 325,-889 325,-925"/>
<text text-anchor="start" x="257.5" y="-912.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="266.5" y="-899.233" font-family="Times Roman,serif" font-size="11.00">DB_Util</text>
<g id="node9" class="node"><title>\\DB_Util</title>
<polygon fill="none" stroke="black" points="92,-655 16,-655 16,-619 92,-619 92,-655"/>
<text text-anchor="start" x="24.5" y="-642.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="33.5" y="-629.233" font-family="Times Roman,serif" font-size="11.00">DB_Util</text>
</g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="edge7" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M537.783,-930.189C484.504,-925.262 391.879,-916.698 335.34,-911.47"/>
<polygon fill="none" stroke="black" points="335.501,-907.97 325.221,-910.534 334.856,-914.94 335.501,-907.97"/>
<path fill="none" stroke="black" d="M265.788,-614.398C221.044,-619.173 149.653,-626.792 102.307,-631.845"/>
<polygon fill="none" stroke="black" points="101.865,-628.372 92.2932,-632.913 102.608,-635.332 101.865,-628.372"/>
</g>
<!-- \\PDO_Firebird_Util -->
<g id="node5" class="node"><title>\\PDO_Firebird_Util</title>
<polygon fill="none" stroke="black" points="654,-736 544,-736 544,-700 654,-700 654,-736"/>
<text text-anchor="middle" x="599" y="-714.6" font-family="Times Roman,serif" font-size="11.00">PDO_Firebird_Util</text>
</g>
<!-- \\PDO_Firebird_Util&#45;&gt;\\Firebird_Util -->
<g id="edge9" class="edge"><title>\\PDO_Firebird_Util&#45;&gt;\\Firebird_Util</title>
<path fill="none" stroke="black" d="M543.438,-700.827C536.076,-697.887 528.748,-694.603 522,-691 486.714,-672.162 486.604,-653.13 450,-637 421.069,-624.252 386.255,-617.515 358.221,-613.959"/>
<polygon fill="none" stroke="black" points="358.562,-610.475 348.223,-612.788 357.748,-617.428 358.562,-610.475"/>
</g>
<!-- \\Query_Builder -->
<g id="node5" class="node"><title>\\Query_Builder</title>
<polygon fill="none" stroke="black" points="626,-1060 532,-1060 532,-1024 626,-1024 626,-1060"/>
<text text-anchor="middle" x="579" y="-1038.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder</text>
<g id="node6" class="node"><title>\\Query_Builder</title>
<polygon fill="none" stroke="black" points="646,-790 552,-790 552,-754 646,-754 646,-790"/>
<text text-anchor="middle" x="599" y="-768.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder</text>
</g>
<!-- \\iQuery_Builder -->
<g id="node21" class="node"><title>\\iQuery_Builder</title>
<polygon fill="none" stroke="black" points="336,-1060 238,-1060 238,-1024 336,-1024 336,-1060"/>
<text text-anchor="middle" x="287" y="-1038.6" font-family="Times Roman,serif" font-size="11.00">iQuery_Builder</text>
<g id="node24" class="node"><title>\\iQuery_Builder</title>
<polygon fill="none" stroke="black" points="356,-736 258,-736 258,-700 356,-700 356,-736"/>
<text text-anchor="middle" x="307" y="-714.6" font-family="Times Roman,serif" font-size="11.00">iQuery_Builder</text>
</g>
<!-- \\Query_Builder&#45;&gt;\\iQuery_Builder -->
<g id="edge9" class="edge"><title>\\Query_Builder&#45;&gt;\\iQuery_Builder</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M531.435,-1042C480.879,-1042 400.848,-1042 346.235,-1042"/>
<polygon fill="none" stroke="black" points="346.007,-1038.5 336.007,-1042 346.007,-1045.5 346.007,-1038.5"/>
<g id="edge11" class="edge"><title>\\Query_Builder&#45;&gt;\\iQuery_Builder</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M551.435,-763.204C500.774,-753.835 420.515,-738.992 365.894,-728.891"/>
<polygon fill="none" stroke="black" points="366.476,-725.44 356.007,-727.063 365.203,-732.323 366.476,-725.44"/>
</g>
<!-- \\Firebird -->
<g id="node6" class="node"><title>\\Firebird</title>
<polygon fill="none" stroke="black" points="608,-520 550,-520 550,-484 608,-484 608,-520"/>
<text text-anchor="middle" x="579" y="-498.6" font-family="Times Roman,serif" font-size="11.00">Firebird</text>
<g id="node7" class="node"><title>\\Firebird</title>
<polygon fill="none" stroke="black" points="628,-520 570,-520 570,-484 628,-484 628,-520"/>
<text text-anchor="middle" x="599" y="-498.6" font-family="Times Roman,serif" font-size="11.00">Firebird</text>
</g>
<!-- \\Firebird&#45;&gt;\\DB_PDO -->
<g id="edge11" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M549.934,-499.312C499.752,-494.672 396.38,-485.114 335.263,-479.463"/>
<polygon fill="none" stroke="black" points="335.379,-475.959 325.099,-478.523 334.734,-482.929 335.379,-475.959"/>
<g id="edge13" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M569.749,-497.545C553.98,-493.83 535.122,-487.1 522,-475 464.077,-421.587 511.778,-361.903 450,-313 423.508,-292.029 385.671,-285.6 355.571,-284.243"/>
<polygon fill="none" stroke="black" points="355.371,-280.736 345.278,-283.959 355.178,-287.733 355.371,-280.736"/>
</g>
<!-- \\MySQL_Util -->
<g id="node7" class="node"><title>\\MySQL_Util</title>
<polygon fill="none" stroke="black" points="618,-898 540,-898 540,-862 618,-862 618,-898"/>
<text text-anchor="middle" x="579" y="-876.6" font-family="Times Roman,serif" font-size="11.00">MySQL_Util</text>
<g id="node8" class="node"><title>\\MySQL_Util</title>
<polygon fill="none" stroke="black" points="346,-574 268,-574 268,-538 346,-538 346,-574"/>
<text text-anchor="middle" x="307" y="-552.6" font-family="Times Roman,serif" font-size="11.00">MySQL_Util</text>
</g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge13" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M539.316,-883.669C486.322,-888.57 392.513,-897.244 335.42,-902.523"/>
<polygon fill="none" stroke="black" points="334.84,-899.061 325.205,-903.467 335.485,-906.032 334.84,-899.061"/>
<g id="edge15" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M267.433,-560.55C238.313,-564.597 198.038,-571.664 164,-583 140.02,-590.986 114.607,-603.19 94.2547,-613.977"/>
<polygon fill="none" stroke="black" points="92.425,-610.987 85.2833,-618.813 95.7466,-617.148 92.425,-610.987"/>
</g>
<!-- \\SQLite_Util -->
<g id="node9" class="node"><title>\\SQLite_Util</title>
<polygon fill="none" stroke="black" points="617,-844 541,-844 541,-808 617,-808 617,-844"/>
<text text-anchor="middle" x="579" y="-822.6" font-family="Times Roman,serif" font-size="11.00">SQLite_Util</text>
<g id="node10" class="node"><title>\\SQLite_Util</title>
<polygon fill="none" stroke="black" points="345,-790 269,-790 269,-754 345,-754 345,-790"/>
<text text-anchor="middle" x="307" y="-768.6" font-family="Times Roman,serif" font-size="11.00">SQLite_Util</text>
</g>
<!-- \\SQLite_Util&#45;&gt;\\DB_Util -->
<g id="edge15" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M540.225,-836.756C487.246,-851.452 392.288,-877.793 334.918,-893.708"/>
<polygon fill="none" stroke="black" points="333.708,-890.411 325.008,-896.457 335.579,-897.156 333.708,-890.411"/>
<g id="edge17" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M268.283,-770.765C238.321,-768.416 196.582,-762.022 164,-745 126.278,-725.293 92.9746,-688.396 73.1564,-663.269"/>
<polygon fill="none" stroke="black" points="75.8438,-661.022 66.9656,-655.24 70.3006,-665.297 75.8438,-661.022"/>
</g>
<!-- \\PDO_Firebird -->
<g id="node11" class="node"><title>\\PDO_Firebird</title>
<polygon fill="none" stroke="black" points="642,-466 556,-466 556,-430 642,-430 642,-466"/>
<text text-anchor="middle" x="599" y="-444.6" font-family="Times Roman,serif" font-size="11.00">PDO_Firebird</text>
</g>
<!-- \\PDO_Firebird&#45;&gt;\\DB_PDO -->
<g id="edge19" class="edge"><title>\\PDO_Firebird&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M555.364,-438.115C543.748,-434.095 531.736,-428.557 522,-421 476.427,-385.629 498.105,-344.841 450,-313 422.108,-294.538 384.82,-287.95 355.314,-285.893"/>
<polygon fill="none" stroke="black" points="355.406,-282.393 345.23,-285.342 355.024,-289.382 355.406,-282.393"/>
</g>
<!-- \\PgSQL_Util -->
<g id="node10" class="node"><title>\\PgSQL_Util</title>
<polygon fill="none" stroke="black" points="617,-1006 541,-1006 541,-970 617,-970 617,-1006"/>
<text text-anchor="middle" x="579" y="-984.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_Util</text>
<g id="node12" class="node"><title>\\PgSQL_Util</title>
<polygon fill="none" stroke="black" points="345,-682 269,-682 269,-646 345,-646 345,-682"/>
<text text-anchor="middle" x="307" y="-660.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_Util</text>
</g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge17" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M540.826,-977.411C488.034,-962.766 392.746,-936.334 335.135,-920.353"/>
<polygon fill="none" stroke="black" points="335.755,-916.892 325.183,-917.592 333.884,-923.638 335.755,-916.892"/>
<g id="edge21" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M268.849,-659.929C224.352,-655.18 150.723,-647.322 102.282,-642.153"/>
<polygon fill="none" stroke="black" points="102.362,-638.641 92.0467,-641.06 101.619,-645.602 102.362,-638.641"/>
</g>
<!-- \\PgSQL_SQL -->
<g id="node11" class="node"><title>\\PgSQL_SQL</title>
<polygon fill="none" stroke="black" points="619,-736 539,-736 539,-700 619,-700 619,-736"/>
<text text-anchor="middle" x="579" y="-714.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_SQL</text>
<g id="node13" class="node"><title>\\PgSQL_SQL</title>
<polygon fill="none" stroke="black" points="347,-412 267,-412 267,-376 347,-376 347,-412"/>
<text text-anchor="middle" x="307" y="-390.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_SQL</text>
</g>
<!-- \\iDB_SQL -->
<g id="node22" class="node"><title>\\iDB_SQL</title>
<polygon fill="none" stroke="black" points="318,-709 256,-709 256,-673 318,-673 318,-709"/>
<text text-anchor="middle" x="287" y="-687.6" font-family="Times Roman,serif" font-size="11.00">iDB_SQL</text>
<g id="node25" class="node"><title>\\iDB_SQL</title>
<polygon fill="none" stroke="black" points="85,-439 23,-439 23,-403 85,-403 85,-439"/>
<text text-anchor="middle" x="54" y="-417.6" font-family="Times Roman,serif" font-size="11.00">iDB_SQL</text>
</g>
<!-- \\PgSQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge19" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M538.705,-714.274C483.588,-709.178 385.151,-700.076 329.104,-694.893"/>
<polygon fill="none" stroke="black" points="329.098,-691.378 318.819,-693.942 328.454,-698.348 329.098,-691.378"/>
<g id="edge23" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M266.911,-398.278C220.148,-403.269 143.207,-411.48 95.7453,-416.545"/>
<polygon fill="none" stroke="black" points="95.0803,-413.096 85.5082,-417.637 95.8232,-420.056 95.0803,-413.096"/>
</g>
<!-- \\MySQL_SQL -->
<g id="node12" class="node"><title>\\MySQL_SQL</title>
<polygon fill="none" stroke="black" points="620,-682 538,-682 538,-646 620,-646 620,-682"/>
<text text-anchor="middle" x="579" y="-660.6" font-family="Times Roman,serif" font-size="11.00">MySQL_SQL</text>
</g>
<!-- \\MySQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge21" class="edge"><title>\\MySQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M537.783,-667.811C482.4,-672.932 384.499,-681.985 328.813,-687.134"/>
<polygon fill="none" stroke="black" points="328.23,-683.673 318.595,-688.079 328.875,-690.643 328.23,-683.673"/>
<!-- \\PDO_Firebird_SQL -->
<g id="node14" class="node"><title>\\PDO_Firebird_SQL</title>
<polygon fill="none" stroke="black" points="656,-682 542,-682 542,-646 656,-646 656,-682"/>
<text text-anchor="middle" x="599" y="-660.6" font-family="Times Roman,serif" font-size="11.00">PDO_Firebird_SQL</text>
</g>
<!-- \\Firebird_SQL -->
<g id="node13" class="node"><title>\\Firebird_SQL</title>
<polygon fill="none" stroke="black" points="621,-628 537,-628 537,-592 621,-592 621,-628"/>
<text text-anchor="middle" x="579" y="-606.6" font-family="Times Roman,serif" font-size="11.00">Firebird_SQL</text>
<g id="node16" class="node"><title>\\Firebird_SQL</title>
<polygon fill="none" stroke="black" points="349,-358 265,-358 265,-322 349,-322 349,-358"/>
<text text-anchor="middle" x="307" y="-336.6" font-family="Times Roman,serif" font-size="11.00">Firebird_SQL</text>
</g>
<!-- \\PDO_Firebird_SQL&#45;&gt;\\Firebird_SQL -->
<g id="edge25" class="edge"><title>\\PDO_Firebird_SQL&#45;&gt;\\Firebird_SQL</title>
<path fill="none" stroke="black" d="M541.698,-651.159C534.347,-647.549 527.487,-642.924 522,-637 437.611,-545.882 541.006,-451.51 450,-367 426.069,-344.778 389.848,-338.113 359.848,-336.96"/>
<polygon fill="none" stroke="black" points="359.591,-333.455 349.527,-336.766 359.459,-340.454 359.591,-333.455"/>
</g>
<!-- \\MySQL_SQL -->
<g id="node15" class="node"><title>\\MySQL_SQL</title>
<polygon fill="none" stroke="black" points="348,-520 266,-520 266,-484 348,-484 348,-520"/>
<text text-anchor="middle" x="307" y="-498.6" font-family="Times Roman,serif" font-size="11.00">MySQL_SQL</text>
</g>
<!-- \\MySQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge27" class="edge"><title>\\MySQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M265.885,-497.233C236.897,-493.153 197.439,-486.136 164,-475 140.02,-467.014 114.607,-454.81 94.2547,-444.023"/>
<polygon fill="none" stroke="black" points="95.7466,-440.852 85.2833,-439.187 92.425,-447.013 95.7466,-440.852"/>
</g>
<!-- \\Firebird_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge23" class="edge"><title>\\Firebird_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M536.228,-621.865C480.454,-637.336 383.531,-664.222 328.428,-679.508"/>
<polygon fill="none" stroke="black" points="327.346,-676.176 318.645,-682.222 329.217,-682.921 327.346,-676.176"/>
<g id="edge29" class="edge"><title>\\Firebird_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M264.317,-344.989C235.485,-349.1 196.84,-356.063 164,-367 140.02,-374.986 114.607,-387.19 94.2547,-397.977"/>
<polygon fill="none" stroke="black" points="92.425,-394.987 85.2833,-402.813 95.7466,-401.148 92.425,-394.987"/>
</g>
<!-- \\SQLite -->
<g id="node14" class="node"><title>\\SQLite</title>
<polygon fill="none" stroke="black" points="606,-466 552,-466 552,-430 606,-430 606,-466"/>
<text text-anchor="middle" x="579" y="-444.6" font-family="Times Roman,serif" font-size="11.00">SQLite</text>
<g id="node17" class="node"><title>\\SQLite</title>
<polygon fill="none" stroke="black" points="626,-412 572,-412 572,-376 626,-376 626,-412"/>
<text text-anchor="middle" x="599" y="-390.6" font-family="Times Roman,serif" font-size="11.00">SQLite</text>
</g>
<!-- \\SQLite&#45;&gt;\\DB_PDO -->
<g id="edge25" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M551.792,-450.516C502.406,-455.082 397.407,-464.791 335.496,-470.516"/>
<polygon fill="none" stroke="black" points="334.838,-467.062 325.203,-471.468 335.482,-474.032 334.838,-467.062"/>
<g id="edge31" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M571.779,-386.687C556.645,-382.078 537.746,-375.406 522,-367 486.714,-348.162 486.604,-329.13 450,-313 420.04,-299.798 383.77,-293.043 355.255,-289.591"/>
<polygon fill="none" stroke="black" points="355.452,-286.092 345.126,-288.463 354.677,-293.049 355.452,-286.092"/>
</g>
<!-- \\SQLite_SQL -->
<g id="node15" class="node"><title>\\SQLite_SQL</title>
<polygon fill="none" stroke="black" points="619,-790 539,-790 539,-754 619,-754 619,-790"/>
<text text-anchor="middle" x="579" y="-768.6" font-family="Times Roman,serif" font-size="11.00">SQLite_SQL</text>
<g id="node18" class="node"><title>\\SQLite_SQL</title>
<polygon fill="none" stroke="black" points="347,-466 267,-466 267,-430 347,-430 347,-466"/>
<text text-anchor="middle" x="307" y="-444.6" font-family="Times Roman,serif" font-size="11.00">SQLite_SQL</text>
</g>
<!-- \\SQLite_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge27" class="edge"><title>\\SQLite_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M538.705,-760.822C483.474,-745.501 384.742,-718.113 328.755,-702.583"/>
<polygon fill="none" stroke="black" points="329.39,-699.127 318.819,-699.826 327.519,-705.872 329.39,-699.127"/>
<g id="edge33" class="edge"><title>\\SQLite_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M266.911,-443.722C220.148,-438.731 143.207,-430.52 95.7453,-425.455"/>
<polygon fill="none" stroke="black" points="95.8232,-421.944 85.5082,-424.363 95.0803,-428.904 95.8232,-421.944"/>
</g>
<!-- \\PgSQL -->
<g id="node16" class="node"><title>\\PgSQL</title>
<polygon fill="none" stroke="black" points="606,-412 552,-412 552,-376 606,-376 606,-412"/>
<text text-anchor="middle" x="579" y="-390.6" font-family="Times Roman,serif" font-size="11.00">PgSQL</text>
<g id="node19" class="node"><title>\\PgSQL</title>
<polygon fill="none" stroke="black" points="626,-628 572,-628 572,-592 626,-592 626,-628"/>
<text text-anchor="middle" x="599" y="-606.6" font-family="Times Roman,serif" font-size="11.00">PgSQL</text>
</g>
<!-- \\PgSQL&#45;&gt;\\DB_PDO -->
<g id="edge29" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M551.719,-402.965C536.903,-407.984 518.328,-414.521 502,-421 469.451,-433.915 463.601,-443.14 430,-453 399.089,-462.071 363.26,-467.575 335.198,-470.809"/>
<polygon fill="none" stroke="black" points="334.794,-467.332 325.234,-471.9 335.556,-474.29 334.794,-467.332"/>
<g id="edge35" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M571.993,-606.938C555.391,-603.672 534.899,-596.927 522,-583 437.611,-491.882 541.006,-397.51 450,-313 424.801,-289.599 385.972,-283.45 355.131,-282.822"/>
<polygon fill="none" stroke="black" points="355.016,-279.322 345.01,-282.804 355.004,-286.322 355.016,-279.322"/>
</g>
<!-- \\BadDBDriverException -->
<g id="node17" class="node"><title>\\BadDBDriverException</title>
<polygon fill="none" stroke="black" points="650,-304 508,-304 508,-268 650,-268 650,-304"/>
<text text-anchor="middle" x="579" y="-282.6" font-family="Times Roman,serif" font-size="11.00">BadDBDriverException</text>
<g id="node20" class="node"><title>\\BadDBDriverException</title>
<polygon fill="none" stroke="black" points="670,-304 528,-304 528,-268 670,-268 670,-304"/>
<text text-anchor="middle" x="599" y="-282.6" font-family="Times Roman,serif" font-size="11.00">BadDBDriverException</text>
</g>
<!-- \\InvalidArgumentException -->
<g id="node40" class="node"><title>\\InvalidArgumentException</title>
<ellipse fill="none" stroke="black" cx="287" cy="-72" rx="138.86" ry="18"/>
<text text-anchor="middle" x="287" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text>
<g id="node46" class="node"><title>\\InvalidArgumentException</title>
<ellipse fill="none" stroke="black" cx="307" cy="-72" rx="138.86" ry="18"/>
<text text-anchor="middle" x="307" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text>
</g>
<!-- \\BadDBDriverException&#45;&gt;\\InvalidArgumentException -->
<g id="edge31" class="edge"><title>\\BadDBDriverException&#45;&gt;\\InvalidArgumentException</title>
<path fill="none" stroke="black" d="M514.091,-267.872C509.746,-265.293 505.653,-262.353 502,-259 444.551,-206.27 491.254,-147.258 430,-99 423.79,-94.1079 416.963,-90.0083 409.76,-86.5805"/>
<polygon fill="none" stroke="black" points="411.025,-83.3149 400.455,-82.589 408.266,-89.7479 411.025,-83.3149"/>
<g id="edge37" class="edge"><title>\\BadDBDriverException&#45;&gt;\\InvalidArgumentException</title>
<path fill="none" stroke="black" d="M534.091,-267.872C529.746,-265.293 525.653,-262.353 522,-259 464.551,-206.27 511.254,-147.258 450,-99 443.79,-94.1079 436.963,-90.0083 429.76,-86.5805"/>
<polygon fill="none" stroke="black" points="431.025,-83.3149 420.455,-82.589 428.266,-89.7479 431.025,-83.3149"/>
</g>
<!-- \\BadConnectionException -->
<g id="node18" class="node"><title>\\BadConnectionException</title>
<polygon fill="none" stroke="black" points="656,-196 502,-196 502,-160 656,-160 656,-196"/>
<text text-anchor="middle" x="579" y="-174.6" font-family="Times Roman,serif" font-size="11.00">BadConnectionException</text>
<g id="node21" class="node"><title>\\BadConnectionException</title>
<polygon fill="none" stroke="black" points="676,-196 522,-196 522,-160 676,-160 676,-196"/>
<text text-anchor="middle" x="599" y="-174.6" font-family="Times Roman,serif" font-size="11.00">BadConnectionException</text>
</g>
<!-- \\UnexpectedValueException -->
<g id="node42" class="node"><title>\\UnexpectedValueException</title>
<ellipse fill="none" stroke="black" cx="287" cy="-18" rx="142.885" ry="18"/>
<text text-anchor="middle" x="287" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\UnexpectedValueException</text>
<g id="node48" class="node"><title>\\UnexpectedValueException</title>
<ellipse fill="none" stroke="black" cx="307" cy="-18" rx="142.885" ry="18"/>
<text text-anchor="middle" x="307" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\UnexpectedValueException</text>
</g>
<!-- \\BadConnectionException&#45;&gt;\\UnexpectedValueException -->
<g id="edge33" class="edge"><title>\\BadConnectionException&#45;&gt;\\UnexpectedValueException</title>
<path fill="none" stroke="black" d="M564.649,-159.998C540.297,-130.794 487.857,-73.4973 430,-45 420.639,-40.3894 410.577,-36.5637 400.283,-33.3896"/>
<polygon fill="none" stroke="black" points="400.935,-29.9357 390.358,-30.5418 399.005,-36.6642 400.935,-29.9357"/>
<g id="edge39" class="edge"><title>\\BadConnectionException&#45;&gt;\\UnexpectedValueException</title>
<path fill="none" stroke="black" d="M584.649,-159.998C560.297,-130.794 507.857,-73.4973 450,-45 440.639,-40.3894 430.577,-36.5637 420.283,-33.3896"/>
<polygon fill="none" stroke="black" points="420.935,-29.9357 410.358,-30.5418 419.005,-36.6642 420.935,-29.9357"/>
</g>
<!-- \\Query_Parser -->
<g id="node19" class="node"><title>\\Query_Parser</title>
<polygon fill="none" stroke="black" points="624,-250 534,-250 534,-214 624,-214 624,-250"/>
<text text-anchor="middle" x="579" y="-228.6" font-family="Times Roman,serif" font-size="11.00">Query_Parser</text>
<g id="node22" class="node"><title>\\Query_Parser</title>
<polygon fill="none" stroke="black" points="644,-250 554,-250 554,-214 644,-214 644,-250"/>
<text text-anchor="middle" x="599" y="-228.6" font-family="Times Roman,serif" font-size="11.00">Query_Parser</text>
</g>
<!-- \\MySQL -->
<g id="node20" class="node"><title>\\MySQL</title>
<polygon fill="none" stroke="black" points="606,-574 552,-574 552,-538 606,-538 606,-574"/>
<text text-anchor="middle" x="579" y="-552.6" font-family="Times Roman,serif" font-size="11.00">MySQL</text>
<g id="node23" class="node"><title>\\MySQL</title>
<polygon fill="none" stroke="black" points="626,-574 572,-574 572,-538 626,-538 626,-574"/>
<text text-anchor="middle" x="599" y="-552.6" font-family="Times Roman,serif" font-size="11.00">MySQL</text>
</g>
<!-- \\MySQL&#45;&gt;\\DB_PDO -->
<g id="edge35" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M551.266,-548.307C501.506,-534.503 396.52,-505.381 334.905,-488.289"/>
<polygon fill="none" stroke="black" points="335.607,-484.851 325.035,-485.551 333.736,-491.597 335.607,-484.851"/>
<g id="edge41" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M571.166,-552.433C554.878,-548.984 535.02,-542.223 522,-529 451.003,-456.893 526.222,-379.56 450,-313 424.268,-290.53 385.825,-284.264 355.276,-283.353"/>
<polygon fill="none" stroke="black" points="355.29,-279.853 345.249,-283.234 355.207,-286.853 355.29,-279.853"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -90,7 +90,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:06-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -90,7 +90,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -522,7 +522,7 @@ the connection/database</h2>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -233,7 +233,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -339,7 +339,7 @@ the last query executed"><span class="description"></span><pre>$statement_link</
<pre>$conn : resource</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
<div class="subelement argument"><code>NULL</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
@ -349,7 +349,7 @@ the last query executed"><span class="description"></span><pre>$statement_link</
<pre>$statement : object</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
<div class="subelement argument"><code>NULL</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
@ -383,7 +383,7 @@ the last query executed</h2>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -386,7 +386,7 @@ the query</h2>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -262,7 +262,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -65,6 +65,12 @@
<li class="method public "><a href="#method_backup_structure" title="backup_structure() :: Create an SQL backup file for the current database's structure"><span class="description">Create an SQL backup file for the current database's structure</span><pre>backup_structure()</pre></a></li>
<li class="method public "><a href="#method_create_table" title="create_table() :: Convienience public function to generate sql for creating a db table"><span class="description">Convienience public function to generate sql for creating a db table</span><pre>create_table()</pre></a></li>
<li class="method public "><a href="#method_delete_table" title="delete_table() :: Drop the selected table"><span class="description">Drop the selected table</span><pre>delete_table()</pre></a></li>
<li class="method public "><a href="#method_get_system_tables" title="get_system_tables() :: "><span class="description">get_system_tables()
</span><pre>get_system_tables()</pre></a></li>
<li class="method public "><a href="#method_get_tables" title="get_tables() :: "><span class="description">get_tables()
</span><pre>get_tables()</pre></a></li>
<li class="method public "><a href="#method_query" title="query() :: "><span class="description">query()
</span><pre>query()</pre></a></li>
</ul>
</li></ul>
</div>
@ -177,6 +183,69 @@
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a id="method_get_system_tables"></a><div class="element clickable method public method_get_system_tables" data-toggle="collapse" data-target=".method_get_system_tables .collapse" title="public">
<h2>get_system_tables()
</h2>
<pre>get_system_tables() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
<a id="method_get_tables"></a><div class="element clickable method public method_get_tables" data-toggle="collapse" data-target=".method_get_tables .collapse" title="public">
<h2>get_tables()
</h2>
<pre>get_tables() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
<a id="method_query"></a><div class="element clickable method public method_query" data-toggle="collapse" data-target=".method_query .collapse" title="public">
<h2>query()
</h2>
<pre>query() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
</div>
</div>
</div>
@ -185,7 +254,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -157,7 +157,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:06-05:00.<br></footer></div>
generated on 2014-03-17T19:32:01-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -267,7 +267,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -65,6 +65,18 @@
<li class="method public "><a href="#method_backup_structure" title="backup_structure() :: Create an SQL backup file for the current database's structure"><span class="description">Create an SQL backup file for the current database's structure</span><pre>backup_structure()</pre></a></li>
<li class="method public "><a href="#method_create_table" title="create_table() :: Convienience public function for creating a new MySQL table"><span class="description">Convienience public function for creating a new MySQL table</span><pre>create_table()</pre></a></li>
<li class="method public "><a href="#method_delete_table" title="delete_table() :: Convience public function for droping a table"><span class="description">Convience public function for droping a table</span><pre>delete_table()</pre></a></li>
<li class="method public "><a href="#method_driver_query" title="driver_query() :: "><span class="description">driver_query()
</span><pre>driver_query()</pre></a></li>
<li class="method public "><a href="#method_get_dbs" title="get_dbs() :: "><span class="description">get_dbs()
</span><pre>get_dbs()</pre></a></li>
<li class="method public "><a href="#method_get_system_tables" title="get_system_tables() :: "><span class="description">get_system_tables()
</span><pre>get_system_tables()</pre></a></li>
<li class="method public "><a href="#method_get_tables" title="get_tables() :: "><span class="description">get_tables()
</span><pre>get_tables()</pre></a></li>
<li class="method public "><a href="#method_query" title="query() :: "><span class="description">query()
</span><pre>query()</pre></a></li>
<li class="method public "><a href="#method_quote" title="quote() :: "><span class="description">quote()
</span><pre>quote()</pre></a></li>
</ul>
</li></ul>
</div>
@ -173,6 +185,132 @@
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a id="method_driver_query"></a><div class="element clickable method public method_driver_query" data-toggle="collapse" data-target=".method_driver_query .collapse" title="public">
<h2>driver_query()
</h2>
<pre>driver_query() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
<a id="method_get_dbs"></a><div class="element clickable method public method_get_dbs" data-toggle="collapse" data-target=".method_get_dbs .collapse" title="public">
<h2>get_dbs()
</h2>
<pre>get_dbs() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
<a id="method_get_system_tables"></a><div class="element clickable method public method_get_system_tables" data-toggle="collapse" data-target=".method_get_system_tables .collapse" title="public">
<h2>get_system_tables()
</h2>
<pre>get_system_tables() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
<a id="method_get_tables"></a><div class="element clickable method public method_get_tables" data-toggle="collapse" data-target=".method_get_tables .collapse" title="public">
<h2>get_tables()
</h2>
<pre>get_tables() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
<a id="method_query"></a><div class="element clickable method public method_query" data-toggle="collapse" data-target=".method_query .collapse" title="public">
<h2>query()
</h2>
<pre>query() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
<a id="method_quote"></a><div class="element clickable method public method_quote" data-toggle="collapse" data-target=".method_quote .collapse" title="public">
<h2>quote()
</h2>
<pre>quote() : </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>magic</th>
<td></td>
</tr>
<tr>
<th>method</th>
<td></td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code></code></div>
</div></div>
</div>
</div>
</div>
</div>
@ -181,7 +319,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -0,0 +1,183 @@
<!DOCTYPE html><html 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 » \PDO_Firebird</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/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">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></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">
<div class="btn-toolbar">
<div 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>
</div>
<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>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i title="Methods" class="icon-custom icon-method"></i> Methods
<ul>
<li class="method public "><a href="#method___construct" title="__construct() :: Open the link to the database"><span class="description">Open the link to the database</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_insert_batch" title="insert_batch() :: Create sql for batch insert"><span class="description">Create sql for batch insert</span><pre>insert_batch()</pre></a></li>
<li class="method public "><a href="#method_truncate" title="truncate() :: Empty a database table"><span class="description">Empty a database table</span><pre>truncate()</pre></a></li>
</ul>
</li>
<li class="nav-header">
<i title="Properties" class="icon-custom icon-property"></i> Properties
<ul></ul>
</li>
<li class="nav-header protected">» Protected
<ul><li class="property protected "><a href="#property_statement" title="$statement() :: Reference to the last query executed"><span class="description"></span><pre>$statement</pre></a></li></ul>
</li>
</ul>
</div>
<div class="span8">
<a id="\PDO_Firebird"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i title="Classes" class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li class="active">
<span class="divider">\</span><a href="../classes/PDO_Firebird.html">PDO_Firebird</a>
</li>
</ul>
<div class="element class">
<p class="short_description">Firebird Database class</p>
<div class="details">
<div class="long_description">PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.</div>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Drivers.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Drivers</td>
</tr>
</table>
<h3>
<i title="Methods" class="icon-custom icon-method"></i> Methods</h3>
<a id="method___construct"></a><div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse" title="public">
<h2>Open the link to the database</h2>
<pre>__construct(string $dsn, string $username<code> = 'SYSDBA'</code>, string $password<code> = 'masterkey'</code>, array $options<code> = array()</code>) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$dsn</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$username</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$password</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$options</h4>
<code>array</code>
</div>
</div></div>
</div>
<a id="method_insert_batch"></a><div class="element clickable method public method_insert_batch" data-toggle="collapse" data-target=".method_insert_batch .collapse" title="public">
<h2>Create sql for batch insert</h2>
<pre>insert_batch(string $table, array $data<code> = array()</code>) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$data</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a id="method_truncate"></a><div class="element clickable method public method_truncate" data-toggle="collapse" data-target=".method_truncate .collapse" title="public">
<h2>Empty a database table</h2>
<pre>truncate(string $table) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
</div></div>
</div>
<h3>
<i title="Properties" class="icon-custom icon-property"></i> Properties</h3>
<a id="property_statement"> </a><div class="element clickable property protected property_statement" data-toggle="collapse" data-target=".property_statement .collapse" title="protected">
<h2>Reference to the last query executed</h2>
<pre>$statement : object</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></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.2.0
</a> and<br>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -0,0 +1,96 @@
<!DOCTYPE html><html 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 » \PDO_Firebird_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/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">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></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">
<div class="btn-toolbar">
<div 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>
</div>
<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>
</div>
<ul class="side-nav nav nav-list"></ul>
</div>
<div class="span8">
<a id="\PDO_Firebird_SQL"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i title="Classes" class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li class="active">
<span class="divider">\</span><a href="../classes/PDO_Firebird_SQL.html">PDO_Firebird_SQL</a>
</li>
</ul>
<div class="element class">
<p class="short_description">Firebird Specific SQL</p>
<div class="details">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Drivers.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Drivers</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.2.0
</a> and<br>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -0,0 +1,96 @@
<!DOCTYPE html><html 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 » \PDO_Firebird_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/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">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></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">
<div class="btn-toolbar">
<div 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>
</div>
<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>
</div>
<ul class="side-nav nav nav-list"></ul>
</div>
<div class="span8">
<a id="\PDO_Firebird_Util"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i title="Classes" class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li class="active">
<span class="divider">\</span><a href="../classes/PDO_Firebird_Util.html">PDO_Firebird_Util</a>
</li>
</ul>
<div class="element class">
<p class="short_description">Firebird-specific backup, import and creation methods</p>
<div class="details">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Drivers.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Drivers</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.2.0
</a> and<br>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -147,7 +147,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -262,7 +262,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -181,7 +181,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -137,8 +137,10 @@ passed array with key / value pairs</span><pre>where()</pre></a></li>
<i title="Properties" class="icon-custom icon-property"></i> Properties
<ul>
<li class="property public "><a href="#property_conn_name" title="$conn_name() :: "><span class="description"></span><pre>$conn_name</pre></a></li>
<li class="property public "><a href="#property_db" title="$db() :: "><span class="description"></span><pre>$db</pre></a></li>
<li class="property public "><a href="#property_queries" title="$queries() :: "><span class="description"></span><pre>$queries</pre></a></li>
<li class="property public "><a href="#property_sql" title="$sql() :: "><span class="description"></span><pre>$sql</pre></a></li>
<li class="property public "><a href="#property_util" title="$util() :: "><span class="description"></span><pre>$util</pre></a></li>
</ul>
</li>
<li class="nav-header protected">» Protected
@ -152,6 +154,7 @@ passed array with key / value pairs</span><pre>where()</pre></a></li>
<li class="property protected "><a href="#property_offset" title="$offset() :: "><span class="description"></span><pre>$offset</pre></a></li>
<li class="property protected "><a href="#property_order_array" title="$order_array() :: "><span class="description"></span><pre>$order_array</pre></a></li>
<li class="property protected "><a href="#property_order_string" title="$order_string() :: "><span class="description"></span><pre>$order_string</pre></a></li>
<li class="property protected "><a href="#property_parser" title="$parser() :: "><span class="description"></span><pre>$parser</pre></a></li>
<li class="property protected "><a href="#property_query_map" title="$query_map() :: "><span class="description"></span><pre>$query_map</pre></a></li>
<li class="property protected "><a href="#property_select_string" title="$select_string() :: "><span class="description"></span><pre>$select_string</pre></a></li>
<li class="property protected "><a href="#property_set_array_keys" title="$set_array_keys() :: "><span class="description"></span><pre>$set_array_keys</pre></a></li>
@ -1345,6 +1348,16 @@ passed array with key / value pairs</h2>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_db"> </a><div class="element clickable property public property_db" data-toggle="collapse" data-target=".property_db .collapse" title="public">
<h2>$db</h2>
<pre>$db </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_queries"> </a><div class="element clickable property public property_queries" data-toggle="collapse" data-target=".property_queries .collapse" title="public">
<h2>$queries</h2>
<pre>$queries </pre>
@ -1365,6 +1378,16 @@ passed array with key / value pairs</h2>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_util"> </a><div class="element clickable property public property_util" data-toggle="collapse" data-target=".property_util .collapse" title="public">
<h2>$util</h2>
<pre>$util </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_explain"> </a><div class="element clickable property protected property_explain" data-toggle="collapse" data-target=".property_explain .collapse" title="protected">
<h2>$explain</h2>
<pre>$explain </pre>
@ -1455,6 +1478,16 @@ passed array with key / value pairs</h2>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_parser"> </a><div class="element clickable property protected property_parser" data-toggle="collapse" data-target=".property_parser .collapse" title="protected">
<h2>$parser</h2>
<pre>$parser </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_query_map"> </a><div class="element clickable property protected property_query_map" data-toggle="collapse" data-target=".property_query_map .collapse" title="protected">
<h2>$query_map</h2>
<pre>$query_map </pre>
@ -1523,7 +1556,7 @@ passed array with key / value pairs</h2>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -173,7 +173,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:06-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -195,7 +195,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -262,7 +262,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -177,7 +177,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -273,7 +273,7 @@ specified table</h2>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:06-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -992,7 +992,7 @@ passed array with key / value pairs</h2>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -66,7 +66,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:06-05:00.<br></footer></div>
generated on 2014-03-17T19:32:01-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -84,13 +84,16 @@
<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 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.2.0
</a> and<br>
generated on 2014-02-25T13:54:06-05:00.<br></footer></div>
generated on 2014-03-17T19:32:01-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -63,7 +63,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:06-05:00.<br></footer></div>
generated on 2014-03-17T19:32:01-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -73,7 +73,7 @@
</tr>
<tr>
<td>todo</td>
<td>117</td>
<td>120</td>
<td>Implement Backup structure function</td>
</tr>
</table></div>
@ -102,7 +102,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:06-05:00.<br></footer></div>
generated on 2014-03-17T19:32:01-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -77,14 +77,17 @@ with array_map and glob</span><pre>do_include</pre></a></li>
<li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods">Firebird_Result</a></li>
<li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</a></li>
<li><a href="#PDO_Firebird_Util" title="Firebird-specific backup, import and creation methods">PDO_Firebird_Util</a></li>
<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>
<li><a href="#Firebird" title="Firebird Database class">Firebird</a></li>
<li><a href="#MySQL_Util" title="MySQL-specific backup, import and creation methods">MySQL_Util</a></li>
<li><a href="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</a></li>
<li><a href="#PDO_Firebird" title="Firebird Database class">PDO_Firebird</a></li>
<li><a href="#PgSQL_Util" title="Posgres-specific backup, import and creation methods">PgSQL_Util</a></li>
<li><a href="#PgSQL_SQL" title="PostgreSQL specifc SQL">PgSQL_SQL</a></li>
<li><a href="#PDO_Firebird_SQL" title="Firebird Specific SQL">PDO_Firebird_SQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</a></li>
<li><a href="#Firebird_SQL" title="Firebird Specific SQL">Firebird_SQL</a></li>
<li><a href="#SQLite" title="SQLite specific class">SQLite</a></li>
@ -106,7 +109,7 @@ instantiates the specific db driver">Query_Builder</a></li>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -66,7 +66,7 @@
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -63,11 +63,14 @@
<li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods">Firebird_Result</a></li>
<li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</a></li>
<li><a href="#PDO_Firebird_Util" title="Firebird-specific backup, import and creation methods">PDO_Firebird_Util</a></li>
<li><a href="#Firebird" title="Firebird Database class">Firebird</a></li>
<li><a href="#MySQL_Util" title="MySQL-specific backup, import and creation methods">MySQL_Util</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</a></li>
<li><a href="#PDO_Firebird" title="Firebird Database class">PDO_Firebird</a></li>
<li><a href="#PgSQL_Util" title="Posgres-specific backup, import and creation methods">PgSQL_Util</a></li>
<li><a href="#PgSQL_SQL" title="PostgreSQL specifc SQL">PgSQL_SQL</a></li>
<li><a href="#PDO_Firebird_SQL" title="Firebird Specific SQL">PDO_Firebird_SQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</a></li>
<li><a href="#Firebird_SQL" title="Firebird Specific SQL">Firebird_SQL</a></li>
<li><a href="#SQLite" title="SQLite specific class">SQLite</a></li>
@ -136,6 +139,27 @@ data-fetching methods</p>
<div class="details collapse"></div>
<a href="../classes/MySQL_Util.html" class="more">« More »</a>
</div>
<div id="PDO_Firebird" class="element ajax clickable class">
<h1>PDO_Firebird<a href="../classes/PDO_Firebird.html"></a>
</h1>
<p class="short_description">Firebird Database class</p>
<div class="details collapse"></div>
<a href="../classes/PDO_Firebird.html" class="more">« More »</a>
</div>
<div id="PDO_Firebird_SQL" class="element ajax clickable class">
<h1>PDO_Firebird_SQL<a href="../classes/PDO_Firebird_SQL.html"></a>
</h1>
<p class="short_description">Firebird Specific SQL</p>
<div class="details collapse"></div>
<a href="../classes/PDO_Firebird_SQL.html" class="more">« More »</a>
</div>
<div id="PDO_Firebird_Util" class="element ajax clickable class">
<h1>PDO_Firebird_Util<a href="../classes/PDO_Firebird_Util.html"></a>
</h1>
<p class="short_description">Firebird-specific backup, import and creation methods</p>
<div class="details collapse"></div>
<a href="../classes/PDO_Firebird_Util.html" class="more">« More »</a>
</div>
<div id="PgSQL" class="element ajax clickable class">
<h1>PgSQL<a href="../classes/PgSQL.html"></a>
</h1>
@ -185,7 +209,7 @@ data-fetching methods</p>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -147,7 +147,7 @@ instantiates the specific db driver</p>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -251,6 +251,27 @@ data-fetching methods</p>
<div class="details collapse"></div>
<a href="../classes/MySQL_Util.html" class="more">« More »</a>
</div>
<div id="PDO_Firebird" class="element ajax clickable class">
<h1>PDO_Firebird<a href="../classes/PDO_Firebird.html"></a>
</h1>
<p class="short_description">Firebird Database class</p>
<div class="details collapse"></div>
<a href="../classes/PDO_Firebird.html" class="more">« More »</a>
</div>
<div id="PDO_Firebird_SQL" class="element ajax clickable class">
<h1>PDO_Firebird_SQL<a href="../classes/PDO_Firebird_SQL.html"></a>
</h1>
<p class="short_description">Firebird Specific SQL</p>
<div class="details collapse"></div>
<a href="../classes/PDO_Firebird_SQL.html" class="more">« More »</a>
</div>
<div id="PDO_Firebird_Util" class="element ajax clickable class">
<h1>PDO_Firebird_Util<a href="../classes/PDO_Firebird_Util.html"></a>
</h1>
<p class="short_description">Firebird-specific backup, import and creation methods</p>
<div class="details collapse"></div>
<a href="../classes/PDO_Firebird_Util.html" class="more">« More »</a>
</div>
<div id="PgSQL" class="element ajax clickable class">
<h1>PgSQL<a href="../classes/PgSQL.html"></a>
</h1>
@ -368,7 +389,7 @@ instantiates the specific db driver</p>
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.2.0
</a> and<br>
generated on 2014-02-25T13:54:05-05:00.<br></footer></div>
generated on 2014-03-17T19:32:00-04:00.<br></footer></div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,7 @@ class Firebird extends DB_PDO {
*
* @var object
*/
protected $statement;
protected $statement = NULL;
/**
* Reference to the resource returned by
@ -50,7 +50,7 @@ class Firebird extends DB_PDO {
*
* @var resource
*/
protected $conn;
protected $conn = NULL;
/**
* Open the link to the database
@ -72,7 +72,7 @@ class Firebird extends DB_PDO {
}
// Throw an exception to make this match other pdo classes
if ( ! is_resource($this->conn)) throw new PDOException(fbird_errmsg());
if ( ! is_resource($this->conn)) throw new PDOException(fbird_errmsg(), fbird_errcode());
// Load these classes here because this
// driver does not call the constructor
@ -121,7 +121,7 @@ class Firebird extends DB_PDO {
// Throw the error as a exception
$err_string = fbird_errmsg() . "Last query:" . $this->last_query;
if ($this->statement_link === FALSE) throw new PDOException($err_string);
if ($this->statement_link === FALSE) throw new PDOException($err_string, fbird_errcode());
$this->statement = new FireBird_Result($this->statement_link);
@ -143,7 +143,7 @@ class Firebird extends DB_PDO {
$this->statement_link = fbird_prepare($this->conn, $query);
// Throw the error as an exception
if ($this->statement_link === FALSE) throw new PDOException(fbird_errmsg());
if ($this->statement_link === FALSE) throw new PDOException(fbird_errmsg(), fbird_errcode());
$this->statement = new FireBird_Result($this->statement_link);

View File

@ -18,6 +18,9 @@
*
* @package Query
* @subpackage Drivers
* @method array get_system_tables()
* @method array get_tables()
* @method object query(string $sql)
*/
class Firebird_Util extends DB_Util {
@ -77,16 +80,16 @@ class Firebird_Util extends DB_Util {
$columns = array();
foreach($column_array as $n => $props)
{
$str = '"'.$n.'" ';
$str .= (isset($props['type'])) ? "{$props['type']} " : "";
$str .= (isset($props['constraint'])) ? "{$props['constraint']} " : "";
$str = '"'.$n.'"';
$str .= (isset($props['type'])) ? " {$props['type']}" : "";
$str .= (isset($props['constraint'])) ? " {$props['constraint']}" : "";
$columns[] = $str;
}
// Generate the sql for the creation of the table
$sql = 'CREATE TABLE "'.$name.'" (';
$sql .= implode(',', $columns);
$sql .= implode(', ', $columns);
$sql .= ')';
return $sql;
@ -156,8 +159,6 @@ class Firebird_Util extends DB_Util {
// Don't add to the file if the table is empty
if (count($obj_res) < 1) continue;
$res = NULL;
// Nab the column names by getting the keys of the first row
$columns = @array_keys($obj_res[0]);
@ -183,8 +184,6 @@ class Firebird_Util extends DB_Util {
$insert_rows[] = $row_string;
}
$obj_res = NULL;
$output_sql .= "\n\nSET TRANSACTION;\n".implode("\n", $insert_rows)."\nCOMMIT;";
}

View File

@ -18,6 +18,12 @@
*
* @package Query
* @subpackage Drivers
* @method array get_dbs()
* @method mixed driver_query(string $sql)
* @method array get_system_tables()
* @method array get_tables()
* @method mixed query(string $sql)
* @method string quote(string $str)
*/
class MySQL_Util extends DB_Util {

View File

@ -103,14 +103,6 @@ class FirebirdTest extends DBtest {
$this->assertTrue($only_system);
}
// --------------------------------------------------------------------------
public function testCreateTransaction()
{
$res = $this->db->beginTransaction();
$this->assertTrue($res);
}
// --------------------------------------------------------------------------
// ! Create / Delete Tables
// --------------------------------------------------------------------------

View File

@ -126,8 +126,6 @@ class PgTest extends DBTest {
public function testPreparedStatements()
{
if (empty($this->db)) return;
$sql = <<<SQL
INSERT INTO "create_test" ("id", "key", "val")
VALUES (?,?,?)