Fix database

This commit is contained in:
Timothy Warren 2012-04-26 16:50:41 -04:00
parent 4b6ad422bf
commit 6890520835
52 changed files with 1985 additions and 480 deletions

View File

@ -36,9 +36,9 @@
<!-- \\DB_SQL -->
<g id="node4" class="node"><title>\\DB_SQL</title>
<a xlink:href="src.sys.Query.classes.db_sql.html" xlink:title="«abstract»&lt;br/&gt;DB_SQL" target="_parent">
<polygon fill="none" stroke="black" points="486,-844 402,-844 402,-808 486,-808 486,-844"/>
<text text-anchor="start" x="410" y="-831.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="423.5" y="-818.233" font-family="Courier,monospace" font-size="11.00">DB_SQL</text>
<polygon fill="none" stroke="black" points="486,-898 402,-898 402,-862 486,-862 486,-898"/>
<text text-anchor="start" x="410" y="-885.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="423.5" y="-872.233" font-family="Courier,monospace" font-size="11.00">DB_SQL</text>
</a>
</g>
<!-- \\DB_PDO -->
@ -50,7 +50,7 @@
</a>
</g>
<!-- \\PDO -->
<g id="node33" class="node"><title>\\PDO</title>
<g id="node34" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="250" cy="-72" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="250" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
</g>
@ -62,173 +62,173 @@
<!-- \\Query_Builder -->
<g id="node6" class="node"><title>\\Query_Builder</title>
<a xlink:href="src.sys.Query.classes.query_builder.html" xlink:title="Query_Builder" target="_parent">
<polygon fill="none" stroke="black" points="713,-1276 609,-1276 609,-1240 713,-1240 713,-1276"/>
<text text-anchor="middle" x="661" y="-1254.6" font-family="Courier,monospace" font-size="11.00">Query_Builder</text>
<polygon fill="none" stroke="black" points="496,-682 392,-682 392,-646 496,-646 496,-682"/>
<text text-anchor="middle" x="444" y="-660.6" font-family="Courier,monospace" font-size="11.00">Query_Builder</text>
</a>
</g>
<!-- \\DB_Util -->
<g id="node7" class="node"><title>\\DB_Util</title>
<a xlink:href="src.sys.Query.classes.db_util.html" xlink:title="«abstract»&lt;br/&gt;DB_Util" target="_parent">
<polygon fill="none" stroke="black" points="486,-1114 402,-1114 402,-1078 486,-1078 486,-1114"/>
<text text-anchor="start" x="410" y="-1101.43" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="420" y="-1088.23" font-family="Courier,monospace" font-size="11.00">DB_Util</text>
<polygon fill="none" stroke="black" points="486,-1168 402,-1168 402,-1132 486,-1132 486,-1168"/>
<text text-anchor="start" x="410" y="-1155.43" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="420" y="-1142.23" font-family="Courier,monospace" font-size="11.00">DB_Util</text>
</a>
</g>
<!-- \\PgSQL_SQL -->
<g id="node8" class="node"><title>\\PgSQL_SQL</title>
<a xlink:href="src.sys.Query.drivers.pgsql.pgsql_sql.html" xlink:title="PgSQL_SQL" target="_parent">
<polygon fill="none" stroke="black" points="699,-736 623,-736 623,-700 699,-700 699,-736"/>
<text text-anchor="middle" x="661" y="-714.6" font-family="Courier,monospace" font-size="11.00">PgSQL_SQL</text>
<polygon fill="none" stroke="black" points="699,-790 623,-790 623,-754 699,-754 699,-790"/>
<text text-anchor="middle" x="661" y="-768.6" font-family="Courier,monospace" font-size="11.00">PgSQL_SQL</text>
</a>
</g>
<!-- \\PgSQL_SQL&#45;&gt;\\DB_SQL -->
<g id="edge5" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M622.482,-735.327C615.635,-738.493 608.588,-741.806 602,-745 562.87,-763.972 518.886,-786.632 487.28,-803.154"/>
<polygon fill="none" stroke="black" points="485.533,-800.118 478.299,-807.858 488.781,-806.319 485.533,-800.118"/>
<path fill="none" stroke="black" d="M622.482,-789.327C615.635,-792.493 608.588,-795.806 602,-799 562.87,-817.972 518.886,-840.632 487.28,-857.154"/>
<polygon fill="none" stroke="black" points="485.533,-854.118 478.299,-861.858 488.781,-860.319 485.533,-854.118"/>
</g>
<!-- \\PgSQL_Util -->
<g id="node9" class="node"><title>\\PgSQL_Util</title>
<a xlink:href="src.sys.Query.drivers.pgsql.pgsql_util.html" xlink:title="PgSQL_Util" target="_parent">
<polygon fill="none" stroke="black" points="703,-1006 619,-1006 619,-970 703,-970 703,-1006"/>
<text text-anchor="middle" x="661" y="-984.6" font-family="Courier,monospace" font-size="11.00">PgSQL_Util</text>
<polygon fill="none" stroke="black" points="703,-1060 619,-1060 619,-1024 703,-1024 703,-1060"/>
<text text-anchor="middle" x="661" y="-1038.6" font-family="Courier,monospace" font-size="11.00">PgSQL_Util</text>
</a>
</g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge7" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M620.899,-1006.06C614.554,-1009 608.082,-1012.05 602,-1015 562.87,-1033.97 518.886,-1056.63 487.28,-1073.15"/>
<polygon fill="none" stroke="black" points="485.533,-1070.12 478.299,-1077.86 488.781,-1076.32 485.533,-1070.12"/>
<path fill="none" stroke="black" d="M620.899,-1060.06C614.554,-1063 608.082,-1066.05 602,-1069 562.87,-1087.97 518.886,-1110.63 487.28,-1127.15"/>
<polygon fill="none" stroke="black" points="485.533,-1124.12 478.299,-1131.86 488.781,-1130.32 485.533,-1124.12"/>
</g>
<!-- \\PgSQL -->
<g id="node10" class="node"><title>\\PgSQL</title>
<a xlink:href="src.sys.Query.drivers.pgsql.pgsql_driver.html" xlink:title="PgSQL" target="_parent">
<polygon fill="none" stroke="black" points="688,-466 634,-466 634,-430 688,-430 688,-466"/>
<text text-anchor="middle" x="661" y="-444.6" font-family="Courier,monospace" font-size="11.00">PgSQL</text>
<polygon fill="none" stroke="black" points="688,-520 634,-520 634,-484 688,-484 688,-520"/>
<text text-anchor="middle" x="661" y="-498.6" font-family="Courier,monospace" font-size="11.00">PgSQL</text>
</a>
</g>
<!-- \\PgSQL&#45;&gt;\\DB_PDO -->
<g id="edge9" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M633.956,-444.635C599.771,-440.382 540.165,-432.965 496.821,-427.572"/>
<polygon fill="none" stroke="black" points="497.087,-424.078 486.732,-426.317 496.223,-431.025 497.087,-424.078"/>
<path fill="none" stroke="black" d="M633.956,-491.905C599.627,-479.091 539.662,-456.708 496.273,-440.512"/>
<polygon fill="none" stroke="black" points="497.324,-437.169 486.732,-436.95 494.876,-443.727 497.324,-437.169"/>
</g>
<!-- \\ODBC_Util -->
<g id="node11" class="node"><title>\\ODBC_Util</title>
<a xlink:href="src.sys.Query.drivers.odbc.odbc_util.html" xlink:title="ODBC_Util" target="_parent">
<polygon fill="none" stroke="black" points="699,-1222 623,-1222 623,-1186 699,-1186 699,-1222"/>
<text text-anchor="middle" x="661" y="-1200.6" font-family="Courier,monospace" font-size="11.00">ODBC_Util</text>
<polygon fill="none" stroke="black" points="699,-1276 623,-1276 623,-1240 699,-1240 699,-1276"/>
<text text-anchor="middle" x="661" y="-1254.6" font-family="Courier,monospace" font-size="11.00">ODBC_Util</text>
</a>
</g>
<!-- \\ODBC_Util&#45;&gt;\\DB_Util -->
<g id="edge11" class="edge"><title>\\ODBC_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M622.482,-1186.67C615.635,-1183.51 608.588,-1180.19 602,-1177 562.87,-1158.03 518.886,-1135.37 487.28,-1118.85"/>
<polygon fill="none" stroke="black" points="488.781,-1115.68 478.299,-1114.14 485.533,-1121.88 488.781,-1115.68"/>
<path fill="none" stroke="black" d="M622.482,-1240.67C615.635,-1237.51 608.588,-1234.19 602,-1231 562.87,-1212.03 518.886,-1189.37 487.28,-1172.85"/>
<polygon fill="none" stroke="black" points="488.781,-1169.68 478.299,-1168.14 485.533,-1175.88 488.781,-1169.68"/>
</g>
<!-- \\ODBC_SQL -->
<g id="node12" class="node"><title>\\ODBC_SQL</title>
<a xlink:href="src.sys.Query.drivers.odbc.odbc_sql.html" xlink:title="ODBC_SQL" target="_parent">
<polygon fill="none" stroke="black" points="696,-952 626,-952 626,-916 696,-916 696,-952"/>
<text text-anchor="middle" x="661" y="-930.6" font-family="Courier,monospace" font-size="11.00">ODBC_SQL</text>
<polygon fill="none" stroke="black" points="696,-1006 626,-1006 626,-970 696,-970 696,-1006"/>
<text text-anchor="middle" x="661" y="-984.6" font-family="Courier,monospace" font-size="11.00">ODBC_SQL</text>
</a>
</g>
<!-- \\ODBC_SQL&#45;&gt;\\DB_SQL -->
<g id="edge13" class="edge"><title>\\ODBC_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M625.938,-918.266C618.033,-914.632 609.703,-910.735 602,-907 562.87,-888.028 518.886,-865.368 487.28,-848.846"/>
<polygon fill="none" stroke="black" points="488.781,-845.681 478.299,-844.142 485.533,-851.882 488.781,-845.681"/>
<path fill="none" stroke="black" d="M625.938,-972.266C618.033,-968.632 609.703,-964.735 602,-961 562.87,-942.028 518.886,-919.368 487.28,-902.846"/>
<polygon fill="none" stroke="black" points="488.781,-899.681 478.299,-898.142 485.533,-905.882 488.781,-899.681"/>
</g>
<!-- \\ODBC -->
<g id="node13" class="node"><title>\\ODBC</title>
<a xlink:href="src.sys.Query.drivers.odbc.odbc_driver.html" xlink:title="ODBC" target="_parent">
<polygon fill="none" stroke="black" points="688,-412 634,-412 634,-376 688,-376 688,-412"/>
<text text-anchor="middle" x="661" y="-390.6" font-family="Courier,monospace" font-size="11.00">ODBC</text>
<polygon fill="none" stroke="black" points="688,-466 634,-466 634,-430 688,-430 688,-466"/>
<text text-anchor="middle" x="661" y="-444.6" font-family="Courier,monospace" font-size="11.00">ODBC</text>
</a>
</g>
<!-- \\ODBC&#45;&gt;\\DB_PDO -->
<g id="edge15" class="edge"><title>\\ODBC&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M633.956,-397.365C599.771,-401.618 540.165,-409.035 496.821,-414.428"/>
<polygon fill="none" stroke="black" points="496.223,-410.975 486.732,-415.683 497.087,-417.922 496.223,-410.975"/>
<path fill="none" stroke="black" d="M633.956,-444.635C599.771,-440.382 540.165,-432.965 496.821,-427.572"/>
<polygon fill="none" stroke="black" points="497.087,-424.078 486.732,-426.317 496.223,-431.025 497.087,-424.078"/>
</g>
<!-- \\MySQL_Util -->
<g id="node14" class="node"><title>\\MySQL_Util</title>
<a xlink:href="src.sys.Query.drivers.mysql.mysql_util.html" xlink:title="MySQL_Util" target="_parent">
<polygon fill="none" stroke="black" points="703,-1168 619,-1168 619,-1132 703,-1132 703,-1168"/>
<text text-anchor="middle" x="661" y="-1146.6" font-family="Courier,monospace" font-size="11.00">MySQL_Util</text>
<polygon fill="none" stroke="black" points="703,-1222 619,-1222 619,-1186 703,-1186 703,-1222"/>
<text text-anchor="middle" x="661" y="-1200.6" font-family="Courier,monospace" font-size="11.00">MySQL_Util</text>
</a>
</g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge17" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M618.387,-1139.4C583.375,-1130.68 533.634,-1118.31 496.229,-1109"/>
<polygon fill="none" stroke="black" points="497.065,-1105.6 486.516,-1106.58 495.375,-1112.39 497.065,-1105.6"/>
<path fill="none" stroke="black" d="M618.387,-1193.4C583.375,-1184.68 533.634,-1172.31 496.229,-1163"/>
<polygon fill="none" stroke="black" points="497.065,-1159.6 486.516,-1160.58 495.375,-1166.39 497.065,-1159.6"/>
</g>
<!-- \\MySQL -->
<g id="node15" class="node"><title>\\MySQL</title>
<a xlink:href="src.sys.Query.drivers.mysql.mysql_driver.html" xlink:title="MySQL" target="_parent">
<polygon fill="none" stroke="black" points="688,-358 634,-358 634,-322 688,-322 688,-358"/>
<text text-anchor="middle" x="661" y="-336.6" font-family="Courier,monospace" font-size="11.00">MySQL</text>
<polygon fill="none" stroke="black" points="688,-412 634,-412 634,-376 688,-376 688,-412"/>
<text text-anchor="middle" x="661" y="-390.6" font-family="Courier,monospace" font-size="11.00">MySQL</text>
</a>
</g>
<!-- \\MySQL&#45;&gt;\\DB_PDO -->
<g id="edge19" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M633.696,-352.442C596.87,-369.202 535.253,-397.161 530,-399 519.42,-402.704 507.91,-406.08 496.853,-409.014"/>
<polygon fill="none" stroke="black" points="495.678,-405.702 486.864,-411.581 497.421,-412.482 495.678,-405.702"/>
<path fill="none" stroke="black" d="M633.956,-397.365C599.771,-401.618 540.165,-409.035 496.821,-414.428"/>
<polygon fill="none" stroke="black" points="496.223,-410.975 486.732,-415.683 497.087,-417.922 496.223,-410.975"/>
</g>
<!-- \\MySQL_SQL -->
<g id="node16" class="node"><title>\\MySQL_SQL</title>
<a xlink:href="src.sys.Query.drivers.mysql.mysql_sql.html" xlink:title="MySQL_SQL" target="_parent">
<polygon fill="none" stroke="black" points="700,-898 622,-898 622,-862 700,-862 700,-898"/>
<text text-anchor="middle" x="661" y="-876.6" font-family="Courier,monospace" font-size="11.00">MySQL_SQL</text>
<polygon fill="none" stroke="black" points="700,-952 622,-952 622,-916 700,-916 700,-952"/>
<text text-anchor="middle" x="661" y="-930.6" font-family="Courier,monospace" font-size="11.00">MySQL_SQL</text>
</a>
</g>
<!-- \\MySQL_SQL&#45;&gt;\\DB_SQL -->
<g id="edge21" class="edge"><title>\\MySQL_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M621.954,-870.284C587.006,-861.587 535.473,-848.763 496.845,-839.15"/>
<polygon fill="none" stroke="black" points="497.369,-835.674 486.82,-836.656 495.678,-842.467 497.369,-835.674"/>
<path fill="none" stroke="black" d="M621.954,-924.284C587.006,-915.587 535.473,-902.763 496.845,-893.15"/>
<polygon fill="none" stroke="black" points="497.369,-889.674 486.82,-890.656 495.678,-896.467 497.369,-889.674"/>
</g>
<!-- \\SQLite_Util -->
<g id="node17" class="node"><title>\\SQLite_Util</title>
<a xlink:href="src.sys.Query.drivers.sqlite.sqlite_util.html" xlink:title="SQLite_Util" target="_parent">
<polygon fill="none" stroke="black" points="706,-1114 616,-1114 616,-1078 706,-1078 706,-1114"/>
<text text-anchor="middle" x="661" y="-1092.6" font-family="Courier,monospace" font-size="11.00">SQLite_Util</text>
<polygon fill="none" stroke="black" points="706,-1168 616,-1168 616,-1132 706,-1132 706,-1168"/>
<text text-anchor="middle" x="661" y="-1146.6" font-family="Courier,monospace" font-size="11.00">SQLite_Util</text>
</a>
</g>
<!-- \\SQLite_Util&#45;&gt;\\DB_Util -->
<g id="edge23" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M615.245,-1096C580.727,-1096 533.299,-1096 497.108,-1096"/>
<polygon fill="none" stroke="black" points="496.742,-1092.5 486.742,-1096 496.742,-1099.5 496.742,-1092.5"/>
<path fill="none" stroke="black" d="M615.245,-1150C580.727,-1150 533.299,-1150 497.108,-1150"/>
<polygon fill="none" stroke="black" points="496.742,-1146.5 486.742,-1150 496.742,-1153.5 496.742,-1146.5"/>
</g>
<!-- \\SQLite -->
<g id="node18" class="node"><title>\\SQLite</title>
<a xlink:href="src.sys.Query.drivers.sqlite.sqlite_driver.html" xlink:title="SQLite" target="_parent">
<polygon fill="none" stroke="black" points="689,-574 633,-574 633,-538 689,-538 689,-574"/>
<text text-anchor="middle" x="661" y="-552.6" font-family="Courier,monospace" font-size="11.00">SQLite</text>
<polygon fill="none" stroke="black" points="689,-358 633,-358 633,-322 689,-322 689,-358"/>
<text text-anchor="middle" x="661" y="-336.6" font-family="Courier,monospace" font-size="11.00">SQLite</text>
</a>
</g>
<!-- \\SQLite&#45;&gt;\\DB_PDO -->
<g id="edge25" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M632.302,-544.048C622.51,-539.661 611.611,-534.431 602,-529 556.522,-503.299 507.311,-468.432 476.106,-445.351"/>
<polygon fill="none" stroke="black" points="477.912,-442.332 467.8,-439.171 473.733,-447.948 477.912,-442.332"/>
<path fill="none" stroke="black" d="M632.449,-353.01C595.496,-369.825 535.194,-397.181 530,-399 519.42,-402.704 507.91,-406.08 496.853,-409.014"/>
<polygon fill="none" stroke="black" points="495.678,-405.702 486.864,-411.581 497.421,-412.482 495.678,-405.702"/>
</g>
<!-- \\SQLite_SQL -->
<g id="node19" class="node"><title>\\SQLite_SQL</title>
<a xlink:href="src.sys.Query.drivers.sqlite.sqlite_sql.html" xlink:title="SQLite_SQL" target="_parent">
<polygon fill="none" stroke="black" points="703,-844 619,-844 619,-808 703,-808 703,-844"/>
<text text-anchor="middle" x="661" y="-822.6" font-family="Courier,monospace" font-size="11.00">SQLite_SQL</text>
<polygon fill="none" stroke="black" points="703,-898 619,-898 619,-862 703,-862 703,-898"/>
<text text-anchor="middle" x="661" y="-876.6" font-family="Courier,monospace" font-size="11.00">SQLite_SQL</text>
</a>
</g>
<!-- \\SQLite_SQL&#45;&gt;\\DB_SQL -->
<g id="edge27" class="edge"><title>\\SQLite_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M618.903,-826C584.091,-826 534.461,-826 496.956,-826"/>
<polygon fill="none" stroke="black" points="496.721,-822.5 486.721,-826 496.721,-829.5 496.721,-822.5"/>
<path fill="none" stroke="black" d="M618.903,-880C584.091,-880 534.461,-880 496.956,-880"/>
<polygon fill="none" stroke="black" points="496.721,-876.5 486.721,-880 496.721,-883.5 496.721,-876.5"/>
</g>
<!-- \\Firebird_SQL -->
<g id="node20" class="node"><title>\\Firebird_SQL</title>
<a xlink:href="src.sys.Query.drivers.firebird.firebird_sql.html" xlink:title="Firebird_SQL" target="_parent">
<polygon fill="none" stroke="black" points="709,-790 613,-790 613,-754 709,-754 709,-790"/>
<text text-anchor="middle" x="661" y="-768.6" font-family="Courier,monospace" font-size="11.00">Firebird_SQL</text>
<polygon fill="none" stroke="black" points="709,-844 613,-844 613,-808 709,-808 709,-844"/>
<text text-anchor="middle" x="661" y="-822.6" font-family="Courier,monospace" font-size="11.00">Firebird_SQL</text>
</a>
</g>
<!-- \\Firebird_SQL&#45;&gt;\\DB_SQL -->
<g id="edge29" class="edge"><title>\\Firebird_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M612.301,-784.119C577.954,-792.666 531.98,-804.106 496.761,-812.87"/>
<polygon fill="none" stroke="black" points="495.527,-809.571 486.668,-815.382 497.217,-816.364 495.527,-809.571"/>
<path fill="none" stroke="black" d="M612.301,-838.119C577.954,-846.666 531.98,-858.106 496.761,-866.87"/>
<polygon fill="none" stroke="black" points="495.527,-863.571 486.668,-869.382 497.217,-870.364 495.527,-863.571"/>
</g>
<!-- \\Firebird_Result -->
<g id="node21" class="node"><title>\\Firebird_Result</title>
@ -238,7 +238,7 @@
</a>
</g>
<!-- \\PDOStatement -->
<g id="node48" class="node"><title>\\PDOStatement</title>
<g id="node49" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="444" cy="-72" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="444" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g>
@ -250,122 +250,134 @@
<!-- \\Firebird -->
<g id="node22" class="node"><title>\\Firebird</title>
<a xlink:href="src.sys.Query.drivers.firebird.firebird_driver.html" xlink:title="Firebird" target="_parent">
<polygon fill="none" stroke="black" points="696,-520 626,-520 626,-484 696,-484 696,-520"/>
<text text-anchor="middle" x="661" y="-498.6" font-family="Courier,monospace" font-size="11.00">Firebird</text>
<polygon fill="none" stroke="black" points="696,-574 626,-574 626,-538 696,-538 696,-574"/>
<text text-anchor="middle" x="661" y="-552.6" font-family="Courier,monospace" font-size="11.00">Firebird</text>
</a>
</g>
<!-- \\Firebird&#45;&gt;\\DB_PDO -->
<g id="edge33" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M625.652,-488.806C590.592,-475.719 536.458,-455.512 496.399,-440.559"/>
<polygon fill="none" stroke="black" points="497.388,-437.192 486.795,-436.974 494.94,-443.75 497.388,-437.192"/>
<path fill="none" stroke="black" d="M625.878,-541.118C617.898,-537.411 609.551,-533.268 602,-529 556.522,-503.299 507.311,-468.432 476.106,-445.351"/>
<polygon fill="none" stroke="black" points="477.912,-442.332 467.8,-439.171 473.733,-447.948 477.912,-442.332"/>
</g>
<!-- \\Firebird_Util -->
<g id="node23" class="node"><title>\\Firebird_Util</title>
<a xlink:href="src.sys.Query.drivers.firebird.firebird_util.html" xlink:title="Firebird_Util" target="_parent">
<polygon fill="none" stroke="black" points="713,-1060 609,-1060 609,-1024 713,-1024 713,-1060"/>
<text text-anchor="middle" x="661" y="-1038.6" font-family="Courier,monospace" font-size="11.00">Firebird_Util</text>
<polygon fill="none" stroke="black" points="713,-1114 609,-1114 609,-1078 713,-1078 713,-1114"/>
<text text-anchor="middle" x="661" y="-1092.6" font-family="Courier,monospace" font-size="11.00">Firebird_Util</text>
</a>
</g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="edge35" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M608.747,-1055C574.732,-1063.47 530.524,-1074.47 496.466,-1082.94"/>
<polygon fill="none" stroke="black" points="495.556,-1079.56 486.697,-1085.37 497.246,-1086.36 495.556,-1079.56"/>
<path fill="none" stroke="black" d="M608.747,-1109C574.732,-1117.47 530.524,-1128.47 496.466,-1136.94"/>
<polygon fill="none" stroke="black" points="495.556,-1133.56 486.697,-1139.37 497.246,-1140.36 495.556,-1133.56"/>
</g>
<!-- \\DB -->
<g id="node24" class="node"><title>\\DB</title>
<a xlink:href="src.sys.db.html" xlink:title="DB" target="_parent">
<polygon fill="none" stroke="black" points="688,-682 634,-682 634,-646 688,-646 688,-682"/>
<text text-anchor="middle" x="661" y="-660.6" font-family="Courier,monospace" font-size="11.00">DB</text>
</a>
</g>
<!-- \\DB&#45;&gt;\\Query_Builder -->
<g id="edge37" class="edge"><title>\\DB&#45;&gt;\\Query_Builder</title>
<path fill="none" stroke="black" d="M633.956,-664C602.258,-664 548.701,-664 506.52,-664"/>
<polygon fill="none" stroke="black" points="506.337,-660.5 496.337,-664 506.337,-667.5 506.337,-660.5"/>
</g>
<!-- \\miniMVC -->
<g id="node24" class="node"><title>\\miniMVC</title>
<g id="node25" class="node"><title>\\miniMVC</title>
<a xlink:href="src.sys.miniMVC.html" xlink:title="miniMVC" target="_parent">
<polygon fill="none" stroke="black" points="282,-655 218,-655 218,-619 282,-619 282,-655"/>
<text text-anchor="middle" x="250" y="-633.6" font-family="Courier,monospace" font-size="11.00">miniMVC</text>
<polygon fill="none" stroke="black" points="282,-682 218,-682 218,-646 282,-646 282,-682"/>
<text text-anchor="middle" x="250" y="-660.6" font-family="Courier,monospace" font-size="11.00">miniMVC</text>
</a>
</g>
<!-- \\ArrayObject -->
<g id="node52" class="node"><title>\\ArrayObject</title>
<ellipse fill="none" stroke="black" cx="71" cy="-637" rx="71.107" ry="18"/>
<text text-anchor="middle" x="71" y="-632.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\ArrayObject</text>
<g id="node54" class="node"><title>\\ArrayObject</title>
<ellipse fill="none" stroke="black" cx="71" cy="-664" rx="71.107" ry="18"/>
<text text-anchor="middle" x="71" y="-659.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\ArrayObject</text>
</g>
<!-- \\miniMVC&#45;&gt;\\ArrayObject -->
<g id="edge37" class="edge"><title>\\miniMVC&#45;&gt;\\ArrayObject</title>
<path fill="none" stroke="black" d="M217.169,-637C198.882,-637 175.232,-637 152.306,-637"/>
<polygon fill="none" stroke="black" points="152.196,-633.5 142.196,-637 152.196,-640.5 152.196,-633.5"/>
<g id="edge39" class="edge"><title>\\miniMVC&#45;&gt;\\ArrayObject</title>
<path fill="none" stroke="black" d="M217.169,-664C198.882,-664 175.232,-664 152.306,-664"/>
<polygon fill="none" stroke="black" points="152.196,-660.5 142.196,-664 152.196,-667.5 152.196,-660.5"/>
</g>
<!-- \\MM_Controller -->
<g id="node25" class="node"><title>\\MM_Controller</title>
<g id="node26" class="node"><title>\\MM_Controller</title>
<a xlink:href="src.sys.miniMVC.html" xlink:title="MM_Controller" target="_parent">
<polygon fill="none" stroke="black" points="496,-682 392,-682 392,-646 496,-646 496,-682"/>
<text text-anchor="middle" x="444" y="-660.6" font-family="Courier,monospace" font-size="11.00">MM_Controller</text>
<polygon fill="none" stroke="black" points="496,-628 392,-628 392,-592 496,-592 496,-628"/>
<text text-anchor="middle" x="444" y="-606.6" font-family="Courier,monospace" font-size="11.00">MM_Controller</text>
</a>
</g>
<!-- \\MM_Controller&#45;&gt;\\miniMVC -->
<g id="edge39" class="edge"><title>\\MM_Controller&#45;&gt;\\miniMVC</title>
<path fill="none" stroke="black" d="M391.245,-656.658C360.367,-652.36 321.875,-647.003 292.876,-642.967"/>
<polygon fill="none" stroke="black" points="293.041,-639.457 282.654,-641.545 292.076,-646.39 293.041,-639.457"/>
<g id="edge41" class="edge"><title>\\MM_Controller&#45;&gt;\\miniMVC</title>
<path fill="none" stroke="black" d="M391.245,-624.684C360.231,-633.317 321.538,-644.087 292.495,-652.171"/>
<polygon fill="none" stroke="black" points="291.349,-648.857 282.654,-654.911 293.226,-655.601 291.349,-648.857"/>
</g>
<!-- \\MM_Model -->
<g id="node26" class="node"><title>\\MM_Model</title>
<g id="node27" class="node"><title>\\MM_Model</title>
<a xlink:href="src.sys.miniMVC.html" xlink:title="MM_Model" target="_parent">
<polygon fill="none" stroke="black" points="479,-628 409,-628 409,-592 479,-592 479,-628"/>
<text text-anchor="middle" x="444" y="-606.6" font-family="Courier,monospace" font-size="11.00">MM_Model</text>
<polygon fill="none" stroke="black" points="479,-736 409,-736 409,-700 479,-700 479,-736"/>
<text text-anchor="middle" x="444" y="-714.6" font-family="Courier,monospace" font-size="11.00">MM_Model</text>
</a>
</g>
<!-- \\MM_Model&#45;&gt;\\miniMVC -->
<g id="edge41" class="edge"><title>\\MM_Model&#45;&gt;\\miniMVC</title>
<path fill="none" stroke="black" d="M408.417,-614.952C375.902,-619.478 327.746,-626.18 293.069,-631.006"/>
<polygon fill="none" stroke="black" points="292.194,-627.594 282.772,-632.439 293.159,-634.527 292.194,-627.594"/>
<g id="edge43" class="edge"><title>\\MM_Model&#45;&gt;\\miniMVC</title>
<path fill="none" stroke="black" d="M408.417,-708.096C375.762,-699.006 327.33,-685.525 292.621,-675.864"/>
<polygon fill="none" stroke="black" points="293.345,-672.432 282.772,-673.122 291.467,-679.176 293.345,-672.432"/>
</g>
<!-- \\R -->
<g id="node27" class="node"><title>\\R</title>
<g id="node28" class="node"><title>\\R</title>
<a xlink:href="src.sys.r.html" xlink:title="R" target="_parent">
<polygon fill="none" stroke="black" points="688,-142 634,-142 634,-106 688,-106 688,-142"/>
<text text-anchor="middle" x="661" y="-120.6" font-family="Courier,monospace" font-size="11.00">R</text>
</a>
</g>
<!-- \\ReflectionClass -->
<g id="node56" class="node"><title>\\ReflectionClass</title>
<g id="node58" class="node"><title>\\ReflectionClass</title>
<ellipse fill="none" stroke="black" cx="444" cy="-18" rx="85.865" ry="18"/>
<text text-anchor="middle" x="444" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\ReflectionClass</text>
</g>
<!-- \\R&#45;&gt;\\ReflectionClass -->
<g id="edge43" class="edge"><title>\\R&#45;&gt;\\ReflectionClass</title>
<g id="edge45" class="edge"><title>\\R&#45;&gt;\\ReflectionClass</title>
<path fill="none" stroke="black" d="M634.925,-105.713C609.191,-88.2937 568.256,-62.2422 530,-45 522.412,-41.58 514.264,-38.4156 506.118,-35.5482"/>
<polygon fill="none" stroke="black" points="507.182,-32.2136 496.588,-32.3212 504.937,-38.8438 507.182,-32.2136"/>
</g>
<!-- \\MM_Page -->
<g id="node28" class="node"><title>\\MM_Page</title>
<g id="node29" class="node"><title>\\MM_Page</title>
<a xlink:href="src.sys.page.html" xlink:title="MM_Page" target="_parent">
<polygon fill="none" stroke="black" points="693,-304 629,-304 629,-268 693,-268 693,-304"/>
<text text-anchor="middle" x="661" y="-282.6" font-family="Courier,monospace" font-size="11.00">MM_Page</text>
</a>
</g>
<!-- \\MM_Output -->
<g id="node29" class="node"><title>\\MM_Output</title>
<g id="node30" class="node"><title>\\MM_Output</title>
<a xlink:href="src.sys.output.html" xlink:title="MM_Output" target="_parent">
<polygon fill="none" stroke="black" points="700,-250 622,-250 622,-214 700,-214 700,-250"/>
<text text-anchor="middle" x="661" y="-228.6" font-family="Courier,monospace" font-size="11.00">MM_Output</text>
</a>
</g>
<!-- \\Welcome_Model -->
<g id="node30" class="node"><title>\\Welcome_Model</title>
<g id="node31" class="node"><title>\\Welcome_Model</title>
<a xlink:href="src.modules.welcome.models.welcome_model.html" xlink:title="Welcome_Model" target="_parent">
<polygon fill="none" stroke="black" points="713,-628 609,-628 609,-592 713,-592 713,-628"/>
<text text-anchor="middle" x="661" y="-606.6" font-family="Courier,monospace" font-size="11.00">Welcome_Model</text>
<polygon fill="none" stroke="black" points="713,-736 609,-736 609,-700 713,-700 713,-736"/>
<text text-anchor="middle" x="661" y="-714.6" font-family="Courier,monospace" font-size="11.00">Welcome_Model</text>
</a>
</g>
<!-- \\Welcome_Model&#45;&gt;\\MM_Model -->
<g id="edge45" class="edge"><title>\\Welcome_Model&#45;&gt;\\MM_Model</title>
<path fill="none" stroke="black" d="M608.747,-610C572.492,-610 524.655,-610 489.874,-610"/>
<polygon fill="none" stroke="black" points="489.526,-606.5 479.526,-610 489.526,-613.5 489.526,-606.5"/>
<g id="edge47" class="edge"><title>\\Welcome_Model&#45;&gt;\\MM_Model</title>
<path fill="none" stroke="black" d="M608.747,-718C572.492,-718 524.655,-718 489.874,-718"/>
<polygon fill="none" stroke="black" points="489.526,-714.5 479.526,-718 489.526,-721.5 489.526,-714.5"/>
</g>
<!-- \\Welcome -->
<g id="node31" class="node"><title>\\Welcome</title>
<g id="node32" class="node"><title>\\Welcome</title>
<a xlink:href="src.modules.welcome.controllers.welcome.html" xlink:title="Welcome" target="_parent">
<polygon fill="none" stroke="black" points="693,-682 629,-682 629,-646 693,-646 693,-682"/>
<text text-anchor="middle" x="661" y="-660.6" font-family="Courier,monospace" font-size="11.00">Welcome</text>
<polygon fill="none" stroke="black" points="693,-628 629,-628 629,-592 693,-592 693,-628"/>
<text text-anchor="middle" x="661" y="-606.6" font-family="Courier,monospace" font-size="11.00">Welcome</text>
</a>
</g>
<!-- \\Welcome&#45;&gt;\\MM_Controller -->
<g id="edge47" class="edge"><title>\\Welcome&#45;&gt;\\MM_Controller</title>
<path fill="none" stroke="black" d="M628.981,-664C596.987,-664 546.941,-664 506.968,-664"/>
<polygon fill="none" stroke="black" points="506.776,-660.5 496.776,-664 506.776,-667.5 506.776,-660.5"/>
<g id="edge49" class="edge"><title>\\Welcome&#45;&gt;\\MM_Controller</title>
<path fill="none" stroke="black" d="M628.981,-610C596.987,-610 546.941,-610 506.968,-610"/>
<polygon fill="none" stroke="black" points="506.776,-606.5 496.776,-610 506.776,-613.5 506.776,-606.5"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 23 KiB

