Remove PDO_Firebird driver

This commit is contained in:
Timothy Warren 2014-03-26 20:54:40 -04:00
parent 846e68acc4
commit 22f28b766b
42 changed files with 5537 additions and 5583 deletions

View File

@ -4,263 +4,243 @@
<!-- Generated by graphviz version 2.26.3 (20100126.1600)
-->
<!-- Title: G Pages: 1 -->
<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)">
<svg width="687pt" height="1105pt"
viewBox="0.00 0.00 687.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)">
<title>G</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-831 697,-831 697,5 -4,5"/>
<polygon fill="white" stroke="white" points="-4,5 -4,-1101 684,-1101 684,5 -4,5"/>
<g id="graph2" class="cluster"><title>cluster_Global</title>
<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 "/>
<polyline fill="none" stroke="gray" points="20,-152 659,-152 "/>
<path fill="none" stroke="gray" d="M659,-152C665,-152 671,-158 671,-164"/>
<polyline fill="none" stroke="gray" points="671,-164 671,-1077 "/>
<path fill="none" stroke="gray" d="M671,-1077C671,-1083 665,-1089 659,-1089"/>
<polyline fill="none" stroke="gray" points="659,-1089 20,-1089 "/>
<path fill="none" stroke="gray" d="M20,-1089C14,-1089 8,-1083 8,-1077"/>
<polyline fill="none" stroke="gray" points="8,-1077 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="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="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="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="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="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="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="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>
<text text-anchor="middle" x="339.5" y="-1075.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">\</text>
</g>
<!-- \\DB_Util -->
<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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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>
<!-- \\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="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="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="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="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="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="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="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="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="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="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="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="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="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="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 id="node2" class="node"><title>\\DB_Util</title>
<polygon fill="none" stroke="black" points="332,-655 256,-655 256,-619 332,-619 332,-655"/>
<text text-anchor="start" x="264.5" y="-642.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="273.5" y="-629.233" font-family="Times Roman,serif" font-size="11.00">DB_Util</text>
</g>
<!-- \\Query_Parser -->
<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 id="node3" class="node"><title>\\Query_Parser</title>
<polygon fill="none" stroke="black" points="631,-1060 541,-1060 541,-1024 631,-1024 631,-1060"/>
<text text-anchor="middle" x="586" y="-1038.6" font-family="Times Roman,serif" font-size="11.00">Query_Parser</text>
</g>
<!-- \\Abstract_Driver -->
<g id="node4" class="node"><title>\\Abstract_Driver</title>
<polygon fill="none" stroke="black" points="346,-412 242,-412 242,-376 346,-376 346,-412"/>
<text text-anchor="start" x="264.5" y="-399.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="250.5" y="-386.233" font-family="Times Roman,serif" font-size="11.00">Abstract_Driver</text>
</g>
<!-- \\idriver -->
<g id="node23" class="node"><title>\\idriver</title>
<polygon fill="none" stroke="black" points="70,-412 16,-412 16,-376 70,-376 70,-412"/>
<text text-anchor="middle" x="43" y="-390.6" font-family="Times Roman,serif" font-size="11.00">idriver</text>
</g>
<!-- \\Abstract_Driver&#45;&gt;\\idriver -->
<g id="edge5" class="edge"><title>\\Abstract_Driver&#45;&gt;\\idriver</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M241.993,-394C193.706,-394 123.009,-394 80.1678,-394"/>
<polygon fill="none" stroke="black" points="80.1671,-390.5 70.1671,-394 80.1671,-397.5 80.1671,-390.5"/>
</g>
<!-- \\PDO -->
<g id="node25" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="43" cy="-126" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="43" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
</g>
<!-- \\Abstract_Driver&#45;&gt;\\PDO -->
<g id="edge3" class="edge"><title>\\Abstract_Driver&#45;&gt;\\PDO</title>
<path fill="none" stroke="black" d="M241.885,-398.657C212.051,-398.492 175.748,-393.11 151,-372 71.4397,-304.136 143.661,-230.185 79,-148 78.2102,-146.996 77.361,-146.027 76.4642,-145.093"/>
<polygon fill="none" stroke="black" points="78.7319,-142.427 68.8503,-138.605 74.1919,-147.755 78.7319,-142.427"/>
</g>
<!-- \\Query_Builder -->
<g id="node5" class="node"><title>\\Query_Builder</title>
<polygon fill="none" stroke="black" points="633,-1006 539,-1006 539,-970 633,-970 633,-1006"/>
<text text-anchor="middle" x="586" y="-984.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder</text>
</g>
<!-- \\iQuery_Builder -->
<g id="node22" class="node"><title>\\iQuery_Builder</title>
<polygon fill="none" stroke="black" points="343,-1006 245,-1006 245,-970 343,-970 343,-1006"/>
<text text-anchor="middle" x="294" y="-984.6" font-family="Times Roman,serif" font-size="11.00">iQuery_Builder</text>
</g>
<!-- \\Query_Builder&#45;&gt;\\iQuery_Builder -->
<g id="edge7" class="edge"><title>\\Query_Builder&#45;&gt;\\iQuery_Builder</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M538.435,-988C487.879,-988 407.848,-988 353.235,-988"/>
<polygon fill="none" stroke="black" points="353.007,-984.5 343.007,-988 353.007,-991.5 353.007,-984.5"/>
</g>
<!-- \\SQLite_Util -->
<g id="node6" class="node"><title>\\SQLite_Util</title>
<polygon fill="none" stroke="black" points="624,-736 548,-736 548,-700 624,-700 624,-736"/>
<text text-anchor="middle" x="586" y="-714.6" font-family="Times Roman,serif" font-size="11.00">SQLite_Util</text>
</g>
<!-- \\SQLite_Util&#45;&gt;\\DB_Util -->
<g id="edge9" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M547.225,-707.244C494.246,-692.548 399.288,-666.207 341.918,-650.292"/>
<polygon fill="none" stroke="black" points="342.579,-646.844 332.008,-647.543 340.708,-653.589 342.579,-646.844"/>
</g>
<!-- \\SQLite -->
<g id="node7" class="node"><title>\\SQLite</title>
<polygon fill="none" stroke="black" points="613,-520 559,-520 559,-484 613,-484 613,-520"/>
<text text-anchor="middle" x="586" y="-498.6" font-family="Times Roman,serif" font-size="11.00">SQLite</text>
</g>
<!-- \\SQLite&#45;&gt;\\Abstract_Driver -->
<g id="edge11" class="edge"><title>\\SQLite&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M558.863,-492.656C544.09,-487.525 525.508,-481.003 509,-475 454.982,-455.357 393.654,-432.163 350.361,-415.639"/>
<polygon fill="none" stroke="black" points="351.449,-412.308 340.859,-412.009 348.951,-418.848 351.449,-412.308"/>
</g>
<!-- \\SQLite_SQL -->
<g id="node8" class="node"><title>\\SQLite_SQL</title>
<polygon fill="none" stroke="black" points="626,-952 546,-952 546,-916 626,-916 626,-952"/>
<text text-anchor="middle" x="586" y="-930.6" font-family="Times Roman,serif" font-size="11.00">SQLite_SQL</text>
</g>
<!-- \\iDB_SQL -->
<g id="node21" class="node"><title>\\iDB_SQL</title>
<polygon fill="none" stroke="black" points="325,-871 263,-871 263,-835 325,-835 325,-871"/>
<text text-anchor="middle" x="294" y="-849.6" font-family="Times Roman,serif" font-size="11.00">iDB_SQL</text>
</g>
<!-- \\SQLite_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge13" class="edge"><title>\\SQLite_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M545.705,-922.822C490.474,-907.501 391.742,-880.113 335.755,-864.583"/>
<polygon fill="none" stroke="black" points="336.39,-861.127 325.819,-861.826 334.519,-867.872 336.39,-861.127"/>
</g>
<!-- \\Firebird_SQL -->
<g id="node9" class="node"><title>\\Firebird_SQL</title>
<polygon fill="none" stroke="black" points="628,-898 544,-898 544,-862 628,-862 628,-898"/>
<text text-anchor="middle" x="586" y="-876.6" font-family="Times Roman,serif" font-size="11.00">Firebird_SQL</text>
</g>
<!-- \\Firebird_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge15" class="edge"><title>\\Firebird_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M543.228,-876.045C487.57,-870.899 390.933,-861.963 335.771,-856.862"/>
<polygon fill="none" stroke="black" points="335.925,-853.362 325.645,-855.926 335.28,-860.332 335.925,-853.362"/>
</g>
<!-- \\Firebird_Util -->
<g id="node10" class="node"><title>\\Firebird_Util</title>
<polygon fill="none" stroke="black" points="627,-682 545,-682 545,-646 627,-646 627,-682"/>
<text text-anchor="middle" x="586" y="-660.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Util</text>
</g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="edge17" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M544.783,-660.189C491.504,-655.262 398.879,-646.698 342.34,-641.47"/>
<polygon fill="none" stroke="black" points="342.501,-637.97 332.221,-640.534 341.856,-644.94 342.501,-637.97"/>
</g>
<!-- \\Firebird_Result -->
<g id="node11" class="node"><title>\\Firebird_Result</title>
<polygon fill="none" stroke="black" points="634,-304 538,-304 538,-268 634,-268 634,-304"/>
<text text-anchor="middle" x="586" y="-282.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Result</text>
</g>
<!-- \\PDOStatement -->
<g id="node34" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="294" cy="-126" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="294" y="-121.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g>
<!-- \\Firebird_Result&#45;&gt;\\PDOStatement -->
<g id="edge19" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title>
<path fill="none" stroke="black" d="M537.48,-274.443C527.419,-270.603 517.352,-265.567 509,-259 462.775,-222.654 486.379,-179.93 437,-148 422.718,-138.765 405.987,-132.876 389.102,-129.209"/>
<polygon fill="none" stroke="black" points="389.64,-125.748 379.159,-127.298 388.319,-132.623 389.64,-125.748"/>
</g>
<!-- \\Firebird -->
<g id="node12" class="node"><title>\\Firebird</title>
<polygon fill="none" stroke="black" points="615,-466 557,-466 557,-430 615,-430 615,-466"/>
<text text-anchor="middle" x="586" y="-444.6" font-family="Times Roman,serif" font-size="11.00">Firebird</text>
</g>
<!-- \\Firebird&#45;&gt;\\Abstract_Driver -->
<g id="edge21" class="edge"><title>\\Firebird&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M556.934,-442.625C510.406,-434.02 418.152,-416.96 356.249,-405.512"/>
<polygon fill="none" stroke="black" points="356.676,-402.032 346.206,-403.655 355.403,-408.915 356.676,-402.032"/>
</g>
<!-- \\PgSQL_Util -->
<g id="node13" class="node"><title>\\PgSQL_Util</title>
<polygon fill="none" stroke="black" points="624,-628 548,-628 548,-592 624,-592 624,-628"/>
<text text-anchor="middle" x="586" y="-606.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_Util</text>
</g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge23" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M547.826,-613.53C495.144,-618.401 400.14,-627.186 342.494,-632.516"/>
<polygon fill="none" stroke="black" points="341.819,-629.063 332.183,-633.469 342.463,-636.034 341.819,-629.063"/>
</g>
<!-- \\PgSQL_SQL -->
<g id="node14" class="node"><title>\\PgSQL_SQL</title>
<polygon fill="none" stroke="black" points="626,-844 546,-844 546,-808 626,-808 626,-844"/>
<text text-anchor="middle" x="586" y="-822.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_SQL</text>
</g>
<!-- \\PgSQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge25" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M545.705,-829.726C490.588,-834.822 392.151,-843.924 336.104,-849.107"/>
<polygon fill="none" stroke="black" points="335.454,-845.652 325.819,-850.058 336.098,-852.622 335.454,-845.652"/>
</g>
<!-- \\PgSQL -->
<g id="node15" class="node"><title>\\PgSQL</title>
<polygon fill="none" stroke="black" points="613,-412 559,-412 559,-376 613,-376 613,-412"/>
<text text-anchor="middle" x="586" y="-390.6" font-family="Times Roman,serif" font-size="11.00">PgSQL</text>
</g>
<!-- \\PgSQL&#45;&gt;\\Abstract_Driver -->
<g id="edge27" class="edge"><title>\\PgSQL&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M558.792,-394C512.925,-394 419.088,-394 356.351,-394"/>
<polygon fill="none" stroke="black" points="356.176,-390.5 346.176,-394 356.176,-397.5 356.176,-390.5"/>
</g>
<!-- \\MySQL_SQL -->
<g id="node16" class="node"><title>\\MySQL_SQL</title>
<polygon fill="none" stroke="black" points="627,-790 545,-790 545,-754 627,-754 627,-790"/>
<text text-anchor="middle" x="586" y="-768.6" font-family="Times Roman,serif" font-size="11.00">MySQL_SQL</text>
</g>
<!-- \\MySQL_SQL&#45;&gt;\\iDB_SQL -->
<g id="edge29" class="edge"><title>\\MySQL_SQL&#45;&gt;\\iDB_SQL</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M544.783,-783.434C489.284,-798.829 391.092,-826.067 335.466,-841.497"/>
<polygon fill="none" stroke="black" points="334.296,-838.19 325.595,-844.236 336.167,-844.935 334.296,-838.19"/>
</g>
<!-- \\MySQL_Util -->
<g id="node17" class="node"><title>\\MySQL_Util</title>
<polygon fill="none" stroke="black" points="625,-574 547,-574 547,-538 625,-538 625,-574"/>
<text text-anchor="middle" x="586" y="-552.6" font-family="Times Roman,serif" font-size="11.00">MySQL_Util</text>
</g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge31" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M546.316,-567.008C493.212,-581.739 399.123,-607.839 342.065,-623.667"/>
<polygon fill="none" stroke="black" points="340.905,-620.356 332.205,-626.402 342.777,-627.102 340.905,-620.356"/>
</g>
<!-- \\MySQL -->
<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 id="node18" class="node"><title>\\MySQL</title>
<polygon fill="none" stroke="black" points="613,-358 559,-358 559,-322 613,-322 613,-358"/>
<text text-anchor="middle" x="586" y="-336.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="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"/>
<!-- \\MySQL&#45;&gt;\\Abstract_Driver -->
<g id="edge33" class="edge"><title>\\MySQL&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M558.362,-346.446C528.522,-353.286 479.543,-364.166 437,-372 410.62,-376.858 381.366,-381.491 356.225,-385.241"/>
<polygon fill="none" stroke="black" points="355.467,-381.815 346.087,-386.74 356.491,-388.74 355.467,-381.815"/>
</g>
<!-- \\BadDBDriverException -->
<g id="node19" class="node"><title>\\BadDBDriverException</title>
<polygon fill="none" stroke="black" points="657,-250 515,-250 515,-214 657,-214 657,-250"/>
<text text-anchor="middle" x="586" y="-228.6" font-family="Times Roman,serif" font-size="11.00">BadDBDriverException</text>
</g>
<!-- \\InvalidArgumentException -->
<g id="node43" class="node"><title>\\InvalidArgumentException</title>
<ellipse fill="none" stroke="black" cx="294" cy="-72" rx="138.86" ry="18"/>
<text text-anchor="middle" x="294" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text>
</g>
<!-- \\BadDBDriverException&#45;&gt;\\InvalidArgumentException -->
<g id="edge35" class="edge"><title>\\BadDBDriverException&#45;&gt;\\InvalidArgumentException</title>
<path fill="none" stroke="black" d="M523.256,-213.95C518.211,-211.337 513.379,-208.369 509,-205 463.859,-170.276 484.626,-130.229 437,-99 429.555,-94.1182 421.45,-90.0687 413.008,-86.715"/>
<polygon fill="none" stroke="black" points="413.944,-83.3318 403.35,-83.2169 411.56,-89.9134 413.944,-83.3318"/>
</g>
<!-- \\BadConnectionException -->
<g id="node20" class="node"><title>\\BadConnectionException</title>
<polygon fill="none" stroke="black" points="663,-196 509,-196 509,-160 663,-160 663,-196"/>
<text text-anchor="middle" x="586" y="-174.6" font-family="Times Roman,serif" font-size="11.00">BadConnectionException</text>
</g>
<!-- \\UnexpectedValueException -->
<g id="node45" class="node"><title>\\UnexpectedValueException</title>
<ellipse fill="none" stroke="black" cx="294" cy="-18" rx="142.885" ry="18"/>
<text text-anchor="middle" x="294" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\UnexpectedValueException</text>
</g>
<!-- \\BadConnectionException&#45;&gt;\\UnexpectedValueException -->
<g id="edge37" class="edge"><title>\\BadConnectionException&#45;&gt;\\UnexpectedValueException</title>
<path fill="none" stroke="black" d="M571.649,-159.998C547.297,-130.794 494.857,-73.4973 437,-45 427.639,-40.3894 417.577,-36.5637 407.283,-33.3896"/>
<polygon fill="none" stroke="black" points="407.935,-29.9357 397.358,-30.5418 406.005,-36.6642 407.935,-29.9357"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -3,7 +3,7 @@
<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 » \DB_PDO</title>
<title>Query » \Abstract_Driver</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
@ -108,12 +108,12 @@ the connection/database</span><pre>get_system_tables()</pre></a></li>
</ul>
</div>
<div class="span8">
<a id="\DB_PDO"></a><ul class="breadcrumb">
<a id="\Abstract_Driver"></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/DB_PDO.html">DB_PDO</a>
<span class="divider">\</span><a href="../classes/Abstract_Driver.html">Abstract_Driver</a>
</li>
</ul>
<div class="element class">
@ -371,7 +371,7 @@ the connection/database</h2>
</div>
<a id="method_prepare_query"></a><div class="element clickable method public method_prepare_query" data-toggle="collapse" data-target=".method_prepare_query .collapse" title="public">
<h2>Simplifies prepared statements for database queries</h2>
<pre>prepare_query(string $sql, array $data) : mixed</pre>
<pre>prepare_query(string $sql, array $data) : <a href="PDOStatement.html">\PDOStatement</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
@ -391,7 +391,7 @@ the connection/database</h2>
</tr></table>
<h3>Returns</h3>
<div class="subelement response">
<code>mixed</code>PDOStatement / FALSE</div>
<code><a href="PDOStatement.html">\PDOStatement</a></code>PDOStatement / FALSE</div>
</div></div>
</div>
<a id="method_quote_ident"></a><div class="element clickable method public method_quote_ident" data-toggle="collapse" data-target=".method_quote_ident .collapse" title="public">
@ -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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -66,13 +66,18 @@
<li class="method public "><a href="#method_commit" title="commit() :: Commit a database transaction"><span class="description">Commit a database transaction</span><pre>commit()</pre></a></li>
<li class="method public "><a href="#method_errorCode" title="errorCode() :: Method to emulate PDO-&gt;errorCode"><span class="description">Method to emulate PDO-&gt;errorCode</span><pre>errorCode()</pre></a></li>
<li class="method public "><a href="#method_errorInfo" title="errorInfo() :: Method to emulate PDO-&gt;errorInfo / PDOStatement-&gt;errorInfo"><span class="description">Method to emulate PDO-&gt;errorInfo / PDOStatement-&gt;errorInfo</span><pre>errorInfo()</pre></a></li>
<li class="method public "><a href="#method_exec" title="exec() :: Execute an sql statement and return number of affected rows"><span class="description">Execute an sql statement and return number of affected rows</span><pre>exec()</pre></a></li>
<li class="method public "><a href="#method_getAttribute" title="getAttribute() :: Implement for compatibility with PDO"><span class="description">Implement for compatibility with PDO</span><pre>getAttribute()</pre></a></li>
<li class="method public "><a href="#method_inTransaction" title="inTransaction() :: Return whether the current statement is in a transaction"><span class="description">Return whether the current statement is in a transaction</span><pre>inTransaction()</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_lastInsertId" title="lastInsertId() :: Returns the last value of the specified generator"><span class="description">Returns the last value of the specified generator</span><pre>lastInsertId()</pre></a></li>
<li class="method public "><a href="#method_prepare" title="prepare() :: Emulate PDO prepare"><span class="description">Emulate PDO prepare</span><pre>prepare()</pre></a></li>
<li class="method public "><a href="#method_prepare_execute" title="prepare_execute() :: Prepare and execute a query"><span class="description">Prepare and execute a query</span><pre>prepare_execute()</pre></a></li>
<li class="method public "><a href="#method_prepare_query" title="prepare_query() :: Bind a prepared query with arguments for executing"><span class="description">Bind a prepared query with arguments for executing</span><pre>prepare_query()</pre></a></li>
<li class="method public "><a href="#method_query" title="query() :: Wrapper public function to better match PDO"><span class="description">Wrapper public function to better match PDO</span><pre>query()</pre></a></li>
<li class="method public "><a href="#method_quote" title="quote() :: Method to emulate PDO-&gt;quote"><span class="description">Method to emulate PDO-&gt;quote</span><pre>quote()</pre></a></li>
<li class="method public "><a href="#method_rollBack" title="rollBack() :: Rollback a transaction"><span class="description">Rollback a transaction</span><pre>rollBack()</pre></a></li>
<li class="method public "><a href="#method_setAttribute" title="setAttribute() :: Set a connection attribute"><span class="description">Set a connection attribute</span><pre>setAttribute()</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>
@ -143,12 +148,14 @@ the last query executed"><span class="description"></span><pre>$statement_link</
</div>
<a id="method_beginTransaction"></a><div class="element clickable method public method_beginTransaction" data-toggle="collapse" data-target=".method_beginTransaction .collapse" title="public">
<h2>Start a database transaction</h2>
<pre>beginTransaction() : bool</pre>
<pre>beginTransaction() : boolean | null</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
<div class="subelement response">
<code>boolean</code><code>null</code>
</div>
</div></div>
</div>
<a id="method_commit"></a><div class="element clickable method public method_commit" data-toggle="collapse" data-target=".method_commit .collapse" title="public">
@ -181,6 +188,46 @@ the last query executed"><span class="description"></span><pre>$statement_link</
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a id="method_exec"></a><div class="element clickable method public method_exec" data-toggle="collapse" data-target=".method_exec .collapse" title="public">
<h2>Execute an sql statement and return number of affected rows</h2>
<pre>exec(string $sql) : int</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>$sql</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>int</code></div>
</div></div>
</div>
<a id="method_getAttribute"></a><div class="element clickable method public method_getAttribute" data-toggle="collapse" data-target=".method_getAttribute .collapse" title="public">
<h2>Implement for compatibility with PDO</h2>
<pre>getAttribute(int $attribute) : mixed</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>$attribute</h4>
<code>int</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a id="method_inTransaction"></a><div class="element clickable method public method_inTransaction" data-toggle="collapse" data-target=".method_inTransaction .collapse" title="public">
<h2>Return whether the current statement is in a transaction</h2>
<pre>inTransaction() : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</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>
@ -200,16 +247,27 @@ the last query executed"><span class="description"></span><pre>$statement_link</
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a id="method_prepare"></a><div class="element clickable method public method_prepare" data-toggle="collapse" data-target=".method_prepare .collapse" title="public">
<h2>Emulate PDO prepare</h2>
<pre>prepare(string $query, array $options<code> = NULL</code>) : \Firebird</pre>
<a id="method_lastInsertId"></a><div class="element clickable method public method_lastInsertId" data-toggle="collapse" data-target=".method_lastInsertId .collapse" title="public">
<h2>Returns the last value of the specified generator</h2>
<pre>lastInsertId(string $name<code> = NULL</code>) : mixed</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>$name</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a id="method_prepare"></a><div class="element clickable method public method_prepare" data-toggle="collapse" data-target=".method_prepare .collapse" title="public">
<h2>Emulate PDO prepare</h2>
<pre>prepare(string $query, array $options<code> = array()</code>) : <a href="../classes/Firebird_Result.html">\Firebird_Result</a></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>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$query</h4>
@ -225,12 +283,12 @@ the last query executed"><span class="description"></span><pre>$statement_link</
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\Firebird</code></div>
<div class="subelement response"><code><a href="../classes/Firebird_Result.html">\Firebird_Result</a></code></div>
</div></div>
</div>
<a id="method_prepare_execute"></a><div class="element clickable method public method_prepare_execute" data-toggle="collapse" data-target=".method_prepare_execute .collapse" title="public">
<h2>Prepare and execute a query</h2>
<pre>prepare_execute(string $sql, array $args) : resource</pre>
<pre>prepare_execute(string $sql, array $args) : <a href="../classes/Firebird_Result.html">\Firebird_Result</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
@ -244,7 +302,7 @@ the last query executed"><span class="description"></span><pre>$statement_link</
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>resource</code></div>
<div class="subelement response"><code><a href="../classes/Firebird_Result.html">\Firebird_Result</a></code></div>
</div></div>
</div>
<a id="method_prepare_query"></a><div class="element clickable method public method_prepare_query" data-toggle="collapse" data-target=".method_prepare_query .collapse" title="public">
@ -268,14 +326,10 @@ the last query executed"><span class="description"></span><pre>$statement_link</
</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>Wrapper public function to better match PDO</h2>
<pre>query(string $sql) : \Firebird</pre>
<pre>query(string $sql<code> = ''</code>) : <a href="../classes/Firebird_Result.html">\Firebird_Result</a></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>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sql</h4>
@ -287,12 +341,12 @@ the last query executed"><span class="description"></span><pre>$statement_link</
<td></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\Firebird</code></div>
<div class="subelement response"><code><a href="../classes/Firebird_Result.html">\Firebird_Result</a></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>Method to emulate PDO-&gt;quote</h2>
<pre>quote(string $str, int $param_type<code> = NULL</code>) : string</pre>
<pre>quote(string $str, int $param_type<code> = \PDO::PARAM_STR</code>) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
@ -319,6 +373,25 @@ the last query executed"><span class="description"></span><pre>$statement_link</
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
<a id="method_setAttribute"></a><div class="element clickable method public method_setAttribute" data-toggle="collapse" data-target=".method_setAttribute .collapse" title="public">
<h2>Set a connection attribute</h2>
<pre>setAttribute(int $attribute, mixed $value) : bool</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>$attribute</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$value</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</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>
@ -360,7 +433,7 @@ the last query executed</h2>
<pre>$statement_link : 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>
@ -370,7 +443,7 @@ the last query executed</h2>
<pre>$trans : 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>
@ -383,7 +456,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -237,7 +237,7 @@ the query</h2>
</div>
<a id="method_execute"></a><div class="element clickable method public method_execute" data-toggle="collapse" data-target=".method_execute .collapse" title="public">
<h2>Run a prepared statement query</h2>
<pre>execute(array $args<code> = NULL</code>) : bool</pre>
<pre>execute(array $args<code> = NULL</code>) : <a href="../classes/Firebird_Result.html">\Firebird_Result</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
@ -247,7 +247,7 @@ the query</h2>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
<div class="subelement response"><code><a href="../classes/Firebird_Result.html">\Firebird_Result</a></code></div>
</div></div>
</div>
<a id="method_fetch"></a><div class="element clickable method public method_fetch" data-toggle="collapse" data-target=".method_fetch .collapse" title="public">
@ -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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -60,7 +60,6 @@
<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() :: Save a reference to the current connection object"><span class="description">Save a reference to the current connection object</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_backup_data" title="backup_data() :: Create an SQL backup file for the current database's data"><span class="description">Create an SQL backup file for the current database's data</span><pre>backup_data()</pre></a></li>
<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>
@ -99,19 +98,6 @@
</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>Save a reference to the current connection object</h2>
<pre>__construct(object $conn) : void</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>$conn</h4>
<code>object</code>
</div>
</div></div>
</div>
<a id="method_backup_data"></a><div class="element clickable method public method_backup_data" data-toggle="collapse" data-target=".method_backup_data .collapse" title="public">
<h2>Create an SQL backup file for the current database's data</h2>
<pre>backup_data(array $exclude<code> = array()</code>, bool $system_tables<code> = FALSE</code>) : string</pre>
@ -254,7 +240,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:01-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -60,7 +60,6 @@
<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() :: Save a reference to the current connection object"><span class="description">Save a reference to the current connection object</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_backup_data" title="backup_data() :: Create an SQL backup file for the current database's data"><span class="description">Create an SQL backup file for the current database's data</span><pre>backup_data()</pre></a></li>
<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>
@ -105,19 +104,6 @@
</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>Save a reference to the current connection object</h2>
<pre>__construct(object $conn) : void</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>$conn</h4>
<code>object</code>
</div>
</div></div>
</div>
<a id="method_backup_data"></a><div class="element clickable method public method_backup_data" data-toggle="collapse" data-target=".method_backup_data .collapse" title="public">
<h2>Create an SQL backup file for the current database's data</h2>
<pre>backup_data(array $exclude<code> = array()</code>) : string</pre>
@ -319,7 +305,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -1,183 +0,0 @@
<!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

