100% coverage of Query Builder class, remove some undocumented/unused code.

This commit is contained in:
Timothy Warren 2013-12-09 19:46:34 -05:00
parent 7397b95e8b
commit 4678e289aa
40 changed files with 2704 additions and 2711 deletions

View File

@ -10,6 +10,5 @@ before_script:
- sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres" - sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
- sh -c "psql -c 'create database test;' -U postgres" - sh -c "psql -c 'create database test;' -U postgres"
- sh -c "mysql -e 'create database IF NOT EXISTS test;'" - sh -c "mysql -e 'create database IF NOT EXISTS test;'"
- phpenv config-add ./tests/php_test.ini
script: php ./tests/index.php script: php ./tests/index.php

View File

@ -145,25 +145,6 @@ abstract class DB_PDO extends PDO {
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
/**
* Retreives the data from a select query
*
* @param PDOStatement $statement
* @return array
*/
public function get_query_data($statement)
{
$this->statement =& $statement;
// Execute the query
$this->statement->execute();
// Return the data array fetched
return $this->statement->fetchAll(PDO::FETCH_ASSOC);
}
// -------------------------------------------------------------------------
/** /**
* Returns number of rows affected by an INSERT, UPDATE, DELETE type query * Returns number of rows affected by an INSERT, UPDATE, DELETE type query
* *
@ -490,12 +471,6 @@ abstract class DB_PDO extends PDO {
return NULL; return NULL;
} }
// Return predefined data
if (is_array($sql))
{
return $sql;
}
$res = $this->query($sql); $res = $this->query($sql);
$flag = ($filtered_index) ? PDO::FETCH_NUM : PDO::FETCH_ASSOC; $flag = ($filtered_index) ? PDO::FETCH_NUM : PDO::FETCH_ASSOC;

View File

@ -20,247 +20,247 @@
<path fill="none" stroke="gray" d="M230,-164C230,-158 236,-152 242,-152"/> <path fill="none" stroke="gray" d="M230,-164C230,-158 236,-152 242,-152"/>
<text text-anchor="middle" x="447" y="-1237.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">\</text> <text text-anchor="middle" x="447" y="-1237.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">\</text>
</g> </g>
<!-- \\Query_Parser -->
<g id="node2" class="node"><title>\\Query_Parser</title>
<polygon fill="none" stroke="black" points="624,-1222 534,-1222 534,-1186 624,-1186 624,-1222"/>
<text text-anchor="middle" x="579" y="-1200.6" font-family="Times Roman,serif" font-size="11.00">Query_Parser</text>
</g>
<!-- \\DB_PDO --> <!-- \\DB_PDO -->
<g id="node3" class="node"><title>\\DB_PDO</title> <g id="node2" class="node"><title>\\DB_PDO</title>
<polygon fill="none" stroke="black" points="325,-466 249,-466 249,-430 325,-430 325,-466"/> <polygon fill="none" stroke="black" points="325,-520 249,-520 249,-484 325,-484 325,-520"/>
<text text-anchor="start" x="257.5" y="-453.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text> <text text-anchor="start" x="257.5" y="-507.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="264" y="-440.233" font-family="Times Roman,serif" font-size="11.00">DB_PDO</text> <text text-anchor="start" x="264" y="-494.233" font-family="Times Roman,serif" font-size="11.00">DB_PDO</text>
</g> </g>
<!-- \\PDO --> <!-- \\PDO -->
<g id="node27" class="node"><title>\\PDO</title> <g id="node27" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="36" cy="-448" rx="35.0527" ry="18"/> <ellipse fill="none" stroke="black" cx="36" cy="-502" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="36" y="-443.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text> <text text-anchor="middle" x="36" y="-497.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
</g> </g>
<!-- \\DB_PDO&#45;&gt;\\PDO --> <!-- \\DB_PDO&#45;&gt;\\PDO -->
<g id="edge3" class="edge"><title>\\DB_PDO&#45;&gt;\\PDO</title> <g id="edge3" class="edge"><title>\\DB_PDO&#45;&gt;\\PDO</title>
<path fill="none" stroke="black" d="M248.879,-448C204.032,-448 129.635,-448 81.7269,-448"/> <path fill="none" stroke="black" d="M248.879,-502C204.032,-502 129.635,-502 81.7269,-502"/>
<polygon fill="none" stroke="black" points="81.6312,-444.5 71.6312,-448 81.6311,-451.5 81.6312,-444.5"/> <polygon fill="none" stroke="black" points="81.6312,-498.5 71.6312,-502 81.6311,-505.5 81.6312,-498.5"/>
</g> </g>
<!-- \\Query_Builder --> <!-- \\Firebird_Result -->
<g id="node4" class="node"><title>\\Query_Builder</title> <g id="node3" class="node"><title>\\Firebird_Result</title>
<polygon fill="none" stroke="black" points="626,-1168 532,-1168 532,-1132 626,-1132 626,-1168"/> <polygon fill="none" stroke="black" points="627,-358 531,-358 531,-322 627,-322 627,-358"/>
<text text-anchor="middle" x="579" y="-1146.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder</text> <text text-anchor="middle" x="579" y="-336.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Result</text>
</g> </g>
<!-- \\iQuery_Builder --> <!-- \\PDOStatement -->
<g id="node25" class="node"><title>\\iQuery_Builder</title> <g id="node29" class="node"><title>\\PDOStatement</title>
<polygon fill="none" stroke="black" points="336,-1168 238,-1168 238,-1132 336,-1132 336,-1168"/> <ellipse fill="none" stroke="black" cx="287" cy="-126" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="287" y="-1146.6" font-family="Times Roman,serif" font-size="11.00">iQuery_Builder</text> <text text-anchor="middle" x="287" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g> </g>
<!-- \\Query_Builder&#45;&gt;\\iQuery_Builder --> <!-- \\Firebird_Result&#45;&gt;\\PDOStatement -->
<g id="edge5" class="edge"><title>\\Query_Builder&#45;&gt;\\iQuery_Builder</title> <g id="edge5" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M531.435,-1150C480.879,-1150 400.848,-1150 346.235,-1150"/> <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="346.007,-1146.5 336.007,-1150 346.007,-1153.5 346.007,-1146.5"/> <polygon fill="none" stroke="black" points="382.497,-123.581 372.017,-125.14 381.181,-130.457 382.497,-123.581"/>
</g>
<!-- \\Firebird_Util -->
<g id="node4" class="node"><title>\\Firebird_Util</title>
<polygon fill="none" stroke="black" points="620,-1168 538,-1168 538,-1132 620,-1132 620,-1168"/>
<text text-anchor="middle" x="579" y="-1146.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Util</text>
</g> </g>
<!-- \\DB_Util --> <!-- \\DB_Util -->
<g id="node5" class="node"><title>\\DB_Util</title> <g id="node10" class="node"><title>\\DB_Util</title>
<polygon fill="none" stroke="black" points="325,-1006 249,-1006 249,-970 325,-970 325,-1006"/> <polygon fill="none" stroke="black" points="325,-1060 249,-1060 249,-1024 325,-1024 325,-1060"/>
<text text-anchor="start" x="257.5" y="-993.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text> <text text-anchor="start" x="257.5" y="-1047.43" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="266.5" y="-980.233" font-family="Times Roman,serif" font-size="11.00">DB_Util</text> <text text-anchor="start" x="266.5" y="-1034.23" font-family="Times Roman,serif" font-size="11.00">DB_Util</text>
</g> </g>
<!-- \\BadDBDriverException --> <!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="node6" class="node"><title>\\BadDBDriverException</title> <g id="edge7" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title>
<polygon fill="none" stroke="black" points="650,-304 508,-304 508,-268 650,-268 650,-304"/> <path fill="none" stroke="black" d="M537.778,-1135.74C526.185,-1131.68 513.582,-1127.21 502,-1123 444.323,-1102.03 378.311,-1077 334.819,-1060.38"/>
<text text-anchor="middle" x="579" y="-282.6" font-family="Times Roman,serif" font-size="11.00">BadDBDriverException</text> <polygon fill="none" stroke="black" points="335.941,-1057.06 325.351,-1056.75 333.439,-1063.6 335.941,-1057.06"/>
</g> </g>
<!-- \\InvalidArgumentException --> <!-- \\Query_Builder -->
<g id="node30" class="node"><title>\\InvalidArgumentException</title> <g id="node5" class="node"><title>\\Query_Builder</title>
<ellipse fill="none" stroke="black" cx="287" cy="-126" rx="138.86" ry="18"/> <polygon fill="none" stroke="black" points="626,-1222 532,-1222 532,-1186 626,-1186 626,-1222"/>
<text text-anchor="middle" x="287" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text> <text text-anchor="middle" x="579" y="-1200.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder</text>
</g> </g>
<!-- \\BadDBDriverException&#45;&gt;\\InvalidArgumentException --> <!-- \\iQuery_Builder -->
<g id="edge7" class="edge"><title>\\BadDBDriverException&#45;&gt;\\InvalidArgumentException</title> <g id="node24" class="node"><title>\\iQuery_Builder</title>
<path fill="none" stroke="black" d="M515.792,-267.846C510.904,-265.262 506.232,-262.327 502,-259 455.775,-222.654 479.379,-179.93 430,-148 425,-144.767 419.701,-141.944 414.199,-139.483"/> <polygon fill="none" stroke="black" points="336,-1222 238,-1222 238,-1186 336,-1186 336,-1222"/>
<polygon fill="none" stroke="black" points="415.351,-136.174 404.768,-135.674 412.73,-142.664 415.351,-136.174"/> <text text-anchor="middle" x="287" y="-1200.6" font-family="Times Roman,serif" font-size="11.00">iQuery_Builder</text>
</g> </g>
<!-- \\BadConnectionException --> <!-- \\Query_Builder&#45;&gt;\\iQuery_Builder -->
<g id="node7" class="node"><title>\\BadConnectionException</title> <g id="edge9" class="edge"><title>\\Query_Builder&#45;&gt;\\iQuery_Builder</title>
<polygon fill="none" stroke="black" points="656,-250 502,-250 502,-214 656,-214 656,-250"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M531.435,-1204C480.879,-1204 400.848,-1204 346.235,-1204"/>
<text text-anchor="middle" x="579" y="-228.6" font-family="Times Roman,serif" font-size="11.00">BadConnectionException</text> <polygon fill="none" stroke="black" points="346.007,-1200.5 336.007,-1204 346.007,-1207.5 346.007,-1200.5"/>
</g> </g>
<!-- \\UnexpectedValueException --> <!-- \\Firebird -->
<g id="node32" class="node"><title>\\UnexpectedValueException</title> <g id="node6" class="node"><title>\\Firebird</title>
<ellipse fill="none" stroke="black" cx="287" cy="-72" rx="142.885" ry="18"/> <polygon fill="none" stroke="black" points="608,-628 550,-628 550,-592 608,-592 608,-628"/>
<text text-anchor="middle" x="287" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\UnexpectedValueException</text> <text text-anchor="middle" x="579" y="-606.6" font-family="Times Roman,serif" font-size="11.00">Firebird</text>
</g> </g>
<!-- \\BadConnectionException&#45;&gt;\\UnexpectedValueException --> <!-- \\Firebird&#45;&gt;\\DB_PDO -->
<g id="edge9" class="edge"><title>\\BadConnectionException&#45;&gt;\\UnexpectedValueException</title> <g id="edge11" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M516.256,-213.95C511.211,-211.337 506.379,-208.369 502,-205 456.859,-170.276 477.626,-130.229 430,-99 422.863,-94.32 415.119,-90.405 407.053,-87.1346"/> <path fill="none" stroke="black" d="M549.692,-599.901C535.297,-594.895 517.71,-588.713 502,-583 444.323,-562.026 378.311,-537.004 334.819,-520.376"/>
<polygon fill="none" stroke="black" points="408.047,-83.7705 397.454,-83.5843 405.619,-90.3358 408.047,-83.7705"/> <polygon fill="none" stroke="black" points="335.941,-517.058 325.351,-516.753 333.439,-523.596 335.941,-517.058"/>
</g> </g>
<!-- \\PgSQL_SQL --> <!-- \\MySQL_Util -->
<g id="node8" class="node"><title>\\PgSQL_SQL</title> <g id="node7" class="node"><title>\\MySQL_Util</title>
<polygon fill="none" stroke="black" points="619,-844 539,-844 539,-808 619,-808 619,-844"/> <polygon fill="none" stroke="black" points="618,-1114 540,-1114 540,-1078 618,-1078 618,-1114"/>
<text text-anchor="middle" x="579" y="-822.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_SQL</text> <text text-anchor="middle" x="579" y="-1092.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,-1088.66C486.212,-1078.84 392.123,-1061.44 335.065,-1050.89"/>
<polygon fill="none" stroke="black" points="335.675,-1047.44 325.205,-1049.07 334.402,-1054.33 335.675,-1047.44"/>
</g>
<!-- \\ODBC_SQL -->
<g id="node8" class="node"><title>\\ODBC_SQL</title>
<polygon fill="none" stroke="black" points="617,-898 541,-898 541,-862 617,-862 617,-898"/>
<text text-anchor="middle" x="579" y="-876.6" font-family="Times Roman,serif" font-size="11.00">ODBC_SQL</text>
</g> </g>
<!-- \\iDB_SQL --> <!-- \\iDB_SQL -->
<g id="node24" class="node"><title>\\iDB_SQL</title> <g id="node25" class="node"><title>\\iDB_SQL</title>
<polygon fill="none" stroke="black" points="318,-736 256,-736 256,-700 318,-700 318,-736"/> <polygon fill="none" stroke="black" points="318,-790 256,-790 256,-754 318,-754 318,-790"/>
<text text-anchor="middle" x="287" y="-714.6" font-family="Times Roman,serif" font-size="11.00">iDB_SQL</text> <text text-anchor="middle" x="287" y="-768.6" font-family="Times Roman,serif" font-size="11.00">iDB_SQL</text>
</g> </g>
<!-- \\PgSQL_SQL&#45;&gt;\\iDB_SQL --> <!-- \\ODBC_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge11" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\iDB_SQL</title> <g id="edge15" class="edge"><title>\\ODBC_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M538.973,-812.161C527.056,-807.988 513.982,-803.357 502,-799 441.314,-776.932 371.402,-750.382 328.201,-733.844"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M540.948,-866.852C528.512,-862.503 514.647,-857.599 502,-853 441.314,-830.932 371.402,-804.382 328.201,-787.844"/>
<polygon fill="none" stroke="black" points="329.199,-730.479 318.609,-730.169 326.694,-737.015 329.199,-730.479"/> <polygon fill="none" stroke="black" points="329.199,-784.479 318.609,-784.169 326.694,-791.015 329.199,-784.479"/>
</g>
<!-- \\PgSQL_Util -->
<g id="node9" class="node"><title>\\PgSQL_Util</title>
<polygon fill="none" stroke="black" points="617,-1114 541,-1114 541,-1078 617,-1078 617,-1114"/>
<text text-anchor="middle" x="579" y="-1092.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_Util</text>
</g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge13" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M540.948,-1082.85C528.512,-1078.5 514.647,-1073.6 502,-1069 444.323,-1048.03 378.311,-1023 334.819,-1006.38"/>
<polygon fill="none" stroke="black" points="335.941,-1003.06 325.351,-1002.75 333.439,-1009.6 335.941,-1003.06"/>
</g>
<!-- \\PgSQL -->
<g id="node10" class="node"><title>\\PgSQL</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">PgSQL</text>
</g>
<!-- \\PgSQL&#45;&gt;\\DB_PDO -->
<g id="edge15" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M551.863,-546.656C537.09,-541.525 518.508,-535.003 502,-529 444.323,-508.026 378.311,-483.004 334.819,-466.376"/>
<polygon fill="none" stroke="black" points="335.941,-463.058 325.351,-462.753 333.439,-469.596 335.941,-463.058"/>
</g> </g>
<!-- \\ODBC_Util --> <!-- \\ODBC_Util -->
<g id="node11" class="node"><title>\\ODBC_Util</title> <g id="node9" class="node"><title>\\ODBC_Util</title>
<polygon fill="none" stroke="black" points="615,-1060 543,-1060 543,-1024 615,-1024 615,-1060"/> <polygon fill="none" stroke="black" points="615,-1060 543,-1060 543,-1024 615,-1024 615,-1060"/>
<text text-anchor="middle" x="579" y="-1038.6" font-family="Times Roman,serif" font-size="11.00">ODBC_Util</text> <text text-anchor="middle" x="579" y="-1038.6" font-family="Times Roman,serif" font-size="11.00">ODBC_Util</text>
</g> </g>
<!-- \\ODBC_Util&#45;&gt;\\DB_Util --> <!-- \\ODBC_Util&#45;&gt;\\DB_Util -->
<g id="edge17" class="edge"><title>\\ODBC_Util&#45;&gt;\\DB_Util</title> <g id="edge17" class="edge"><title>\\ODBC_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M542.314,-1035.22C489.861,-1025.52 393.362,-1007.67 335.2,-996.914"/> <path fill="none" stroke="black" d="M542.314,-1042C489.861,-1042 393.362,-1042 335.2,-1042"/>
<polygon fill="none" stroke="black" points="335.626,-993.433 325.156,-995.056 334.353,-1000.32 335.626,-993.433"/> <polygon fill="none" stroke="black" points="335.156,-1038.5 325.156,-1042 335.156,-1045.5 335.156,-1038.5"/>
</g>
<!-- \\ODBC_SQL -->
<g id="node12" class="node"><title>\\ODBC_SQL</title>
<polygon fill="none" stroke="black" points="617,-790 541,-790 541,-754 617,-754 617,-790"/>
<text text-anchor="middle" x="579" y="-768.6" font-family="Times Roman,serif" font-size="11.00">ODBC_SQL</text>
</g>
<!-- \\ODBC_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge19" class="edge"><title>\\ODBC_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M540.826,-764.94C486.106,-754.821 385.729,-736.258 328.978,-725.763"/>
<polygon fill="none" stroke="black" points="329.379,-722.278 318.91,-723.901 328.106,-729.161 329.379,-722.278"/>
</g>
<!-- \\ODBC -->
<g id="node13" class="node"><title>\\ODBC</title>
<polygon fill="none" stroke="black" points="606,-520 552,-520 552,-484 606,-484 606,-520"/>
<text text-anchor="middle" x="579" y="-498.6" font-family="Times Roman,serif" font-size="11.00">ODBC</text>
</g>
<!-- \\ODBC&#45;&gt;\\DB_PDO -->
<g id="edge21" class="edge"><title>\\ODBC&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M551.792,-496.968C502.303,-487.816 396.973,-468.338 335.113,-456.898"/>
<polygon fill="none" stroke="black" points="335.672,-453.442 325.203,-455.065 334.399,-460.325 335.672,-453.442"/>
</g>
<!-- \\MySQL_Util -->
<g id="node14" class="node"><title>\\MySQL_Util</title>
<polygon fill="none" stroke="black" points="618,-1006 540,-1006 540,-970 618,-970 618,-1006"/>
<text text-anchor="middle" x="579" y="-984.6" font-family="Times Roman,serif" font-size="11.00">MySQL_Util</text>
</g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge23" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M539.316,-988C486.322,-988 392.513,-988 335.42,-988"/>
<polygon fill="none" stroke="black" points="335.205,-984.5 325.205,-988 335.205,-991.5 335.205,-984.5"/>
</g>
<!-- \\MySQL -->
<g id="node15" class="node"><title>\\MySQL</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">MySQL</text>
</g>
<!-- \\MySQL&#45;&gt;\\DB_PDO -->
<g id="edge25" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M551.266,-448C501.608,-448 396.953,-448 335.287,-448"/>
<polygon fill="none" stroke="black" points="335.035,-444.5 325.035,-448 335.035,-451.5 335.035,-444.5"/>
</g>
<!-- \\MySQL_SQL -->
<g id="node16" class="node"><title>\\MySQL_SQL</title>
<polygon fill="none" stroke="black" points="620,-736 538,-736 538,-700 620,-700 620,-736"/>
<text text-anchor="middle" x="579" y="-714.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="M537.783,-718C482.4,-718 384.499,-718 328.813,-718"/>
<polygon fill="none" stroke="black" points="328.595,-714.5 318.595,-718 328.595,-721.5 328.595,-714.5"/>
</g> </g>
<!-- \\SQLite_Util --> <!-- \\SQLite_Util -->
<g id="node17" class="node"><title>\\SQLite_Util</title> <g id="node11" class="node"><title>\\SQLite_Util</title>
<polygon fill="none" stroke="black" points="617,-952 541,-952 541,-916 617,-916 617,-952"/> <polygon fill="none" stroke="black" points="617,-1006 541,-1006 541,-970 617,-970 617,-1006"/>
<text text-anchor="middle" x="579" y="-930.6" font-family="Times Roman,serif" font-size="11.00">SQLite_Util</text> <text text-anchor="middle" x="579" y="-984.6" font-family="Times Roman,serif" font-size="11.00">SQLite_Util</text>
</g> </g>
<!-- \\SQLite_Util&#45;&gt;\\DB_Util --> <!-- \\SQLite_Util&#45;&gt;\\DB_Util -->
<g id="edge29" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title> <g id="edge19" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M540.225,-941.171C487.246,-950.968 392.288,-968.529 334.918,-979.139"/> <path fill="none" stroke="black" d="M540.225,-995.171C487.246,-1004.97 392.288,-1022.53 334.918,-1033.14"/>
<polygon fill="none" stroke="black" points="334.205,-975.711 325.008,-980.971 335.478,-982.594 334.205,-975.711"/> <polygon fill="none" stroke="black" points="334.205,-1029.71 325.008,-1034.97 335.478,-1036.59 334.205,-1029.71"/>
</g>
<!-- \\PgSQL_Util -->
<g id="node12" class="node"><title>\\PgSQL_Util</title>
<polygon fill="none" stroke="black" points="617,-952 541,-952 541,-916 617,-916 617,-952"/>
<text text-anchor="middle" x="579" y="-930.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_Util</text>
</g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge21" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M540.948,-947.148C528.512,-951.497 514.647,-956.401 502,-961 444.323,-981.974 378.311,-1007 334.819,-1023.62"/>
<polygon fill="none" stroke="black" points="333.439,-1020.4 325.351,-1027.25 335.941,-1026.94 333.439,-1020.4"/>
</g>
<!-- \\PgSQL_SQL -->
<g id="node13" class="node"><title>\\PgSQL_SQL</title>
<polygon fill="none" stroke="black" points="619,-844 539,-844 539,-808 619,-808 619,-844"/>
<text text-anchor="middle" x="579" y="-822.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_SQL</text>
</g>
<!-- \\PgSQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge23" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M538.705,-818.548C483.474,-808.334 384.742,-790.075 328.755,-779.722"/>
<polygon fill="none" stroke="black" points="329.288,-776.261 318.819,-777.884 328.015,-783.144 329.288,-776.261"/>
</g>
<!-- \\MySQL_SQL -->
<g id="node14" class="node"><title>\\MySQL_SQL</title>
<polygon fill="none" stroke="black" points="620,-790 538,-790 538,-754 620,-754 620,-790"/>
<text text-anchor="middle" x="579" y="-768.6" font-family="Times Roman,serif" font-size="11.00">MySQL_SQL</text>
</g>
<!-- \\MySQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge25" class="edge"><title>\\MySQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M537.783,-772C482.4,-772 384.499,-772 328.813,-772"/>
<polygon fill="none" stroke="black" points="328.595,-768.5 318.595,-772 328.595,-775.5 328.595,-768.5"/>
</g>
<!-- \\Firebird_SQL -->
<g id="node15" class="node"><title>\\Firebird_SQL</title>
<polygon fill="none" stroke="black" points="621,-736 537,-736 537,-700 621,-700 621,-736"/>
<text text-anchor="middle" x="579" y="-714.6" font-family="Times Roman,serif" font-size="11.00">Firebird_SQL</text>
</g>
<!-- \\Firebird_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge27" class="edge"><title>\\Firebird_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M536.228,-725.91C480.57,-736.203 383.933,-754.074 328.771,-764.275"/>
<polygon fill="none" stroke="black" points="327.842,-760.888 318.645,-766.148 329.115,-767.771 327.842,-760.888"/>
</g> </g>
<!-- \\SQLite --> <!-- \\SQLite -->
<g id="node18" class="node"><title>\\SQLite</title> <g id="node16" class="node"><title>\\SQLite</title>
<polygon fill="none" stroke="black" points="606,-412 552,-412 552,-376 606,-376 606,-412"/> <polygon fill="none" stroke="black" points="606,-574 552,-574 552,-538 606,-538 606,-574"/>
<text text-anchor="middle" x="579" y="-390.6" font-family="Times Roman,serif" font-size="11.00">SQLite</text> <text text-anchor="middle" x="579" y="-552.6" font-family="Times Roman,serif" font-size="11.00">SQLite</text>
</g> </g>
<!-- \\SQLite&#45;&gt;\\DB_PDO --> <!-- \\SQLite&#45;&gt;\\DB_PDO -->
<g id="edge31" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title> <g id="edge29" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M551.907,-400.321C522.121,-407.153 472.804,-418.118 430,-426 398.567,-431.788 363.052,-437.258 335.279,-441.295"/> <path fill="none" stroke="black" d="M551.792,-550.968C502.303,-541.816 396.973,-522.338 335.113,-510.898"/>
<polygon fill="none" stroke="black" points="334.437,-437.88 325.039,-442.77 335.435,-444.809 334.437,-437.88"/> <polygon fill="none" stroke="black" points="335.672,-507.442 325.203,-509.065 334.399,-514.325 335.672,-507.442"/>
</g> </g>
<!-- \\SQLite_SQL --> <!-- \\SQLite_SQL -->
<g id="node19" class="node"><title>\\SQLite_SQL</title> <g id="node17" class="node"><title>\\SQLite_SQL</title>
<polygon fill="none" stroke="black" points="619,-682 539,-682 539,-646 619,-646 619,-682"/> <polygon fill="none" stroke="black" points="619,-682 539,-682 539,-646 619,-646 619,-682"/>
<text text-anchor="middle" x="579" y="-660.6" font-family="Times Roman,serif" font-size="11.00">SQLite_SQL</text> <text text-anchor="middle" x="579" y="-660.6" font-family="Times Roman,serif" font-size="11.00">SQLite_SQL</text>
</g> </g>
<!-- \\SQLite_SQL&#45;&gt;\\iDB_SQL --> <!-- \\SQLite_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge33" class="edge"><title>\\SQLite_SQL&#45;&gt;\\iDB_SQL</title> <g id="edge31" class="edge"><title>\\SQLite_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M538.705,-671.452C483.474,-681.666 384.742,-699.925 328.755,-710.278"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M538.973,-677.839C527.056,-682.012 513.982,-686.643 502,-691 441.314,-713.068 371.402,-739.618 328.201,-756.156"/>
<polygon fill="none" stroke="black" points="328.015,-706.856 318.819,-712.116 329.288,-713.739 328.015,-706.856"/> <polygon fill="none" stroke="black" points="326.694,-752.985 318.609,-759.831 329.199,-759.521 326.694,-752.985"/>
</g> </g>
<!-- \\Firebird_SQL --> <!-- \\ODBC -->
<g id="node20" class="node"><title>\\Firebird_SQL</title> <g id="node18" class="node"><title>\\ODBC</title>
<polygon fill="none" stroke="black" points="621,-628 537,-628 537,-592 621,-592 621,-628"/> <polygon fill="none" stroke="black" points="606,-520 552,-520 552,-484 606,-484 606,-520"/>
<text text-anchor="middle" x="579" y="-606.6" font-family="Times Roman,serif" font-size="11.00">Firebird_SQL</text> <text text-anchor="middle" x="579" y="-498.6" font-family="Times Roman,serif" font-size="11.00">ODBC</text>
</g> </g>
<!-- \\Firebird_SQL&#45;&gt;\\iDB_SQL --> <!-- \\ODBC&#45;&gt;\\DB_PDO -->
<g id="edge35" class="edge"><title>\\Firebird_SQL&#45;&gt;\\iDB_SQL</title> <g id="edge33" class="edge"><title>\\ODBC&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M536.173,-624.821C525.029,-628.731 513.05,-632.982 502,-637 441.314,-659.068 371.402,-685.618 328.201,-702.156"/> <path fill="none" stroke="black" d="M551.792,-502C502.406,-502 397.407,-502 335.496,-502"/>
<polygon fill="none" stroke="black" points="326.694,-698.985 318.609,-705.831 329.199,-705.521 326.694,-698.985"/> <polygon fill="none" stroke="black" points="335.203,-498.5 325.203,-502 335.203,-505.5 335.203,-498.5"/>
</g> </g>
<!-- \\Firebird_Result --> <!-- \\PgSQL -->
<g id="node21" class="node"><title>\\Firebird_Result</title> <g id="node19" class="node"><title>\\PgSQL</title>
<polygon fill="none" stroke="black" points="627,-196 531,-196 531,-160 627,-160 627,-196"/> <polygon fill="none" stroke="black" points="606,-466 552,-466 552,-430 606,-430 606,-466"/>
<text text-anchor="middle" x="579" y="-174.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Result</text> <text text-anchor="middle" x="579" y="-444.6" font-family="Times Roman,serif" font-size="11.00">PgSQL</text>
</g> </g>
<!-- \\PDOStatement --> <!-- \\PgSQL&#45;&gt;\\DB_PDO -->
<g id="node47" class="node"><title>\\PDOStatement</title> <g id="edge35" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title>
<ellipse fill="none" stroke="black" cx="287" cy="-18" rx="85.1942" ry="18"/> <path fill="none" stroke="black" d="M551.907,-454.321C522.121,-461.153 472.804,-472.118 430,-480 398.567,-485.788 363.052,-491.258 335.279,-495.295"/>
<text text-anchor="middle" x="287" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text> <polygon fill="none" stroke="black" points="334.437,-491.88 325.039,-496.77 335.435,-498.809 334.437,-491.88"/>
</g> </g>
<!-- \\Firebird_Result&#45;&gt;\\PDOStatement --> <!-- \\BadDBDriverException -->
<g id="edge37" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title> <g id="node20" class="node"><title>\\BadDBDriverException</title>
<path fill="none" stroke="black" d="M564.649,-159.998C540.297,-130.794 487.857,-73.4973 430,-45 413.189,-36.72 394.116,-30.9715 375.503,-26.9826"/> <polygon fill="none" stroke="black" points="650,-304 508,-304 508,-268 650,-268 650,-304"/>
<polygon fill="none" stroke="black" points="376.018,-23.5165 365.527,-24.9979 374.652,-30.382 376.018,-23.5165"/> <text text-anchor="middle" x="579" y="-282.6" font-family="Times Roman,serif" font-size="11.00">BadDBDriverException</text>
</g> </g>
<!-- \\Firebird --> <!-- \\InvalidArgumentException -->
<g id="node22" class="node"><title>\\Firebird</title> <g id="node46" class="node"><title>\\InvalidArgumentException</title>
<polygon fill="none" stroke="black" points="608,-358 550,-358 550,-322 608,-322 608,-358"/> <ellipse fill="none" stroke="black" cx="287" cy="-72" rx="138.86" ry="18"/>
<text text-anchor="middle" x="579" y="-336.6" font-family="Times Roman,serif" font-size="11.00">Firebird</text> <text text-anchor="middle" x="287" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text>
</g> </g>
<!-- \\Firebird&#45;&gt;\\DB_PDO --> <!-- \\BadDBDriverException&#45;&gt;\\InvalidArgumentException -->
<g id="edge39" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title> <g id="edge37" class="edge"><title>\\BadDBDriverException&#45;&gt;\\InvalidArgumentException</title>
<path fill="none" stroke="black" d="M549.812,-347.602C534.963,-352.113 516.944,-358.604 502,-367 465.931,-387.264 467.783,-409.147 430,-426 400.273,-439.26 364,-444.733 335.425,-446.904"/> <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="335.024,-443.423 325.272,-447.563 335.478,-450.408 335.024,-443.423"/> <polygon fill="none" stroke="black" points="411.025,-83.3149 400.455,-82.589 408.266,-89.7479 411.025,-83.3149"/>
</g> </g>
<!-- \\Firebird_Util --> <!-- \\BadConnectionException -->
<g id="node23" class="node"><title>\\Firebird_Util</title> <g id="node21" class="node"><title>\\BadConnectionException</title>
<polygon fill="none" stroke="black" points="620,-898 538,-898 538,-862 620,-862 620,-898"/> <polygon fill="none" stroke="black" points="656,-196 502,-196 502,-160 656,-160 656,-196"/>
<text text-anchor="middle" x="579" y="-876.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Util</text> <text text-anchor="middle" x="579" y="-174.6" font-family="Times Roman,serif" font-size="11.00">BadConnectionException</text>
</g> </g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util --> <!-- \\UnexpectedValueException -->
<g id="edge41" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title> <g id="node48" class="node"><title>\\UnexpectedValueException</title>
<path fill="none" stroke="black" d="M537.778,-894.258C526.185,-898.321 513.582,-902.788 502,-907 444.323,-927.974 378.311,-952.996 334.819,-969.624"/> <ellipse fill="none" stroke="black" cx="287" cy="-18" rx="142.885" ry="18"/>
<polygon fill="none" stroke="black" points="333.439,-966.404 325.351,-973.247 335.941,-972.942 333.439,-966.404"/> <text text-anchor="middle" x="287" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\UnexpectedValueException</text>
</g>
<!-- \\BadConnectionException&#45;&gt;\\UnexpectedValueException -->
<g id="edge39" 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>
<!-- \\Query_Parser -->
<g id="node22" 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>
<!-- \\MySQL -->
<g id="node23" class="node"><title>\\MySQL</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">MySQL</text>
</g>
<!-- \\MySQL&#45;&gt;\\DB_PDO -->
<g id="edge41" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M551.274,-401.161C536.158,-405.686 517.438,-412.327 502,-421 465.931,-441.264 467.783,-463.147 430,-480 400.273,-493.26 364,-498.733 335.425,-500.904"/>
<polygon fill="none" stroke="black" points="335.024,-497.423 325.272,-501.563 335.478,-504.408 335.024,-497.423"/>
</g> </g>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -85,7 +85,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -85,7 +85,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -67,7 +67,6 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
<li class="method public "><a href="#method_get_functions" title="get_functions() :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li> <li class="method public "><a href="#method_get_functions" title="get_functions() :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li>
<li class="method public "><a href="#method_get_last_error" title="get_last_error() :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li> <li class="method public "><a href="#method_get_last_error" title="get_last_error() :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li>
<li class="method public "><a href="#method_get_procedures" title="get_procedures() :: Return list of stored procedures for the current database"><span class="description">Return list of stored procedures for the current database</span><pre>get_procedures()</pre></a></li> <li class="method public "><a href="#method_get_procedures" title="get_procedures() :: Return list of stored procedures for the current database"><span class="description">Return list of stored procedures for the current database</span><pre>get_procedures()</pre></a></li>
<li class="method public "><a href="#method_get_query_data" title="get_query_data() :: Retreives the data from a select query"><span class="description">Retreives the data from a select query</span><pre>get_query_data()</pre></a></li>
<li class="method public "><a href="#method_get_schemas" title="get_schemas() :: Return schemas for databases that list them"><span class="description">Return schemas for databases that list them</span><pre>get_schemas()</pre></a></li> <li class="method public "><a href="#method_get_schemas" title="get_schemas() :: Return schemas for databases that list them"><span class="description">Return schemas for databases that list them</span><pre>get_schemas()</pre></a></li>
<li class="method public "><a href="#method_get_sequences" title="get_sequences() :: Return list of sequences for the current database, if they exist"><span class="description">Return list of sequences for the current database, if they exist</span><pre>get_sequences()</pre></a></li> <li class="method public "><a href="#method_get_sequences" title="get_sequences() :: Return list of sequences for the current database, if they exist"><span class="description">Return list of sequences for the current database, if they exist</span><pre>get_sequences()</pre></a></li>
<li class="method public "><a href="#method_get_system_tables" title="get_system_tables() :: Retreives an array of non-user-created tables for <li class="method public "><a href="#method_get_system_tables" title="get_system_tables() :: Retreives an array of non-user-created tables for
@ -264,21 +263,6 @@ method if the database does not support 'TRUNCATE';</h2>
<div class="subelement response"><code>array</code></div> <div class="subelement response"><code>array</code></div>
</div></div> </div></div>
</div> </div>
<a id="method_get_query_data"></a><div class="element clickable method public method_get_query_data" data-toggle="collapse" data-target=".method_get_query_data .collapse">
<h2>Retreives the data from a select query</h2>
<pre>get_query_data(\PDOStatement $statement) : array</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>$statement</h4>
<code><a href="PDOStatement.html">\PDOStatement</a></code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a id="method_get_schemas"></a><div class="element clickable method public method_get_schemas" data-toggle="collapse" data-target=".method_get_schemas .collapse"> <a id="method_get_schemas"></a><div class="element clickable method public method_get_schemas" data-toggle="collapse" data-target=".method_get_schemas .collapse">
<h2>Return schemas for databases that list them</h2> <h2>Return schemas for databases that list them</h2>
<pre>get_schemas() : array</pre> <pre>get_schemas() : array</pre>
@ -541,7 +525,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -222,7 +222,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -348,7 +348,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:35-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -360,7 +360,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:35-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -241,7 +241,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:35-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:35-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -148,7 +148,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -246,7 +246,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -168,7 +168,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -241,7 +241,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -168,7 +168,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -142,7 +142,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -241,7 +241,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1411,7 +1411,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -151,7 +151,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -218,7 +218,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -241,7 +241,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -249,7 +249,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -968,7 +968,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:35-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -93,7 +93,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:35-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:35-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -50,8 +50,8 @@
<div class="row"> <div class="row">
<div class="span4"><ul class="side-nav nav nav-list"> <div class="span4"><ul class="side-nav nav nav-list">
<li class="nav-header">Navigation</li> <li class="nav-header">Navigation</li>
<li><a href="#drivers/pgsql/pgsql_util.php"><i class="icon-file"></i>drivers/pgsql/pgsql_util.php</a></li>
<li><a href="#drivers/firebird/firebird_util.php"><i class="icon-file"></i>drivers/firebird/firebird_util.php</a></li> <li><a href="#drivers/firebird/firebird_util.php"><i class="icon-file"></i>drivers/firebird/firebird_util.php</a></li>
<li><a href="#drivers/pgsql/pgsql_util.php"><i class="icon-file"></i>drivers/pgsql/pgsql_util.php</a></li>
</ul></div> </ul></div>
<div class="span8"> <div class="span8">
<ul class="breadcrumb"> <ul class="breadcrumb">
@ -62,23 +62,6 @@
</ul> </ul>
<div id="marker-accordion"> <div id="marker-accordion">
<div class="package-contents"> <div class="package-contents">
<a name="drivers/pgsql/pgsql_util.php" id="drivers/pgsql/pgsql_util.php"></a><h3>
<i class="icon-file"></i>drivers/pgsql/pgsql_util.php<small style="float: right;padding-right: 10px;">1</small>
</h3>
<div><table class="table markers table-bordered">
<tr>
<th>Type</th>
<th>Line</th>
<th>Description</th>
</tr>
<tr>
<td>todo</td>
<td>114</td>
<td>Implement Backup function</td>
</tr>
</table></div>
</div>
<div class="package-contents">
<a name="drivers/firebird/firebird_util.php" id="drivers/firebird/firebird_util.php"></a><h3> <a name="drivers/firebird/firebird_util.php" id="drivers/firebird/firebird_util.php"></a><h3>
<i class="icon-file"></i>drivers/firebird/firebird_util.php<small style="float: right;padding-right: 10px;">1</small> <i class="icon-file"></i>drivers/firebird/firebird_util.php<small style="float: right;padding-right: 10px;">1</small>
</h3> </h3>
@ -95,6 +78,23 @@
</tr> </tr>
</table></div> </table></div>
</div> </div>
<div class="package-contents">
<a name="drivers/pgsql/pgsql_util.php" id="drivers/pgsql/pgsql_util.php"></a><h3>
<i class="icon-file"></i>drivers/pgsql/pgsql_util.php<small style="float: right;padding-right: 10px;">1</small>
</h3>
<div><table class="table markers table-bordered">
<tr>
<th>Type</th>
<th>Line</th>
<th>Description</th>
</tr>
<tr>
<td>todo</td>
<td>114</td>
<td>Implement Backup function</td>
</tr>
</table></div>
</div>
</div> </div>
</div> </div>
</div> </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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:35-05:00.<br></footer></div> generated on 2013-12-09T19:45:46-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -69,34 +69,34 @@ with array_map and glob</span><pre>do_include</pre></a></li>
<li class="function "><a href="#function_query_autoload" title="query_autoload() :: Load a Query class"><span class="description">Load a Query class</span><pre>query_autoload</pre></a></li> <li class="function "><a href="#function_query_autoload" title="query_autoload() :: Load a Query class"><span class="description">Load a Query class</span><pre>query_autoload</pre></a></li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-interface"></i> Interfaces</li> <i class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#iDB_SQL" title="parent for database manipulation subclasses">iDB_SQL</a></li>
<li><a href="#iQuery_Builder" title="Interface defining the Query Builder class">iQuery_Builder</a></li> <li><a href="#iQuery_Builder" title="Interface defining the Query Builder class">iQuery_Builder</a></li>
<li><a href="#iDB_SQL" title="parent for database manipulation subclasses">iDB_SQL</a></li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-class"></i> Classes</li> <i class="icon-custom icon-class"></i> Classes</li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
<li><a href="#DB_PDO" title="Base Database class">DB_PDO</a></li> <li><a href="#DB_PDO" title="Base Database class">DB_PDO</a></li>
<li><a href="#Query_Builder" title="Convienience class for creating sql queries - also the class that
instantiates the specific db driver">Query_Builder</a></li>
<li><a href="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</a></li>
<li><a href="#BadDBDriverException" title="Generic exception for bad drivers">BadDBDriverException</a></li>
<li><a href="#BadConnectionException" title="Generic exception for bad connection strings">BadConnectionException</a></li>
<li><a href="#PgSQL_SQL" title="PostgreSQL specifc SQL">PgSQL_SQL</a></li>
<li><a href="#PgSQL_Util" title="Posgres-specific backup, import and creation methods">PgSQL_Util</a></li>
<li><a href="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#ODBC_Util" title="ODBC-specific backup, import and creation methods">ODBC_Util</a></li>
<li><a href="#ODBC_SQL" title="ODBC SQL Class">ODBC_SQL</a></li>
<li><a href="#ODBC" title="ODBC Database Driver">ODBC</a></li>
<li><a href="#MySQL_Util" title="MySQL-specific backup, import and creation methods">MySQL_Util</a></li>
<li><a href="#MySQL" title="MySQL specific class">MySQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</a></li>
<li><a href="#SQLite" title="SQLite specific class">SQLite</a></li>
<li><a href="#SQLite_SQL" title="SQLite Specific SQL">SQLite_SQL</a></li>
<li><a href="#Firebird_SQL" title="Firebird Specific SQL">Firebird_SQL</a></li>
<li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements <li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods">Firebird_Result</a></li> data-fetching methods">Firebird_Result</a></li>
<li><a href="#Firebird" title="Firebird Database class">Firebird</a></li>
<li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</a></li> <li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">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="#ODBC_SQL" title="ODBC SQL Class">ODBC_SQL</a></li>
<li><a href="#ODBC_Util" title="ODBC-specific backup, import and creation methods">ODBC_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="#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="#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>
<li><a href="#SQLite_SQL" title="SQLite Specific SQL">SQLite_SQL</a></li>
<li><a href="#ODBC" title="ODBC Database Driver">ODBC</a></li>
<li><a href="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#BadDBDriverException" title="Generic exception for bad drivers">BadDBDriverException</a></li>
<li><a href="#BadConnectionException" title="Generic exception for bad connection strings">BadConnectionException</a></li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
<li><a href="#MySQL" title="MySQL specific class">MySQL</a></li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-constant"></i> Constants</li> <i class="icon-custom icon-constant"></i> Constants</li>
<li class="constant "><a href="#constant_QBASE_PATH" title="QBASE_PATH() :: Reference to root path"><span class="description">Reference to root path</span><pre>QBASE_PATH</pre></a></li> <li class="constant "><a href="#constant_QBASE_PATH" title="QBASE_PATH() :: Reference to root path"><span class="description">Reference to root path</span><pre>QBASE_PATH</pre></a></li>
@ -109,7 +109,7 @@ data-fetching methods">Firebird_Result</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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -60,23 +60,23 @@
</li> </li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-class"></i> Classes</li> <i class="icon-custom icon-class"></i> Classes</li>
<li><a href="#PgSQL_SQL" title="PostgreSQL specifc SQL">PgSQL_SQL</a></li>
<li><a href="#PgSQL_Util" title="Posgres-specific backup, import and creation methods">PgSQL_Util</a></li>
<li><a href="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#ODBC_Util" title="ODBC-specific backup, import and creation methods">ODBC_Util</a></li>
<li><a href="#ODBC_SQL" title="ODBC SQL Class">ODBC_SQL</a></li>
<li><a href="#ODBC" title="ODBC Database Driver">ODBC</a></li>
<li><a href="#MySQL_Util" title="MySQL-specific backup, import and creation methods">MySQL_Util</a></li>
<li><a href="#MySQL" title="MySQL specific class">MySQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</a></li>
<li><a href="#SQLite" title="SQLite specific class">SQLite</a></li>
<li><a href="#SQLite_SQL" title="SQLite Specific SQL">SQLite_SQL</a></li>
<li><a href="#Firebird_SQL" title="Firebird Specific SQL">Firebird_SQL</a></li>
<li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements <li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods">Firebird_Result</a></li> data-fetching methods">Firebird_Result</a></li>
<li><a href="#Firebird" title="Firebird Database class">Firebird</a></li>
<li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</a></li> <li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">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="#ODBC_SQL" title="ODBC SQL Class">ODBC_SQL</a></li>
<li><a href="#ODBC_Util" title="ODBC-specific backup, import and creation methods">ODBC_Util</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</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="#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>
<li><a href="#SQLite_SQL" title="SQLite Specific SQL">SQLite_SQL</a></li>
<li><a href="#ODBC" title="ODBC Database Driver">ODBC</a></li>
<li><a href="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#MySQL" title="MySQL specific class">MySQL</a></li>
</ul> </ul>
</div> </div>
<div class="span8 package-contents"> <div class="span8 package-contents">
@ -209,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -60,17 +60,17 @@
</li> </li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-interface"></i> Interfaces</li> <i class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#iDB_SQL" title="parent for database manipulation subclasses">iDB_SQL</a></li>
<li><a href="#iQuery_Builder" title="Interface defining the Query Builder class">iQuery_Builder</a></li> <li><a href="#iQuery_Builder" title="Interface defining the Query Builder class">iQuery_Builder</a></li>
<li><a href="#iDB_SQL" title="parent for database manipulation subclasses">iDB_SQL</a></li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-class"></i> Classes</li> <i class="icon-custom icon-class"></i> Classes</li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
<li><a href="#DB_PDO" title="Base Database class">DB_PDO</a></li> <li><a href="#DB_PDO" title="Base Database class">DB_PDO</a></li>
<li><a href="#Query_Builder" title="Convienience class for creating sql queries - also the class that <li><a href="#Query_Builder" title="Convienience class for creating sql queries - also the class that
instantiates the specific db driver">Query_Builder</a></li> instantiates the specific db driver">Query_Builder</a></li>
<li><a href="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</a></li> <li><a href="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</a></li>
<li><a href="#BadDBDriverException" title="Generic exception for bad drivers">BadDBDriverException</a></li> <li><a href="#BadDBDriverException" title="Generic exception for bad drivers">BadDBDriverException</a></li>
<li><a href="#BadConnectionException" title="Generic exception for bad connection strings">BadConnectionException</a></li> <li><a href="#BadConnectionException" title="Generic exception for bad connection strings">BadConnectionException</a></li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
</ul> </ul>
</div> </div>
<div class="span8 package-contents"> <div class="span8 package-contents">
@ -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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -371,7 +371,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> 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.1.0 Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.1.0
</a> and<br> </a> and<br>
generated on 2013-12-06T22:52:34-05:00.<br></footer></div> generated on 2013-12-09T19:45:45-05:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because one or more lines are too long

View File

@ -782,6 +782,8 @@ abstract class QBTest extends UnitTestCase {
public function TestNumRows() public function TestNumRows()
{ {
if (empty($this->db)) return;
$query = $this->db->get('create_test'); $query = $this->db->get('create_test');
$this->assertTrue(is_numeric($this->db->num_rows())); $this->assertTrue(is_numeric($this->db->num_rows()));
@ -793,6 +795,8 @@ abstract class QBTest extends UnitTestCase {
public function TestGetCompiledSelect() public function TestGetCompiledSelect()
{ {
if (empty($this->db)) return;
$sql = $this->db->get_compiled_select('create_test'); $sql = $this->db->get_compiled_select('create_test');
$qb_res = $this->db->get('create_test'); $qb_res = $this->db->get('create_test');
$sql_res = $this->db->query($sql); $sql_res = $this->db->query($sql);
@ -800,6 +804,42 @@ abstract class QBTest extends UnitTestCase {
$this->assertClone($qb_res, $sql_res); $this->assertClone($qb_res, $sql_res);
} }
public function TestGetCompiledUpdate()
{
if (empty($this->db)) return;
$sql = $this->db->set(array(
'id' => 4,
'key' => 'foo',
'val' => 'baz'
))->get_compiled_update('create_test');
$this->assertTrue(is_string($sql));
}
public function TestGetCompiledInsert()
{
if (empty($this->db)) return;
$sql = $this->db->set(array(
'id' => 4,
'key' => 'foo',
'val' => 'baz'
))->get_compiled_insert('create_test');
$this->assertTrue(is_string($sql));
}
public function TestGetCompiledDelete()
{
if (empty($this->db)) return;
$sql = $this->db->where('id', 4)
->get_compiled_delete('create_test');
$this->assertTrue(is_string($sql));
}
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// ! Error Tests // ! Error Tests
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
@ -850,6 +890,20 @@ abstract class QBTest extends UnitTestCase {
$res = $this->db->foo(); $res = $this->db->foo();
$this->assertEqual(NULL, $res); $this->assertEqual(NULL, $res);
} }
// --------------------------------------------------------------------------
public function TestBadNumRows()
{
$this->db->set(array(
'id' => 999,
'key' => 'ring',
'val' => 'sale'
))->insert('create_test');
$res = $this->db->num_rows();
$this->assertEqual(NULL, $res);
}
} }
// End of db_qb_test.php // End of db_qb_test.php

View File

@ -80,5 +80,6 @@ abstract class DBTest extends UnitTestCase {
$types = $this->db->get_types(); $types = $this->db->get_types();
$this->assertTrue(is_array($types)); $this->assertTrue(is_array($types));
} }
} }
// End of db_test.php // End of db_test.php

View File

@ -1 +0,0 @@
zend_extension="xdebug.so"