1453
docs/classes/DB.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -663,7 +663,7 @@ the connection/database</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -152,7 +152,7 @@ and organizes database connections</p></p>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -269,7 +269,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -209,7 +209,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -813,7 +813,7 @@ the last query executed</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -504,7 +504,7 @@ the query</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -297,7 +297,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -212,7 +212,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -727,7 +727,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -685,7 +685,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -172,7 +172,7 @@ Used for outputing HTML</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -498,7 +498,7 @@ supports</p></p>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -849,7 +849,7 @@ the connection/database</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -281,7 +281,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -208,7 +208,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -851,7 +851,7 @@ the connection/database</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -281,7 +281,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -203,7 +203,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -851,7 +851,7 @@ the connection/database</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -297,7 +297,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -208,7 +208,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -1087,7 +1087,7 @@ for complex select queries</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -844,7 +844,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -866,7 +866,7 @@ method if the database does not support 'TRUNCATE';</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -281,7 +281,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -208,7 +208,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -244,7 +244,7 @@ directly - the settings should be safe!</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -900,7 +900,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:24-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -821,7 +821,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -59,6 +59,7 @@
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#__call" title="__call :: PHP magic method to facilitate dynamic methods"><span class="description">PHP magic method to facilitate dynamic methods</span><pre>__call()</pre></a></li>
<li class="method public "><a href="#__clone" title="__clone :: Magic function called when cloning an object"><span class="description">Magic function called when cloning an object</span><pre>__clone()</pre></a></li>
<li class="method public "><a href="#__construct" title="__construct :: Constructor - Any classes loaded here become subclasses of miniMVC"><span class="description">Constructor - Any classes loaded here become subclasses of miniMVC</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#__invoke" title="__invoke :: PHP magic method that is called when an object is treated as a function"><span class="description">PHP magic method that is called when an object is treated as a function</span><pre>__invoke()</pre></a></li>
<li class="method public "><a href="#append" title="append :: "><span class="description">append()
</span><pre>append()</pre></a></li>
@ -106,8 +107,6 @@
<li class="method public "><a href="#unload" title="unload :: Convenience function to remove an object from the singleton"><span class="description">Convenience function to remove an object from the singleton</span><pre>unload()</pre></a></li>
<li class="method public "><a href="#unserialize" title="unserialize :: "><span class="description">unserialize()
</span><pre>unserialize()</pre></a></li>
<li class="nav-header protected">» Protected</li>
<li class="method protected "><a href="#__construct" title="__construct :: Constructor - Any classes loaded here become subclasses of miniMVC"><span class="description">Constructor - Any classes loaded here become subclasses of miniMVC</span><pre>__construct()</pre></a></li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li>
<li class="nav-header private">» Private</li>
@ -154,6 +153,19 @@
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Constructor - Any classes loaded here become subclasses of miniMVC</h2>
<pre>__construct(array $members) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$members</h4>
<code>array</code>
</div>
</div></div>
</div>
<a name="__invoke" id="__invoke"></a><div class="element clickable method public __invoke" data-toggle="collapse" data-target=".__invoke .collapse">
<h2>PHP magic method that is called when an object is treated as a function</h2>
<pre>__invoke() </pre>
@ -487,12 +499,6 @@
</tr></table>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method protected __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Constructor - Any classes loaded here become subclasses of miniMVC</h2>
<pre>__construct() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24instance" id="$instance"> </a><div class="element clickable property private $instance" data-toggle="collapse" data-target=".$instance .collapse">
@ -508,7 +514,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -67,7 +67,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:24-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -99,12 +99,13 @@
<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.0.0a2</a> and<br>
generated on 2012-04-26T15:45:24-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -64,7 +64,7 @@
</script><div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:24-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -80,7 +80,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -69,7 +69,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:24-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -74,7 +74,7 @@
<i class="icon-custom icon-function"></i> Functions</h3>
<a name="__call" id="__call"></a><div class="element clickable function __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>PHP magic method to facilitate dynamic methods</h2>
<pre>__call(string $name, array $args) </pre>
<pre>__call(string $name, array $params) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
@ -84,7 +84,7 @@
<code>string</code>
</div>
<div class="subelement argument">
<h4>$args</h4>
<h4>$params</h4>
<code>array</code>
</div>
</div></div>
@ -356,6 +356,13 @@ display them cleanly</h2>
</div>
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="DB" id="DB"></a><div class="element ajax clickable class" href="../classes/DB.html">
<h1>DB<a href="../classes/DB.html"></a>
</h1>
<p class="short_description">Extend PHP's PDO class to add some more functionality</p>
<div class="details collapse"></div>
<a href="../classes/DB.html" class="more">« More »</a>
</div>
<a name="DB_PDO" id="DB_PDO"></a><div class="element ajax clickable class" href="../classes/DB_PDO.html">
<h1>DB_PDO<a href="../classes/DB_PDO.html"></a>
</h1>
@ -702,7 +709,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -67,7 +67,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -185,7 +185,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -211,7 +211,7 @@ data-fetching methods</p>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -97,7 +97,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -115,7 +115,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -316,7 +316,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -139,7 +139,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -62,6 +62,7 @@
</li>
<li class="nav-header">
<i class="icon-custom icon-class"></i> Classes</li>
<li><a href="#DB" title="Extend PHP's PDO class to add some more functionality">DB</a></li>
<li><a href="#miniMVC" title="Base class for the framework">miniMVC</a></li>
<li><a href="#MM_Controller" title="Base Controller Class">MM_Controller</a></li>
<li><a href="#MM_Model" title="Base Model Class">MM_Model</a></li>
@ -81,6 +82,13 @@
<div class="package-indent">
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="DB" id="DB"></a><div class="element ajax clickable class" href="../classes/DB.html">
<h1>DB<a href="../classes/DB.html"></a>
</h1>
<p class="short_description">Extend PHP's PDO class to add some more functionality</p>
<div class="details collapse"></div>
<a href="../classes/DB.html" class="more">« More »</a>
</div>
<a name="MM_Controller" id="MM_Controller"></a><div class="element ajax clickable class" href="../classes/MM_Controller.html">
<h1>MM_Controller<a href="../classes/MM_Controller.html"></a>
</h1>
@ -129,7 +137,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -105,7 +105,7 @@ display them cleanly</span><pre>shutdown</pre></a></li>
<i class="icon-custom icon-function"></i> Functions</h3>
<a name="__call" id="__call"></a><div class="element clickable function __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>PHP magic method to facilitate dynamic methods</h2>
<pre>__call(string $name, array $args) </pre>
<pre>__call(string $name, array $params) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
@ -115,7 +115,7 @@ display them cleanly</span><pre>shutdown</pre></a></li>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$args</h4>
<h4>$params</h4>
<code>array</code>
</div>
</div></div>
@ -425,6 +425,13 @@ display them cleanly</h2>
<div class="package-indent">
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="DB" id="DB"></a><div class="element ajax clickable class" href="../classes/DB.html">
<h1>DB<a href="../classes/DB.html"></a>
</h1>
<p class="short_description">Extend PHP's PDO class to add some more functionality</p>
<div class="details collapse"></div>
<a href="../classes/DB.html" class="more">« More »</a>
</div>
<a name="MM_Controller" id="MM_Controller"></a><div class="element ajax clickable class" href="../classes/MM_Controller.html">
<h1>MM_Controller<a href="../classes/MM_Controller.html"></a>
</h1>
@ -474,7 +481,7 @@ display them cleanly</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-04-26T15:45:23-04:00.<br></footer></div>
generated on 2012-04-26T16:50:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -5009,7 +5009,7 @@ the last query executed]]></description>
</method>
</class>
</file>
<file path="src/sys/common.php" hash="1b424fdedb0421c402b64b872a7dde82" package="miniMVC">
<file path="src/sys/common.php" hash="5b410f3b6997514e4249c6cfa0c4037c" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
@ -5019,9 +5019,12 @@ the last query executed]]></description>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<include line="421" type="Require Once" package="Default">
<include line="418" type="Require Once" package="Default">
<name>Query/autoload.php</name>
</include>
<include line="419" type="Require Once" package="Default">
<name>miniMVC.php</name>
</include>
<function namespace="default" line="30" package="miniMVC">
<name>shutdown</name>
<type>function</type>
@ -5273,7 +5276,7 @@ display them cleanly]]></description>
</argument>
</function>
</file>
<file path="src/sys/miniMVC.php" hash="c10c77eaedfc42abae1685234b97c4e4" package="miniMVC">
<file path="src/sys/db.php" hash="97953782de81d5f6a714ee2cf1756af5" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
@ -5283,389 +5286,536 @@ display them cleanly]]></description>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<function namespace="default" line="30" package="miniMVC">
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
<name>DB</name>
<full_name>\DB</full_name>
<extends>\Query_Builder</extends>
<docblock line="16">
<description><![CDATA[Extend PHP's PDO class to add some more functionality]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="System"/>
</docblock>
<property final="false" static="true" visibility="private" line="31" package="Default">
<name>$instance</name>
<default><![CDATA[array()]]></default>
<docblock line="26">
<description><![CDATA[DB connection instances]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="26" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="40" package="">
<name>get_instance</name>
<type>function</type>
<docblock line="33">
<description><![CDATA[Indexed singleton method]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="33" name="param" description="" type="string" variable="$dbname">
<type by_reference="false">string</type>
</tag>
<tag line="33" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
<tag line="33" name="return" description="" type="\DB">
<type by_reference="false">\DB</type>
</tag>
</docblock>
<argument line="40">
<name>$dbname</name>
<default><![CDATA["default"]]></default>
<type/>
</argument>
<argument line="40">
<name>$options</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="71" package="">
<name>__construct</name>
<type>function</type>
<docblock line="65">
<description><![CDATA[Constructor to override PDO constructor - Quercus doesn't seem to override
the parent constructor unless the arguments match.]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="65" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="71">
<name>$params</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="87" package="">
<name>__call</name>
<type>function</type>
<docblock line="80">
<description><![CDATA[Override __call in trait to call __call in Query Builder...lol]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="80" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="80" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="80" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="87">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="87">
<name>$params</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="100" package="">
<name>__callStatic</name>
<type>function</type>
<docblock line="94">
<description><![CDATA[PHP magic methods to call non-static methods statically]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="94" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="94" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="100">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="100">
<name>$args</name>
<default><![CDATA[]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>get_last_error</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Returns the last error from the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="src/sys/miniMVC.php" hash="11f8e709e15c45c1eeee7c68e7842cbf" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<function namespace="default" line="32" package="miniMVC">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<docblock line="26">
<description><![CDATA[Constructor for creating the objects]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="array" variable="$members">
<tag line="26" name="param" description="" type="array" variable="$members">
<type by_reference="false">array</type>
</tag>
<tag line="24" name="return" description="" type="void">
<tag line="26" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<argument line="32">
<name>$members</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</function>
<function namespace="default" line="45" package="miniMVC">
<function namespace="default" line="49" package="miniMVC">
<name>__call</name>
<type>function</type>
<docblock line="39">
<docblock line="43">
<description><![CDATA[PHP magic method to facilitate dynamic methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="39" name="param" description="" type="string" variable="$name">
<tag line="43" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="39" name="param" description="" type="array" variable="$args">
<tag line="43" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="45">
<argument line="49">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="45">
<name>$args</name>
<default><![CDATA[]]></default>
<type>array</type>
<argument line="49">
<name>$params</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="63" package="miniMVC">
<function namespace="default" line="66" package="miniMVC">
<name>__callStatic</name>
<type>function</type>
<docblock line="57">
<docblock line="60">
<description><![CDATA[PHP magic method to facilitate dynamically set static methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="57" name="param" description="" type="string" variable="$name">
<tag line="60" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="57" name="param" description="" type="array" variable="$args">
<tag line="60" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="63">
<argument line="66">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="63">
<argument line="66">
<name>$args</name>
<default><![CDATA[]]></default>
<type>array</type>
</argument>
</function>
<function namespace="default" line="76" package="miniMVC">
<function namespace="default" line="81" package="miniMVC">
<name>__toString</name>
<type>function</type>
<docblock line="71">
<docblock line="76">
<description><![CDATA[Prints out the contents of the object when used as a string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="71" name="return" description="" type="string">
<tag line="76" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</function>
<function namespace="default" line="123" package="miniMVC">
<function namespace="default" line="130" package="miniMVC">
<name>__get</name>
<type>function</type>
<docblock line="118">
<docblock line="125">
<description><![CDATA[PHP magic method to facilitate dynamic class loading]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="118" name="param" description="" type="string" variable="$name">
<tag line="125" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="123">
<argument line="130">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="148" package="miniMVC">
<function namespace="default" line="157" package="miniMVC">
<name>__invoke</name>
<type>function</type>
<docblock line="145">
<docblock line="154">
<description><![CDATA[PHP magic method that is called when an object is treated as a function]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</function>
<class final="false" abstract="false" namespace="default" line="163" package="miniMVC\System">
<class final="false" abstract="false" namespace="default" line="174" package="miniMVC\System">
<name>miniMVC</name>
<full_name>\miniMVC</full_name>
<extends>\ArrayObject</extends>
<docblock line="157">
<docblock line="168">
<description><![CDATA[Base class for the framework]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="157" name="package" description="miniMVC"/>
<tag line="157" name="subpackage" description="System"/>
<tag line="168" name="package" description="miniMVC"/>
<tag line="168" name="subpackage" description="System"/>
</docblock>
<property final="false" static="true" visibility="private" line="172" package="Default">
<property final="false" static="true" visibility="private" line="183" package="Default">
<name>$instance</name>
<default><![CDATA[]]></default>
<docblock line="167">
<docblock line="178">
<description><![CDATA[Singleton object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="167" name="var" description="" type="\miniMVC">
<tag line="178" name="var" description="" type="\miniMVC">
<type by_reference="false">\miniMVC</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="177" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="190" package="">
<name>__construct</name>
<type>function</type>
<docblock line="174">
<docblock line="185">
<description><![CDATA[Constructor - Any classes loaded here become subclasses of miniMVC]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="188" package="">
<name>__call</name>
<type>function</type>
<docblock line="182">
<description><![CDATA[PHP magic method to facilitate dynamic methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="182" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="182" name="param" description="" type="array" variable="$args">
<tag line="185" name="param" description="" type="array" variable="$members">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="188">
<argument line="190">
<name>$members</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="206" package="">
<name>__call</name>
<type>function</type>
<docblock line="200">
<description><![CDATA[PHP magic method to facilitate dynamic methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="200" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="200" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="206">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="188">
<argument line="206">
<name>$args</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="203" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="231" package="">
<name>__clone</name>
<type>function</type>
<docblock line="200">
<docblock line="228">
<description><![CDATA[Magic function called when cloning an object]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="211" package="">
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="241" package="">
<name>__invoke</name>
<type>function</type>
<docblock line="208">
<docblock line="238">
<description><![CDATA[PHP magic method that is called when an object is treated as a function]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="221" package="">
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="253" package="">
<name>get_instance</name>
<type>function</type>
<docblock line="216">
<docblock line="248">
<description><![CDATA[Singleton getter function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="216" name="return" description="object" type="\miniMVC">
<tag line="248" name="return" description="object" type="\miniMVC">
<type by_reference="false">\miniMVC</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="240" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="274" package="">
<name>load_class</name>
<type>function</type>
<docblock line="233">
<docblock line="267">
<description><![CDATA[Method to load classes into the singleton]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="233" name="param" description="" type="string" variable="$name">
<tag line="267" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="233" name="param" description="" type="string" variable="$type">
<tag line="267" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="233" name="return" description="" type="void">
<tag line="267" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="240">
<argument line="274">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="240">
<argument line="274">
<name>$type</name>
<default><![CDATA['class']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="291" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="327" package="">
<name>unload</name>
<type>function</type>
<docblock line="286">
<docblock line="322">
<description><![CDATA[Convenience function to remove an object from the singleton]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="286" name="param" description="" type="string" variable="$name">
<tag line="322" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="291">
<argument line="327">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="304" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="342" package="">
<name>load_config</name>
<type>function</type>
<docblock line="299">
<docblock line="337">
<description><![CDATA[Convenience function to load config files]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="299" name="param" description="" type="string" variable="$name">
<tag line="337" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="304">
<argument line="342">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
<class final="false" abstract="false" namespace="default" line="324" package="miniMVC\System">
<class final="false" abstract="false" namespace="default" line="364" package="miniMVC\System">
<name>MM_Controller</name>
<full_name>\MM_Controller</full_name>
<extends>\miniMVC</extends>
<docblock line="318">
<docblock line="358">
<description><![CDATA[Base Controller Class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="318" name="package" description="miniMVC"/>
<tag line="318" name="subpackage" description="System"/>
<tag line="358" name="package" description="miniMVC"/>
<tag line="358" name="subpackage" description="System"/>
</docblock>
<property final="false" static="false" visibility="public" line="331" package="Default">
<property final="false" static="false" visibility="public" line="371" package="Default">
<name>$output</name>
<default><![CDATA[]]></default>
<docblock line="326">
<docblock line="366">
<description><![CDATA[Instance of Output class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="326" name="var" description="" type="\Output">
<tag line="366" name="var" description="" type="\Output">
<type by_reference="false">\Output</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="338" package="Default">
<property final="false" static="false" visibility="public" line="378" package="Default">
<name>$page</name>
<default><![CDATA[]]></default>
<docblock line="333">
<docblock line="373">
<description><![CDATA[Instance of Page class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="333" name="var" description="" type="\Page">
<tag line="373" name="var" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="345" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="385" package="">
<name>__construct</name>
<type>function</type>
<docblock line="340">
<docblock line="380">
<description><![CDATA[Create the controller object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="340" name="return" description="" type="void">
<tag line="380" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="360" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="402" package="">
<name>load_model</name>
<type>function</type>
<docblock line="353">
<docblock line="395">
<description><![CDATA[Function for loading a model into the current class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="353" name="param" description="" type="string" variable="$file">
<tag line="395" name="param" description="" type="string" variable="$file">
<type by_reference="false">string</type>
</tag>
<tag line="353" name="param" description="" type="array" variable="$args">
<tag line="395" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
<tag line="353" name="return" description="" type="void">
<tag line="395" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="360">
<argument line="402">
<name>$file</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="360">
<argument line="402">
<name>$args</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="401" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="445" package="">
<name>load_view</name>
<type>function</type>
<docblock line="393">
<docblock line="437">
<description><![CDATA[Function for loading a view]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="393" name="param" description="" type="string" variable="$file">
<tag line="437" name="param" description="" type="string" variable="$file">
<type by_reference="false">string</type>
</tag>
<tag line="393" name="param" description="" type="array" variable="$data">
<tag line="437" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="393" name="param" description="" type="bool" variable="$return">
<tag line="437" name="param" description="" type="bool" variable="$return">
<type by_reference="false">bool</type>
</tag>
<tag line="393" name="return" description="" type="mixed">
<tag line="437" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="401">
<argument line="445">
<name>$file</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="401">
<argument line="445">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="401">
<argument line="445">
<name>$return</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
</class>
<class final="false" abstract="false" namespace="default" line="457" package="miniMVC\System">
<class final="false" abstract="false" namespace="default" line="503" package="miniMVC\System">
<name>MM_Model</name>
<full_name>\MM_Model</full_name>
<extends>\miniMVC</extends>
<docblock line="451">
<docblock line="497">
<description><![CDATA[Base Model Class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="451" name="package" description="miniMVC"/>
<tag line="451" name="subpackage" description="System"/>
<tag line="497" name="package" description="miniMVC"/>
<tag line="497" name="subpackage" description="System"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="464" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="510" package="">
<name>__construct</name>
<type>function</type>
<docblock line="459">
<docblock line="505">
<description><![CDATA[Initialize the model class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="459" name="return" description="" type="void">
<tag line="505" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="475" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="523" package="">
<name>load_db</name>
<type>function</type>
<docblock line="469">
<docblock line="517">
<description><![CDATA[Adds the database class to the current model class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="469" name="param" description="" type="string" variable="$name">
<tag line="517" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="469" name="return" description="" type="void">
<tag line="517" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="475">
<argument line="523">
<name>$name</name>
<default><![CDATA["default"]]></default>
<type/>
@ -5746,7 +5896,7 @@ display them cleanly]]></description>
</method>
</class>
</file>
<file path="src/sys/page.php" hash="db35c2a5f3de22b25f93d92027f94ffb" package="miniMVC">
<file path="src/sys/page.php" hash="70a451438526aaac83e00e66e1f9c718" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
@ -6437,7 +6587,7 @@ Used for outputing HTML]]></description>
</method>
</class>
</file>
<file path="src/index.php" hash="bfe135ff813b5bf3229979b69745f4eb" package="miniMVC">
<file path="src/index.php" hash="c31554a930dad7ae4ffda69df87ed227" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>

View File

@ -53,14 +53,11 @@ require(MM_APP_PATH.'config/config.php');
// Require the most important files
require(MM_SYS_PATH . "common.php");
// Catch fatal errors, don't show them
error_reporting((-1) & ~(E_ERROR | E_PARSE));
register_shutdown_function('shutdown');
//Set error handlers
// Quercus doesn't define error_get_last...
if(function_exists('error_get_last'))
{
// Catch fatal errors, don't show them
error_reporting((-1) & ~(E_ERROR | E_PARSE));
register_shutdown_function('shutdown');
}
set_error_handler('on_error');
set_exception_handler('on_exception');

View File

@ -414,10 +414,11 @@ function do_include($path)
require_once($path);
}
// Load Most Common libraries
array_map('do_include', glob(MM_SYS_PATH.'*.php'));
// Load Database classes
require_once(MM_SYS_PATH.'Query/autoload.php');
require_once(MM_SYS_PATH.'miniMVC.php');
// Load system libraries
array_map('do_include', glob(MM_SYS_PATH.'*.php'));
// End of common.php

View File

@ -4,6 +4,7 @@
*
* Convention-based micro-framework for PHP
*
* @package miniMVC
* @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012
* @link https://github.com/timw4mail/miniMVC
@ -15,19 +16,45 @@
/**
* Extend PHP's PDO class to add some more functionality
*
* @extends PDO
* @package miniMVC
* @subpackage System
*/
class db extends PDO {
class DB extends Query_Builder {
private $statement;
use JSObject;
/**
* DB connection instances
*
* @var array
*/
private static $instance = array();
/**
* Indexed singleton method
*
* @param string $dbname
* @param array $options
* @return DB
*/
public static function &get_instance($dbname="default", array $options=array())
{
if ( ! isset(self::$instance[$dbname]))
{
// Include the database config file
require_once(MM_APP_PATH.'config/db.php');
// Get the correct database in the config file
if( ! is_like_array($db_conf[$dbname]))
{
// Apparently the database doesn't exist
$this->get_last_error();
trigger_error("Database does not exist", E_USER_ERROR);
die();
}
//echo 'Creating new instance of db class.';
self::$instance[$dbname] = self::_get_conf($dbname, $options);
self::$instance[$dbname] = new DB($db_conf[$dbname]);
}
return self::$instance[$dbname];
@ -36,96 +63,31 @@ class db extends PDO {
// --------------------------------------------------------------------------
/**
* Makes DSN from config file, and creates database object
* Constructor to override PDO constructor - Quercus doesn't seem to override
* the parent constructor unless the arguments match.
*
* @param string $dbname
* @param array $options
* @return db object
* @param array $params
*/
private static function _get_conf($dbname="default", array $options=array())
function __construct(array $params=array())
{
// Include the database config file
require(APP_PATH.'config/db.php');
// Get the correct database in the config file
if(is_like_array($db_conf[$dbname]))
{
// Array manipulation is too verbose
extract($db_conf[$dbname]);
}
else
{
// Apparently the database doesn't exist
$this->get_last_error();
trigger_error("Database does not exist", E_USER_ERROR);
die();
}
// Sqlite doesn't use dbname param
$dsn = (stripos($type, "sqlite") === FALSE) ? "{$type}:dbname={$db}" : "{$type}:{$db}";
// Set hostname if applicable
if(isset($host))
{
$dsn .= ($host !== "") ? ";host={$host}" : "";
}
// Let's try connecting now!
parent::__construct($params);
// Set port if applicable
if(isset($port))
{
$dsn .= ($port !== "") ? ";port={$port}" : "";
}
$user = ( ! empty($user)) ? $user : null;
$pass = ( ! empty($pass)) ? $pass : null;
// Pre-set the error mode
$opts = array(
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
);
$options = $opts + $options;
return new db($dsn, $user, $pass, $options);
}
// --------------------------------------------------------------------------
/**
* Constructor to override PDO constructor - Quercus doesn't seem to override
* the parent constructor unless the arguments match.
* Override __call in trait to call __call in Query Builder...lol
*
* @param string $dsn
* @param string $user
* @param string $pass
* @param array $options
* @param string $name
* @param array $params
* @return mixed
*/
function __construct($dsn, $user, $pass, array $options=array())
public function __call($name, $params=array())
{
// Let's try connecting now!
parent::__construct($dsn, $user, $pass, $options);
return parent::__call($name, $params);
}
// --------------------------------------------------------------------------
/**
* PHP magic method to facilitate dynamic methods
*
* @param string $name
* @param array $args
*/
function __call($name, array $args)
{
if(is_callable($this->$name))
{
//Add $this to the beginning of the args array
array_unshift($args, $this);
//Call the dynamic function
return call_user_func_array($this->$name, $args);
}
}
// --------------------------------------------------------------------------
@ -143,101 +105,6 @@ class db extends PDO {
}
}
// --------------------------------------------------------------------------
/**
* Prints out the contents of the object when used as a string
*
* @return string
*/
public function __toString()
{
if(ENVIRONMENT == 'DEVELOPMENT')
{
$args = func_get_args();
$method = ( ! empty($args)) ? $args[0] : "print_r";
$data = (isset($args[1])) ? $args[1] : array();
if(empty($data))
{
$data =& $this;
}
$output = '<pre>';
if($method == "var_dump")
{
ob_start();
var_dump($data);
$output .= ob_get_contents();
ob_end_clean();
}
else if($method == "var_export")
{
ob_start();
var_export($data);
$output .= ob_get_contents();
ob_end_clean();
}
else
{
$output .= print_r($data, TRUE);
}
return $output . '</pre>';
}
else
{
return '';
}
}
// --------------------------------------------------------------------------
/**
* Simplifies prepared statements for database queries
*
* @param string $sql
* @param array $data
* @return mixed PDOStatement / FALSE
*/
public function prepare_query($sql, $data)
{
// Prepare the sql
$query = $this->prepare($sql);
if( ! is_like_array($query))
{
$this->get_last_error();
return FALSE;
}
// Set the statement in the class variable for easy later access
$this->statement =& $query;
if( ! is_like_array($data))
{
trigger_error("Invalid data argument");
return FALSE;
}
// Bind the parameters
foreach($data as $k => $value)
{
$res = $query->bindValue($k, $value);
if( ! $res)
{
trigger_error("Parameter not successfully bound");
return FALSE;
}
}
return $query;
}
// --------------------------------------------------------------------------
/**
@ -265,12 +132,11 @@ class db extends PDO {
// Contain the content for buffering
ob_start();
include(APP_PATH.'/errors/error_db.php');
include(MM_APP_PATH.'/errors/error_db.php');
$buffer = ob_get_contents();
ob_end_clean();
echo $buffer;
}
}
// End of db.php

View File

@ -44,17 +44,14 @@ trait JSObject {
* PHP magic method to facilitate dynamic methods
*
* @param string $name
* @param array $args
* @param array $params
*/
public function __call($name, array $args)
public function __call($name, $params=array())
{
if(is_callable($this->$name))
{
//Add $this object to args
array_push($args, $this);
//Call the dynamic function
return call_user_func_array($this->$name, $args);
return call_user_func_array($this->$name, $params);
}
}
@ -193,7 +190,7 @@ class miniMVC extends ArrayObject {
public function __construct(array $members=array())
{
// Allow the class to be used like an array
parent::__construct($members, STD_PROP_LIST | ARRAY_AS_PROPS);
parent::__construct($members);
self::$instance =& $this;
}