@ -1,96 +0,0 @@
<!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

@ -1,96 +0,0 @@
<!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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -60,11 +60,14 @@
<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() :: Save a reference to the current connection object"><span class="description">Save a reference to the current connection object</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_backup_data" title="backup_data() :: Create an SQL backup file for the current database's data"><span class="description">Create an SQL backup file for the current database's data</span><pre>backup_data()</pre></a></li>
<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() :: Database-specific method to create a new table"><span class="description">Database-specific method to create a new table</span><pre>create_table()</pre></a></li>
<li class="method public "><a href="#method_delete_table" title="delete_table() :: Database-specific SQL for dropping a table"><span class="description">Database-specific SQL for dropping a table</span><pre>delete_table()</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>
@ -93,19 +96,6 @@
</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>Save a reference to the current connection object</h2>
<pre>__construct(object $conn) : void</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>$conn</h4>
<code>object</code>
</div>
</div></div>
</div>
<a id="method_backup_data"></a><div class="element clickable method public method_backup_data" data-toggle="collapse" data-target=".method_backup_data .collapse" title="public">
<h2>Create an SQL backup file for the current database's data</h2>
<pre>backup_data(array $exclude<code> = array()</code>) : string</pre>
@ -173,6 +163,48 @@
<div class="subelement response"><code>string</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>
@ -181,7 +213,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -123,6 +123,7 @@ passed array with key / value pairs</span><pre>where()</pre></a></li>
<li class="nav-header protected">» Protected
<ul>
<li class="method protected "><a href="#method__compile" title="_compile() :: String together the sql statements for sending to the db"><span class="description">String together the sql statements for sending to the db</span><pre>_compile()</pre></a></li>
<li class="method protected "><a href="#method__compile_type" title="_compile_type() :: Sub-method for generating sql strings"><span class="description">Sub-method for generating sql strings</span><pre>_compile_type()</pre></a></li>
<li class="method protected "><a href="#method__get_compile" title="_get_compile() :: Helper function for returning sql strings"><span class="description">Helper function for returning sql strings</span><pre>_get_compile()</pre></a></li>
<li class="method protected "><a href="#method__having" title="_having() :: Simplify building having clauses"><span class="description">Simplify building having clauses</span><pre>_having()</pre></a></li>
<li class="method protected "><a href="#method__like" title="_like() :: Simplify 'like' methods"><span class="description">Simplify 'like' methods</span><pre>_like()</pre></a></li>
@ -224,7 +225,7 @@ instantiates the specific db driver</p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$db</h4>
<code><a href="../classes/DB_PDO.html">\DB_PDO</a></code>
<code><a href="DB_PDO.html">\DB_PDO</a></code>
</div>
<div class="subelement argument">
<h4>$params</h4>
@ -624,7 +625,7 @@ execute current compiled query</h2>
</div>
<a id="method_limit"></a><div class="element clickable method public method_limit" data-toggle="collapse" data-target=".method_limit .collapse" title="public">
<h2>Set a limit on the current sql statement</h2>
<pre>limit(int $limit, int $offset<code> = FALSE</code>) : string</pre>
<pre>limit(int $limit, int $offset<code> = FALSE</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
@ -638,7 +639,7 @@ execute current compiled query</h2>
<code>int</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_not_like"></a><div class="element clickable method public method_not_like" data-toggle="collapse" data-target=".method_not_like .collapse" title="public">
@ -1120,6 +1121,25 @@ passed array with key / value pairs</h2>
<div class="subelement response"><code><a href="%24string.html">\$string</a></code></div>
</div></div>
</div>
<a id="method__compile_type"></a><div class="element clickable method protected method__compile_type" data-toggle="collapse" data-target=".method__compile_type .collapse" title="protected">
<h2>Sub-method for generating sql strings</h2>
<pre>_compile_type(string $type<code> = ''</code>, string $table<code> = ''</code>) : <a href="%24string.html">\$string</a></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>$type</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="%24string.html">\$string</a></code></div>
</div></div>
</div>
<a id="method__get_compile"></a><div class="element clickable method protected method__get_compile" data-toggle="collapse" data-target=".method__get_compile .collapse" title="protected">
<h2>Helper function for returning sql strings</h2>
<pre>_get_compile(string $type, string $table, bool $reset) </pre>
@ -1209,7 +1229,7 @@ passed array with key / value pairs</h2>
</div>
<a id="method__run"></a><div class="element clickable method protected method__run" data-toggle="collapse" data-target=".method__run .collapse" title="protected">
<h2>Executes the compiled query</h2>
<pre>_run(string $type, string $table, bool $simple<code> = FALSE</code>, string $sql<code> = NULL</code>, mixed $vals<code> = NULL</code>) : mixed</pre>
<pre>_run(string $type, string $table, string $sql<code> = NULL</code>, mixed $vals<code> = NULL</code>) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
@ -1223,10 +1243,6 @@ passed array with key / value pairs</h2>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$simple</h4>
<code>bool</code>
</div>
<div class="subelement argument">
<h4>$sql</h4>
<code>string</code>
</div>
@ -1393,7 +1409,7 @@ passed array with key / value pairs</h2>
<pre>$explain </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>FALSE</code></div>
<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>
@ -1413,7 +1429,7 @@ passed array with key / value pairs</h2>
<pre>$group_array </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
<div class="subelement argument"><code>array()</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
@ -1463,7 +1479,7 @@ passed array with key / value pairs</h2>
<pre>$order_array </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
<div class="subelement argument"><code>array()</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
@ -1503,7 +1519,7 @@ passed array with key / value pairs</h2>
<pre>$select_string </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
<div class="subelement argument"><code>''</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
@ -1513,7 +1529,7 @@ passed array with key / value pairs</h2>
<pre>$set_array_keys </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
<div class="subelement argument"><code>array()</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
@ -1556,7 +1572,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -104,7 +104,7 @@
<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 SQLite Database</h2>
<pre>__construct(string $dsn, string $user<code> = NULL</code>, string $pass<code> = NULL</code>) </pre>
<pre>__construct(string $dsn, string $user<code> = NULL</code>, string $pass<code> = NULL</code>, array $driver_options<code> = array()</code>) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
@ -121,16 +121,20 @@
<h4>$pass</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$driver_options</h4>
<code>array</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>List system tables for the current database</h2>
<pre>get_system_tables() : array</pre>
<pre>get_system_tables() : string[]</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
<div class="subelement response"><code>string[]</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">
@ -195,7 +199,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -236,12 +236,12 @@
</div>
<a id="method_type_list"></a><div class="element clickable method public method_type_list" data-toggle="collapse" data-target=".method_type_list .collapse" title="public">
<h2>SQL to show list of field types</h2>
<pre>type_list() : array</pre>
<pre>type_list() : string[]</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
<div class="subelement response"><code>string[]</code></div>
</div></div>
</div>
<a id="method_view_list"></a><div class="element clickable method public method_view_list" data-toggle="collapse" data-target=".method_view_list .collapse" title="public">
@ -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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -60,11 +60,14 @@
<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() :: Save a reference to the current connection object"><span class="description">Save a reference to the current connection object</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_backup_data" title="backup_data() :: Create an SQL backup file for the current database's data"><span class="description">Create an SQL backup file for the current database's data</span><pre>backup_data()</pre></a></li>
<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() :: Convenience public function to create a new table"><span class="description">Convenience public function to create a new table</span><pre>create_table()</pre></a></li>
<li class="method public "><a href="#method_delete_table" title="delete_table() :: SQL to drop the specified table"><span class="description">SQL to drop the specified table</span><pre>delete_table()</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>
@ -93,19 +96,6 @@
</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>Save a reference to the current connection object</h2>
<pre>__construct(object $conn) : void</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>$conn</h4>
<code>object</code>
</div>
</div></div>
</div>
<a id="method_backup_data"></a><div class="element clickable method public method_backup_data" data-toggle="collapse" data-target=".method_backup_data .collapse" title="public">
<h2>Create an SQL backup file for the current database's data</h2>
<pre>backup_data(array $excluded<code> = array()</code>) : string</pre>
@ -169,6 +159,48 @@
<div class="subelement response"><code>string</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>
@ -177,7 +209,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

302
docs/classes/idriver.html Normal file
View File

@ -0,0 +1,302 @@
<!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 » \idriver</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() :: Constructor/Connection method"><span class="description">Constructor/Connection method</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_beginTransaction" title="beginTransaction() :: Begin a transaction"><span class="description">Begin a transaction</span><pre>beginTransaction()</pre></a></li>
<li class="method public "><a href="#method_commit" title="commit() :: Commit a transaction"><span class="description">Commit a transaction</span><pre>commit()</pre></a></li>
<li class="method public "><a href="#method_errorCode" title="errorCode() :: Return the current error code"><span class="description">Return the current error code</span><pre>errorCode()</pre></a></li>
<li class="method public "><a href="#method_errorInfo" title="errorInfo() :: Return information about the current error"><span class="description">Return information about the current error</span><pre>errorInfo()</pre></a></li>
<li class="method public "><a href="#method_exec" title="exec() :: Execute an SQL statement and return the number of affected rows"><span class="description">Execute an SQL statement and return the number of affected rows</span><pre>exec()</pre></a></li>
<li class="method public "><a href="#method_getAttribute" title="getAttribute() :: Get a connection attribute for the current db driver"><span class="description">Get a connection attribute for the current db driver</span><pre>getAttribute()</pre></a></li>
<li class="method public "><a href="#method_inTransaction" title="inTransaction() :: Check if currently in a transaction"><span class="description">Check if currently in a transaction</span><pre>inTransaction()</pre></a></li>
<li class="method public "><a href="#method_lastInsertId" title="lastInsertId() :: Returns the id of the last row inserted into the database"><span class="description">Returns the id of the last row inserted into the database</span><pre>lastInsertId()</pre></a></li>
<li class="method public "><a href="#method_prepare" title="prepare() :: Prepare a statement for execution"><span class="description">Prepare a statement for execution</span><pre>prepare()</pre></a></li>
<li class="method public "><a href="#method_query" title="query() :: Executes an sql statement"><span class="description">Executes an sql statement</span><pre>query()</pre></a></li>
<li class="method public "><a href="#method_quote" title="quote() :: Quotes a string for use in a query"><span class="description">Quotes a string for use in a query</span><pre>quote()</pre></a></li>
<li class="method public "><a href="#method_rollback" title="rollback() :: Rollback a transaction"><span class="description">Rollback a transaction</span><pre>rollback()</pre></a></li>
<li class="method public "><a href="#method_setAttribute" title="setAttribute() :: Set a connection attribute"><span class="description">Set a connection attribute</span><pre>setAttribute()</pre></a></li>
</ul>
</li></ul>
</div>
<div class="span8">
<a id="\idriver"></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/idriver.html">idriver</a>
</li>
</ul>
<div class="element interface">
<p class="short_description">PDO Interface to implement for database drivers</p>
<div class="details">
<div class="long_description"></div>
<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>Constructor/Connection method</h2>
<pre>__construct(string $dsn, \[string] $username<code> = NULL</code>, \[string] $password<code> = NULL</code>, \[array] $driver_options<code> = array()</code>) : void</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><a href="%5Bstring%5D.html">\[string]</a></code>
</div>
<div class="subelement argument">
<h4>$password</h4>
<code><a href="%5Bstring%5D.html">\[string]</a></code>
</div>
<div class="subelement argument">
<h4>$driver_options</h4>
<code><a href="%5Barray%5D.html">\[array]</a></code>
</div>
</div></div>
</div>
<a id="method_beginTransaction"></a><div class="element clickable method public method_beginTransaction" data-toggle="collapse" data-target=".method_beginTransaction .collapse" title="public">
<h2>Begin a transaction</h2>
<pre>beginTransaction() : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
<a id="method_commit"></a><div class="element clickable method public method_commit" data-toggle="collapse" data-target=".method_commit .collapse" title="public">
<h2>Commit a transaction</h2>
<pre>commit() : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
<a id="method_errorCode"></a><div class="element clickable method public method_errorCode" data-toggle="collapse" data-target=".method_errorCode .collapse" title="public">
<h2>Return the current error code</h2>
<pre>errorCode() : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a id="method_errorInfo"></a><div class="element clickable method public method_errorInfo" data-toggle="collapse" data-target=".method_errorInfo .collapse" title="public">
<h2>Return information about the current error</h2>
<pre>errorInfo() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a id="method_exec"></a><div class="element clickable method public method_exec" data-toggle="collapse" data-target=".method_exec .collapse" title="public">
<h2>Execute an SQL statement and return the number of affected rows</h2>
<pre>exec(string $statement) : int</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>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>int</code></div>
</div></div>
</div>
<a id="method_getAttribute"></a><div class="element clickable method public method_getAttribute" data-toggle="collapse" data-target=".method_getAttribute .collapse" title="public">
<h2>Get a connection attribute for the current db driver</h2>
<pre>getAttribute(int $attribute) </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>returm</th>
<td>mixed</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$attribute</h4>
<code>int</code>
</div>
</div></div>
</div>
<a id="method_inTransaction"></a><div class="element clickable method public method_inTransaction" data-toggle="collapse" data-target=".method_inTransaction .collapse" title="public">
<h2>Check if currently in a transaction</h2>
<pre>inTransaction() : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
<a id="method_lastInsertId"></a><div class="element clickable method public method_lastInsertId" data-toggle="collapse" data-target=".method_lastInsertId .collapse" title="public">
<h2>Returns the id of the last row inserted into the database</h2>
<pre>lastInsertId(\[string] $name<code> = NULL</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>$name</h4>
<code><a href="%5Bstring%5D.html">\[string]</a></code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a id="method_prepare"></a><div class="element clickable method public method_prepare" data-toggle="collapse" data-target=".method_prepare .collapse" title="public">
<h2>Prepare a statement for execution</h2>
<pre>prepare(string $statement, \[array] $driver_options<code> = array()</code>) : <a href="PDOStatement.html">\PDOStatement</a></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>string</code>
</div>
<div class="subelement argument">
<h4>$driver_options</h4>
<code><a href="%5Barray%5D.html">\[array]</a></code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="PDOStatement.html">\PDOStatement</a></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>Executes an sql statement</h2>
<pre>query() : <a href="PDOStatement.html">\PDOStatement</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="PDOStatement.html">\PDOStatement</a></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>Quotes a string for use in a query</h2>
<pre>quote(string $string, \[int] $parameter_type<code> = \PDO::PARAM_STRING</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>$string</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$parameter_type</h4>
<code><a href="%5Bint%5D.html">\[int]</a></code><p>#return string</p></div>
</div></div>
</div>
<a id="method_rollback"></a><div class="element clickable method public method_rollback" data-toggle="collapse" data-target=".method_rollback .collapse" title="public">
<h2>Rollback a transaction</h2>
<pre>rollback() : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
<a id="method_setAttribute"></a><div class="element clickable method public method_setAttribute" data-toggle="collapse" data-target=".method_setAttribute .collapse" title="public">
<h2>Set a connection attribute</h2>
<pre>setAttribute(int $attribute, mixed $value) : bool</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>$attribute</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$value</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-26T20:50:45-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-03-17T19:32:01-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -85,15 +85,13 @@
<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-03-17T19:32:01-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:01-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -73,7 +73,7 @@
</tr>
<tr>
<td>todo</td>
<td>120</td>
<td>107</td>
<td>Implement Backup structure function</td>
</tr>
</table></div>
@ -90,7 +90,7 @@
</tr>
<tr>
<td>todo</td>
<td>114</td>
<td>105</td>
<td>Implement Backup 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-03-17T19:32:01-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -69,34 +69,32 @@ with array_map and glob</span><pre>do_include</pre></a></li>
<li class="function "><a href="#function_query_autoload" title="query_autoload() :: Load query classes"><span class="description">Load query classes</span><pre>query_autoload</pre></a></li>
<li class="nav-header">
<i title="Interfaces" class="icon-custom icon-interface"></i> Interfaces</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><a href="#iQuery_Builder" title="Interface defining the Query Builder class">iQuery_Builder</a></li>
<li><a href="#idriver" title="PDO Interface to implement for database drivers">idriver</a></li>
<li class="nav-header">
<i title="Classes" class="icon-custom icon-class"></i> Classes</li>
<li><a href="#DB_PDO" title="Base Database class">DB_PDO</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="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</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="#Abstract_Driver" title="Base Database class">Abstract_Driver</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>
<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_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</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" title="Firebird Database class">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="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</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="#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">
<i title="Constants" 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>
@ -109,7 +107,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -60,22 +60,19 @@
</li>
<li class="nav-header">
<i title="Classes" class="icon-custom icon-class"></i> Classes</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="#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>
<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_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</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" title="Firebird Database class">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="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</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>
</ul>
</div>
@ -139,27 +136,6 @@ 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>
@ -209,7 +185,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -60,17 +60,17 @@
</li>
<li class="nav-header">
<i title="Interfaces" class="icon-custom icon-interface"></i> Interfaces</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><a href="#iQuery_Builder" title="Interface defining the Query Builder class">iQuery_Builder</a></li>
<li class="nav-header">
<i title="Classes" class="icon-custom icon-class"></i> Classes</li>
<li><a href="#DB_PDO" title="Base Database class">DB_PDO</a></li>
<li><a href="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</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="#Abstract_Driver" title="Base Database class">Abstract_Driver</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="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
</ul>
</div>
<div class="span8 package-contents">
@ -97,6 +97,13 @@ instantiates the specific db driver">Query_Builder</a></li>
<div class="details collapse"></div>
<a href="../classes/iQuery_Builder.html" class="more">« More »</a>
</div>
<div id="Abstract_Driver" class="element ajax clickable class">
<h1>Abstract_Driver<a href="../classes/Abstract_Driver.html"></a>
</h1>
<p class="short_description">Base Database class</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_Driver.html" class="more">« More »</a>
</div>
<div id="BadConnectionException" class="element ajax clickable class">
<h1>BadConnectionException<a href="../classes/BadConnectionException.html"></a>
</h1>
@ -111,13 +118,6 @@ instantiates the specific db driver">Query_Builder</a></li>
<div class="details collapse"></div>
<a href="../classes/BadDBDriverException.html" class="more">« More »</a>
</div>
<div id="DB_PDO" class="element ajax clickable class">
<h1>DB_PDO<a href="../classes/DB_PDO.html"></a>
</h1>
<p class="short_description">Base Database class</p>
<div class="details collapse"></div>
<a href="../classes/DB_PDO.html" class="more">« More »</a>
</div>
<div id="DB_Util" class="element ajax clickable class">
<h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1>
@ -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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -75,6 +75,9 @@ with array_map and glob</span><pre>do_include</pre></a></li>
<li class="function "><a href="#function_mb_trim" title="mb_trim() :: Multibyte-safe trim function"><span class="description">Multibyte-safe trim function</span><pre>mb_trim</pre></a></li>
<li class="function "><a href="#function_query_autoload" title="query_autoload() :: Load query classes"><span class="description">Load query classes</span><pre>query_autoload</pre></a></li>
<li class="nav-header">
<i title="Interfaces" class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#idriver" title="PDO Interface to implement for database drivers">idriver</a></li>
<li class="nav-header">
<i title="Constants" 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_QDRIVER_PATH" title="QDRIVER_PATH() :: Path to driver classes"><span class="description">Path to driver classes</span><pre>QDRIVER_PATH</pre></a></li>
@ -179,6 +182,15 @@ with array_map and glob</h2>
</div></div>
</div>
<h3>
<i title="Classes" class="icon-custom icon-class"></i> Classes and interfaces</h3>
<div id="idriver" class="element ajax clickable interface">
<h1>idriver<a href="../classes/idriver.html"></a>
</h1>
<p class="short_description">PDO Interface to implement for database drivers</p>
<div class="details collapse"></div>
<a href="../classes/idriver.html" class="more">« More »</a>
</div>
<h3>
<i title="Constants" class="icon-custom icon-constant"></i> Constants</h3>
<a id="constant_QBASE_PATH"> </a><div class="element clickable constant constant_QBASE_PATH" data-toggle="collapse" data-target=".constant_QBASE_PATH .collapse" title="">
<h2>Reference to root path</h2>
@ -251,27 +263,6 @@ 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>
@ -338,6 +329,13 @@ data-fetching methods</p>
<div class="details collapse"></div>
<a href="../classes/iQuery_Builder.html" class="more">« More »</a>
</div>
<div id="Abstract_Driver" class="element ajax clickable class">
<h1>Abstract_Driver<a href="../classes/Abstract_Driver.html"></a>
</h1>
<p class="short_description">Base Database class</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_Driver.html" class="more">« More »</a>
</div>
<div id="BadConnectionException" class="element ajax clickable class">
<h1>BadConnectionException<a href="../classes/BadConnectionException.html"></a>
</h1>
@ -352,13 +350,6 @@ data-fetching methods</p>
<div class="details collapse"></div>
<a href="../classes/BadDBDriverException.html" class="more">« More »</a>
</div>
<div id="DB_PDO" class="element ajax clickable class">
<h1>DB_PDO<a href="../classes/DB_PDO.html"></a>
</h1>
<p class="short_description">Base Database class</p>
<div class="details collapse"></div>
<a href="../classes/DB_PDO.html" class="more">« More »</a>
</div>
<div id="DB_Util" class="element ajax clickable class">
<h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1>
@ -389,7 +380,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-03-17T19:32:00-04:00.<br></footer></div>
generated on 2014-03-26T20:50:45-04:00.<br></footer></div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@ -1,77 +0,0 @@
<?php
/**
* Query
*
* Free Query Builder / Database Abstraction Layer
*
* @package Query
* @author Timothy J. Warren
* @copyright Copyright (c) 2012 - 2014
* @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
/**
* Firebird Database class
*
* PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.
*
* @package Query
* @subpackage Drivers
*/
class PDO_Firebird extends DB_PDO {
/**
* Reference to the last query executed
*
* @var object
*/
protected $statement;
/**
* Open the link to the database
*
* @param string $dsn
* @param string $username
* @param string $password
* @param array $options
*/
public function __construct($dsn, $username='SYSDBA', $password='masterkey', $options = array())
{
if (strpos($dsn, 'firebird') === FALSE) $dsn = 'firebird:'.$dsn;
parent::__construct($dsn, $username, $password, $options);
}
// --------------------------------------------------------------------------
/**
* Empty a database table
*
* @param string $table
*/
public function truncate($table)
{
// Firebird lacks a truncate command
$sql = 'DELETE FROM "'.$table.'"';
$this->statement = $this->query($sql);
}
// --------------------------------------------------------------------------
/**
* Create sql for batch insert
*
* @param string $table
* @param array $data
* @return string
*/
public function insert_batch($table, $data=array())
{
// This is not very applicable to the firebird database
return NULL;
}
}
// End of pdo_firebird_driver.php

View File

@ -1,25 +0,0 @@
<?php
/**
* Query
*
* Free Query Builder / Database Abstraction Layer
*
* @package Query
* @author Timothy J. Warren
* @copyright Copyright (c) 2012 - 2014
* @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
require_once realpath(__DIR__ . '/../firebird/firebird_sql.php');
/**
* Firebird Specific SQL
*
* @package Query
* @subpackage Drivers
*/
class PDO_Firebird_SQL extends Firebird_SQL {}
//End of pdo_firebird_sql.php

View File

@ -1,25 +0,0 @@
<?php
/**
* Query
*
* Free Query Builder / Database Abstraction Layer
*
* @package Query
* @author Timothy J. Warren
* @copyright Copyright (c) 2012 - 2014
* @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
require_once realpath(__DIR__ . '/../firebird/firebird_util.php');
/**
* Firebird-specific backup, import and creation methods
*
* @package Query
* @subpackage Drivers
*/
class PDO_Firebird_Util extends Firebird_Util {}
// End of pdo_firebird_util.php

View File

@ -1,81 +0,0 @@
<?php
/**
* Query
*
* Free Query Builder / Database Abstraction Layer
*
* @package Query
* @author Timothy J. Warren
* @copyright Copyright (c) 2012 - 2014
* @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
require_once "../firebird/FirebirdQBTest.php";
/**
* Firebird Query Builder Tests
* @requires extension interbase
*/
class PDOFirebirdQBTest extends FirebirdQBTest {
public function setUp()
{
$dbpath = QTEST_DIR.QDS.'db_files'.QDS.'FB_TEST_DB.FDB';
// If the database isn't installed, skip the tests
if ( ! class_exists("PDO_Firebird"))
{
$this->markTestSkipped("Firebird extension for PDO not loaded");
}
// test the query builder
$params = new Stdclass();
$params->alias = 'pdo_fire';
$params->type = 'pdo_firebird';
$params->file = $dbpath;
$params->host = 'localhost';
$params->user = 'sysdba';
$params->pass = 'masterkey';
$params->prefix = 'create_';
$params->options = array();
$params->options[PDO::ATTR_PERSISTENT] = TRUE;
$this->db = Query($params);
}
// --------------------------------------------------------------------------
public function testGetNamedConnectionException()
{
try
{
$db = Query('pdo_fire');
}
catch(InvalidArgumentException $e)
{
$this->assertIsA($e, 'InvalidArgumentException');
}
}
// --------------------------------------------------------------------------
public function testGetNamedConnection()
{
$dbpath = QTEST_DIR.QDS.'db_files'.QDS.'FB_TEST_DB.FDB';
// test the query builder
$params = new Stdclass();
$params->alias = 'pdo_fire';
$params->type = 'pdo_firebird';
$params->file = $dbpath;
$params->host = 'localhost';
$params->user = 'sysdba';
$params->pass = 'masterkey';
$params->prefix = '';
$f_conn = Query($params);
$this->assertReference($f_conn, Query('fire'));
}
}

View File

@ -1,40 +0,0 @@
<?php
/**
* Query
*
* Free Query Builder / Database Abstraction Layer
*
* @package Query
* @author Timothy J. Warren
* @copyright Copyright (c) 2012 - 2014
* @link https://github.com/aviat4ion/Query
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
require_once "../firebird/FirebirdTest.php";
/**
* Firebirdtest class.
*
* @extends DBtest
* @requires extension interbase
*/
class PDOFirebirdTest extends FirebirdTest {
public function setUp()
{
$dbpath = QTEST_DIR.QDS.'db_files'.QDS.'FB_TEST_DB.FDB';
// If the database isn't installed, skip the tests
if ( ! class_exists("PDO_Firebird"))
{
$this->markTestSkipped("Firebird extension for PDO not loaded");
}
// test the db driver directly
$this->db = new PDO_Firebird('localhost:'.$dbpath);
$this->tables = $this->db->get_tables();
}
}

View File

@ -19,10 +19,6 @@
<testsuite name="FirebirdTests">
<file>databases/firebird/FirebirdTest.php</file>
<file>databases/firebird/FirebirdQBTest.php</file>
</testsuite>
<testsuite name="PDOFirebirdTests">
<file>databases/firebird/PDOFirebirdTest.php</file>
<file>databases/firebird/PDOFirebirdQBTest.php</file>
</testsuite>
<testsuite name="MySQLTests">
<file>databases/mysql/MySQLTest.php</file>