Overhaul back to php 5.3 Remove redundant class structure

This commit is contained in:
Timothy Warren 2012-07-03 13:33:36 -04:00
parent 467c28f05e
commit 55e8c48b1d
70 changed files with 1957 additions and 5250 deletions

View File

@ -3,26 +3,16 @@
miniMVC is a minimalistic Modular MVC framework, with built-in minifier, and pure-PHP templating system.
### Requirements
* PHP 5.4+
* PHP 5.3+
* PDO extensions for databases you wish to use
* Webserver that correctly handles REQUEST_URI, such as:
* Webserver that correctly handles PATH_INFO, such as:
* Apache
* IIS
* Lighttpd
* Resin/Quercus
* SimpleTest library for running unit tests
### Unique features
#### Extensive use of PHP's magic methods on the base class
* `__toString()` method allows a view of the current class object when the current class object is used as a string. If you prefer `var_dump()` or `var_export()`, you can pass the name of that function if you call the `__toString` method directly.
Eg. `$this . "string"`, `$this->__toString()`, `echo $this`;
* `__call()` method allows the dynamic addition of callable closure objects
Eg. `$this->foo = function($baz){}` is callable as `$this->foo()`, with the current object as the last argument
* `MM` class extends ArrayObject, and all the main classes extend this class. Functions begining with `array_` are callable on object from this class. E.g. `$this->array_keys()` will return a list of the class properties.
#### Database class is an extension of PHP's PDO class.
Database class uses [Query](https://github.com/aviat4ion/Query) as a database abstraction layer and query builder.

View File

@ -22,16 +22,16 @@
// --------------------------------------------------------------------------
$db_conf = [
'default' => [
$db_conf = array(
'default' => array(
'type' => '',
'host' => '',
'user' => '',
'pass' => '',
'port' => ''
'port' => '',
'database' => '',
'file' => '',
]
];
)
);
// End of db.php

View File

@ -29,11 +29,11 @@
// --------------------------------------------------------------------------
return [
return array(
// Default Paths
'default_controller' => 'welcome',
'default_module' => 'welcome',
'404_route' => '',
];
);
// End of routes.php

8
assets/config/css_groups.php Executable file → Normal file
View File

@ -16,13 +16,13 @@
/**
* This is the config array for css files to concatenate and minify
*/
return [
return array(
/*-----
Css
-----*/
'css' => [
'css' => array(
'message.css'
],
),
/*
For each group create an array like so
@ -32,5 +32,5 @@ return [
'path/to/css/file2.css'
],
*/
];
);
// End of css_groups.php

6
assets/css.php Executable file → Normal file
View File

@ -44,7 +44,7 @@ function compress($buffer) {
//Remove tabs, spaces, newlines, etc.
$buffer = preg_replace('`\s+`', ' ', $buffer);
$replace = [
$replace = array(
' )' => ')',
') ' => ')',
' }' => '}',
@ -54,7 +54,7 @@ function compress($buffer) {
', ' => ',',
': ' => ':',
'; ' => ';',
];
);
//Eradicate every last space!
$buffer = trim(strtr($buffer, $replace));
@ -84,7 +84,7 @@ while($i < $pia_len)
};
$css = '';
$modified = [];
$modified = array();
if (isset($groups[$_GET['g']]))
{

View File

@ -4,371 +4,332 @@
<!-- Generated by graphviz version 2.26.3 (20100126.1600)
-->
<!-- Title: G Pages: 1 -->
<svg width="754pt" height="1327pt"
viewBox="0.00 0.00 754.00 1327.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1323)">
<svg width="708pt" height="1213pt"
viewBox="0.00 0.00 708.00 1213.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1209)">
<title>G</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-1323 751,-1323 751,5 -4,5"/>
<polygon fill="white" stroke="white" points="-4,5 -4,-1209 705,-1209 705,5 -4,5"/>
<g id="graph2" class="cluster"><title>cluster_default</title>
<polyline fill="none" stroke="none" points="260,-44 570,-44 "/>
<path fill="none" stroke="none" d="M570,-44C576,-44 582,-50 582,-56"/>
<polyline fill="none" stroke="none" points="582,-56 582,-948 "/>
<path fill="none" stroke="none" d="M582,-948C582,-954 576,-960 570,-960"/>
<polyline fill="none" stroke="none" points="570,-960 260,-960 "/>
<path fill="none" stroke="none" d="M260,-960C254,-960 248,-954 248,-948"/>
<polyline fill="none" stroke="none" points="248,-948 248,-56 "/>
<path fill="none" stroke="none" d="M248,-56C248,-50 254,-44 260,-44"/>
<polyline fill="none" stroke="none" points="190,-44 512,-44 "/>
<path fill="none" stroke="none" d="M512,-44C518,-44 524,-50 524,-56"/>
<polyline fill="none" stroke="none" points="524,-56 524,-1002 "/>
<path fill="none" stroke="none" d="M524,-1002C524,-1008 518,-1014 512,-1014"/>
<polyline fill="none" stroke="none" points="512,-1014 190,-1014 "/>
<path fill="none" stroke="none" d="M190,-1014C184,-1014 178,-1008 178,-1002"/>
<polyline fill="none" stroke="none" points="178,-1002 178,-56 "/>
<path fill="none" stroke="none" d="M178,-56C178,-50 184,-44 190,-44"/>
</g>
<g id="graph3" class="cluster"><title>cluster_miniMVC</title>
<polyline fill="none" stroke="gray" points="276,-968 726,-968 "/>
<path fill="none" stroke="gray" d="M726,-968C732,-968 738,-974 738,-980"/>
<polyline fill="none" stroke="gray" points="738,-980 738,-1299 "/>
<path fill="none" stroke="gray" d="M738,-1299C738,-1305 732,-1311 726,-1311"/>
<polyline fill="none" stroke="gray" points="726,-1311 276,-1311 "/>
<path fill="none" stroke="gray" d="M276,-1311C270,-1311 264,-1305 264,-1299"/>
<polyline fill="none" stroke="gray" points="264,-1299 264,-980 "/>
<path fill="none" stroke="gray" d="M264,-980C264,-974 270,-968 276,-968"/>
<text text-anchor="middle" x="501" y="-1297.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">miniMVC</text>
<polyline fill="none" stroke="gray" points="604,-854 680,-854 "/>
<path fill="none" stroke="gray" d="M680,-854C686,-854 692,-860 692,-866"/>
<polyline fill="none" stroke="gray" points="692,-866 692,-1185 "/>
<path fill="none" stroke="gray" d="M692,-1185C692,-1191 686,-1197 680,-1197"/>
<polyline fill="none" stroke="gray" points="680,-1197 604,-1197 "/>
<path fill="none" stroke="gray" d="M604,-1197C598,-1197 592,-1191 592,-1185"/>
<polyline fill="none" stroke="gray" points="592,-1185 592,-866 "/>
<path fill="none" stroke="gray" d="M592,-866C592,-860 598,-854 604,-854"/>
<text text-anchor="middle" x="642" y="-1183.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">miniMVC</text>
</g>
<!-- \\DB_SQL -->
<g id="node2" class="node"><title>\\DB_SQL</title>
<a xlink:href="sys.db.classes.db_sql.html" xlink:title="«abstract»&lt;br/&gt;DB_SQL" target="_parent">
<polygon fill="none" stroke="black" points="341,-520 257,-520 257,-484 341,-484 341,-520"/>
<text text-anchor="start" x="265" y="-507.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="278.5" y="-494.233" font-family="Courier,monospace" font-size="11.00">DB_SQL</text>
<polygon fill="none" stroke="black" points="271,-574 187,-574 187,-538 271,-538 271,-574"/>
<text text-anchor="start" x="195" y="-561.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="208.5" y="-548.233" font-family="Courier,monospace" font-size="11.00">DB_SQL</text>
</a>
</g>
<!-- \\DB_PDO -->
<g id="node3" class="node"><title>\\DB_PDO</title>
<a xlink:href="sys.db.classes.db_pdo.html" xlink:title="«abstract»&lt;br/&gt;DB_PDO" target="_parent">
<polygon fill="none" stroke="black" points="341,-250 257,-250 257,-214 341,-214 341,-250"/>
<text text-anchor="start" x="265" y="-237.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="278.5" y="-224.233" font-family="Courier,monospace" font-size="11.00">DB_PDO</text>
<polygon fill="none" stroke="black" points="271,-304 187,-304 187,-268 271,-268 271,-304"/>
<text text-anchor="start" x="195" y="-291.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="208.5" y="-278.233" font-family="Courier,monospace" font-size="11.00">DB_PDO</text>
</a>
</g>
<!-- \\PDO -->
<g id="node33" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="71" cy="-232" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="71" y="-227.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
<g id="node31" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="36" cy="-286" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="36" y="-281.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
</g>
<!-- \\DB_PDO&#45;&gt;\\PDO -->
<g id="edge4" class="edge"><title>\\DB_PDO&#45;&gt;\\PDO</title>
<path fill="none" stroke="black" d="M256.382,-232C216.662,-232 157.596,-232 116.862,-232"/>
<polygon fill="none" stroke="black" points="116.667,-228.5 106.667,-232 116.667,-235.5 116.667,-228.5"/>
<path fill="none" stroke="black" d="M186.167,-286C155.237,-286 113.521,-286 81.907,-286"/>
<polygon fill="none" stroke="black" points="81.603,-282.5 71.603,-286 81.603,-289.5 81.603,-282.5"/>
</g>
<!-- \\Query_Builder -->
<g id="node4" class="node"><title>\\Query_Builder</title>
<a xlink:href="sys.db.classes.query_builder.html" xlink:title="Query_Builder" target="_parent">
<polygon fill="none" stroke="black" points="567,-952 463,-952 463,-916 567,-916 567,-952"/>
<text text-anchor="middle" x="515" y="-930.6" font-family="Courier,monospace" font-size="11.00">Query_Builder</text>
<polygon fill="none" stroke="black" points="509,-1006 405,-1006 405,-970 509,-970 509,-1006"/>
<text text-anchor="middle" x="457" y="-984.6" font-family="Courier,monospace" font-size="11.00">Query_Builder</text>
</a>
</g>
<!-- \\DB_Util -->
<g id="node5" class="node"><title>\\DB_Util</title>
<a xlink:href="sys.db.classes.db_util.html" xlink:title="«abstract»&lt;br/&gt;DB_Util" target="_parent">
<polygon fill="none" stroke="black" points="341,-790 257,-790 257,-754 341,-754 341,-790"/>
<text text-anchor="start" x="265" y="-777.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="275" y="-764.233" font-family="Courier,monospace" font-size="11.00">DB_Util</text>
<polygon fill="none" stroke="black" points="271,-844 187,-844 187,-808 271,-808 271,-844"/>
<text text-anchor="start" x="195" y="-831.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="205" y="-818.233" font-family="Courier,monospace" font-size="11.00">DB_Util</text>
</a>
</g>
<!-- \\PgSQL_SQL -->
<g id="node6" class="node"><title>\\PgSQL_SQL</title>
<a xlink:href="sys.db.drivers.pgsql.pgsql_sql.html" xlink:title="PgSQL_SQL" target="_parent">
<polygon fill="none" stroke="black" points="553,-628 477,-628 477,-592 553,-592 553,-628"/>
<text text-anchor="middle" x="515" y="-606.6" font-family="Courier,monospace" font-size="11.00">PgSQL_SQL</text>
<polygon fill="none" stroke="black" points="495,-682 419,-682 419,-646 495,-646 495,-682"/>
<text text-anchor="middle" x="457" y="-660.6" font-family="Courier,monospace" font-size="11.00">PgSQL_SQL</text>
</a>
</g>
<!-- \\PgSQL_SQL&#45;&gt;\\DB_SQL -->
<g id="edge6" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M476.475,-592.687C469.629,-589.52 462.584,-586.203 456,-583 416.965,-564.012 373.105,-541.262 341.686,-524.713"/>
<polygon fill="none" stroke="black" points="343.24,-521.575 332.762,-520.003 339.972,-527.766 343.24,-521.575"/>
<path fill="none" stroke="black" d="M418.355,-650.21C407.767,-646.187 396.356,-641.623 386,-637 345.852,-619.078 301.438,-595.83 270.125,-578.839"/>
<polygon fill="none" stroke="black" points="271.707,-575.715 261.252,-574.002 268.356,-581.861 271.707,-575.715"/>
</g>
<!-- \\PgSQL_Util -->
<g id="node7" class="node"><title>\\PgSQL_Util</title>
<a xlink:href="sys.db.drivers.pgsql.pgsql_util.html" xlink:title="PgSQL_Util" target="_parent">
<polygon fill="none" stroke="black" points="557,-898 473,-898 473,-862 557,-862 557,-898"/>
<text text-anchor="middle" x="515" y="-876.6" font-family="Courier,monospace" font-size="11.00">PgSQL_Util</text>
<polygon fill="none" stroke="black" points="499,-952 415,-952 415,-916 499,-916 499,-952"/>
<text text-anchor="middle" x="457" y="-930.6" font-family="Courier,monospace" font-size="11.00">PgSQL_Util</text>
</a>
</g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge8" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M474.892,-861.953C468.548,-859.01 462.078,-855.957 456,-853 416.965,-834.012 373.105,-811.262 341.686,-794.713"/>
<polygon fill="none" stroke="black" points="343.24,-791.575 332.762,-790.003 339.972,-797.766 343.24,-791.575"/>
<path fill="none" stroke="black" d="M414.631,-918.785C405.128,-915.125 395.152,-911.085 386,-907 345.852,-889.078 301.438,-865.83 270.125,-848.839"/>
<polygon fill="none" stroke="black" points="271.707,-845.715 261.252,-844.002 268.356,-851.861 271.707,-845.715"/>
</g>
<!-- \\PgSQL -->
<g id="node8" class="node"><title>\\PgSQL</title>
<a xlink:href="sys.db.drivers.pgsql.pgsql_driver.html" xlink:title="PgSQL" target="_parent">
<polygon fill="none" stroke="black" points="542,-358 488,-358 488,-322 542,-322 542,-358"/>
<text text-anchor="middle" x="515" y="-336.6" font-family="Courier,monospace" font-size="11.00">PgSQL</text>
<polygon fill="none" stroke="black" points="484,-412 430,-412 430,-376 484,-376 484,-412"/>
<text text-anchor="middle" x="457" y="-390.6" font-family="Courier,monospace" font-size="11.00">PgSQL</text>
</a>
</g>
<!-- \\PgSQL&#45;&gt;\\DB_PDO -->
<g id="edge10" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M487.852,-327.9C477.798,-323.333 466.332,-318.026 456,-313 416.965,-294.012 373.105,-271.262 341.686,-254.713"/>
<polygon fill="none" stroke="black" points="343.24,-251.575 332.762,-250.003 339.972,-257.766 343.24,-251.575"/>
<path fill="none" stroke="black" d="M429.736,-384.451C416.405,-379.575 400.21,-373.343 386,-367 345.852,-349.078 301.438,-325.83 270.125,-308.839"/>
<polygon fill="none" stroke="black" points="271.707,-305.715 261.252,-304.002 268.356,-311.861 271.707,-305.715"/>
</g>
<!-- \\ODBC_Util -->
<g id="node9" class="node"><title>\\ODBC_Util</title>
<a xlink:href="sys.db.drivers.odbc.odbc_util.html" xlink:title="ODBC_Util" target="_parent">
<polygon fill="none" stroke="black" points="553,-844 477,-844 477,-808 553,-808 553,-844"/>
<text text-anchor="middle" x="515" y="-822.6" font-family="Courier,monospace" font-size="11.00">ODBC_Util</text>
<polygon fill="none" stroke="black" points="495,-898 419,-898 419,-862 495,-862 495,-898"/>
<text text-anchor="middle" x="457" y="-876.6" font-family="Courier,monospace" font-size="11.00">ODBC_Util</text>
</a>
</g>
<!-- \\ODBC_Util&#45;&gt;\\DB_Util -->
<g id="edge12" class="edge"><title>\\ODBC_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M476.384,-816.346C441.629,-807.657 390.251,-794.813 351.723,-785.181"/>
<polygon fill="none" stroke="black" points="352.273,-781.711 341.723,-782.681 350.576,-788.502 352.273,-781.711"/>
<path fill="none" stroke="black" d="M418.323,-870.84C380.764,-861.944 323.461,-848.372 281.735,-838.49"/>
<polygon fill="none" stroke="black" points="282.289,-835.024 271.751,-836.125 280.675,-841.836 282.289,-835.024"/>
</g>
<!-- \\ODBC_SQL -->
<g id="node10" class="node"><title>\\ODBC_SQL</title>
<a xlink:href="sys.db.drivers.odbc.odbc_sql.html" xlink:title="ODBC_SQL" target="_parent">
<polygon fill="none" stroke="black" points="550,-574 480,-574 480,-538 550,-538 550,-574"/>
<text text-anchor="middle" x="515" y="-552.6" font-family="Courier,monospace" font-size="11.00">ODBC_SQL</text>
<polygon fill="none" stroke="black" points="492,-628 422,-628 422,-592 492,-592 492,-628"/>
<text text-anchor="middle" x="457" y="-606.6" font-family="Courier,monospace" font-size="11.00">ODBC_SQL</text>
</a>
</g>
<!-- \\ODBC_SQL&#45;&gt;\\DB_SQL -->
<g id="edge14" class="edge"><title>\\ODBC_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M479.815,-547.204C444.991,-538.498 391.26,-525.065 351.41,-515.103"/>
<polygon fill="none" stroke="black" points="352.148,-511.679 341.598,-512.65 350.451,-518.47 352.148,-511.679"/>
<path fill="none" stroke="black" d="M421.875,-601.681C384.327,-592.788 324.39,-578.592 281.293,-568.385"/>
<polygon fill="none" stroke="black" points="282.084,-564.976 271.547,-566.077 280.471,-571.787 282.084,-564.976"/>
</g>
<!-- \\ODBC -->
<g id="node11" class="node"><title>\\ODBC</title>
<a xlink:href="sys.db.drivers.odbc.odbc_driver.html" xlink:title="ODBC" target="_parent">
<polygon fill="none" stroke="black" points="542,-304 488,-304 488,-268 542,-268 542,-304"/>
<text text-anchor="middle" x="515" y="-282.6" font-family="Courier,monospace" font-size="11.00">ODBC</text>
<polygon fill="none" stroke="black" points="484,-358 430,-358 430,-322 484,-322 484,-358"/>
<text text-anchor="middle" x="457" y="-336.6" font-family="Courier,monospace" font-size="11.00">ODBC</text>
</a>
</g>
<!-- \\ODBC&#45;&gt;\\DB_PDO -->
<g id="edge16" class="edge"><title>\\ODBC&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M487.643,-279.161C453.521,-270.63 394.445,-255.861 351.476,-245.119"/>
<polygon fill="none" stroke="black" points="352.298,-241.717 341.747,-242.687 350.6,-248.508 352.298,-241.717"/>
<path fill="none" stroke="black" d="M429.95,-333.593C393.465,-324.952 327.725,-309.382 281.392,-298.409"/>
<polygon fill="none" stroke="black" points="282.063,-294.971 271.526,-296.072 280.45,-301.782 282.063,-294.971"/>
</g>
<!-- \\MySQL_Util -->
<g id="node12" class="node"><title>\\MySQL_Util</title>
<a xlink:href="sys.db.drivers.mysql.mysql_util.html" xlink:title="MySQL_Util" target="_parent">
<polygon fill="none" stroke="black" points="557,-790 473,-790 473,-754 557,-754 557,-790"/>
<text text-anchor="middle" x="515" y="-768.6" font-family="Courier,monospace" font-size="11.00">MySQL_Util</text>
<polygon fill="none" stroke="black" points="499,-844 415,-844 415,-808 499,-808 499,-844"/>
<text text-anchor="middle" x="457" y="-822.6" font-family="Courier,monospace" font-size="11.00">MySQL_Util</text>
</a>
</g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge18" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M472.325,-772C437.712,-772 388.759,-772 351.701,-772"/>
<polygon fill="none" stroke="black" points="351.586,-768.5 341.586,-772 351.586,-775.5 351.586,-768.5"/>
<path fill="none" stroke="black" d="M414.382,-826C376.915,-826 322.234,-826 281.963,-826"/>
<polygon fill="none" stroke="black" points="281.795,-822.5 271.795,-826 281.795,-829.5 281.795,-822.5"/>
</g>
<!-- \\MySQL -->
<g id="node13" class="node"><title>\\MySQL</title>
<a xlink:href="sys.db.drivers.mysql.mysql_driver.html" xlink:title="MySQL" target="_parent">
<polygon fill="none" stroke="black" points="542,-250 488,-250 488,-214 542,-214 542,-250"/>
<text text-anchor="middle" x="515" y="-228.6" font-family="Courier,monospace" font-size="11.00">MySQL</text>
<polygon fill="none" stroke="black" points="484,-304 430,-304 430,-268 484,-268 484,-304"/>
<text text-anchor="middle" x="457" y="-282.6" font-family="Courier,monospace" font-size="11.00">MySQL</text>
</a>
</g>
<!-- \\MySQL&#45;&gt;\\DB_PDO -->
<g id="edge20" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M487.643,-232C453.593,-232 394.693,-232 351.747,-232"/>
<polygon fill="none" stroke="black" points="351.747,-228.5 341.747,-232 351.747,-235.5 351.747,-228.5"/>
<path fill="none" stroke="black" d="M429.95,-286C393.541,-286 328.001,-286 281.684,-286"/>
<polygon fill="none" stroke="black" points="281.526,-282.5 271.526,-286 281.526,-289.5 281.526,-282.5"/>
</g>
<!-- \\MySQL_SQL -->
<g id="node14" class="node"><title>\\MySQL_SQL</title>
<a xlink:href="sys.db.drivers.mysql.mysql_sql.html" xlink:title="MySQL_SQL" target="_parent">
<polygon fill="none" stroke="black" points="554,-520 476,-520 476,-484 554,-484 554,-520"/>
<text text-anchor="middle" x="515" y="-498.6" font-family="Courier,monospace" font-size="11.00">MySQL_SQL</text>
<polygon fill="none" stroke="black" points="496,-574 418,-574 418,-538 496,-538 496,-574"/>
<text text-anchor="middle" x="457" y="-552.6" font-family="Courier,monospace" font-size="11.00">MySQL_SQL</text>
</a>
</g>
<!-- \\MySQL_SQL&#45;&gt;\\DB_SQL -->
<g id="edge22" class="edge"><title>\\MySQL_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M475.884,-502C441.213,-502 390.287,-502 351.97,-502"/>
<polygon fill="none" stroke="black" points="351.522,-498.5 341.522,-502 351.522,-505.5 351.522,-498.5"/>
<path fill="none" stroke="black" d="M417.805,-556C380.246,-556 323.289,-556 281.756,-556"/>
<polygon fill="none" stroke="black" points="281.551,-552.5 271.551,-556 281.551,-559.5 281.551,-552.5"/>
</g>
<!-- \\SQLite_Util -->
<g id="node15" class="node"><title>\\SQLite_Util</title>
<a xlink:href="sys.db.drivers.sqlite.sqlite_util.html" xlink:title="SQLite_Util" target="_parent">
<polygon fill="none" stroke="black" points="560,-736 470,-736 470,-700 560,-700 560,-736"/>
<text text-anchor="middle" x="515" y="-714.6" font-family="Courier,monospace" font-size="11.00">SQLite_Util</text>
<polygon fill="none" stroke="black" points="502,-790 412,-790 412,-754 502,-754 502,-790"/>
<text text-anchor="middle" x="457" y="-768.6" font-family="Courier,monospace" font-size="11.00">SQLite_Util</text>
</a>
</g>
<!-- \\SQLite_Util&#45;&gt;\\DB_Util -->
<g id="edge24" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M469.456,-729.386C434.949,-738.013 387.482,-749.879 351.4,-758.9"/>
<polygon fill="none" stroke="black" points="350.398,-755.543 341.545,-761.364 352.096,-762.334 350.398,-755.543"/>
<path fill="none" stroke="black" d="M411.409,-782.798C373.991,-791.66 320.969,-804.218 281.728,-813.512"/>
<polygon fill="none" stroke="black" points="280.737,-810.15 271.813,-815.86 282.35,-816.961 280.737,-810.15"/>
</g>
<!-- \\SQLite -->
<g id="node16" class="node"><title>\\SQLite</title>
<a xlink:href="sys.db.drivers.sqlite.sqlite_driver.html" xlink:title="SQLite" target="_parent">
<polygon fill="none" stroke="black" points="543,-196 487,-196 487,-160 543,-160 543,-196"/>
<text text-anchor="middle" x="515" y="-174.6" font-family="Courier,monospace" font-size="11.00">SQLite</text>
<polygon fill="none" stroke="black" points="485,-250 429,-250 429,-214 485,-214 485,-250"/>
<text text-anchor="middle" x="457" y="-228.6" font-family="Courier,monospace" font-size="11.00">SQLite</text>
</a>
</g>
<!-- \\SQLite&#45;&gt;\\DB_PDO -->
<g id="edge26" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M486.317,-185.171C452.001,-193.75 393.875,-208.281 351.456,-218.886"/>
<polygon fill="none" stroke="black" points="350.429,-215.535 341.577,-221.356 352.127,-222.326 350.429,-215.535"/>
<path fill="none" stroke="black" d="M428.124,-238.839C391.361,-247.546 327.159,-262.752 281.602,-273.542"/>
<polygon fill="none" stroke="black" points="280.529,-270.199 271.605,-275.909 282.143,-277.01 280.529,-270.199"/>
</g>
<!-- \\SQLite_SQL -->
<g id="node17" class="node"><title>\\SQLite_SQL</title>
<a xlink:href="sys.db.drivers.sqlite.sqlite_sql.html" xlink:title="SQLite_SQL" target="_parent">
<polygon fill="none" stroke="black" points="557,-466 473,-466 473,-430 557,-430 557,-466"/>
<text text-anchor="middle" x="515" y="-444.6" font-family="Courier,monospace" font-size="11.00">SQLite_SQL</text>
<polygon fill="none" stroke="black" points="499,-520 415,-520 415,-484 499,-484 499,-520"/>
<text text-anchor="middle" x="457" y="-498.6" font-family="Courier,monospace" font-size="11.00">SQLite_SQL</text>
</a>
</g>
<!-- \\SQLite_SQL&#45;&gt;\\DB_SQL -->
<g id="edge28" class="edge"><title>\\SQLite_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M472.84,-458.54C438.276,-467.181 389.162,-479.46 351.95,-488.763"/>
<polygon fill="none" stroke="black" points="350.644,-485.481 341.792,-491.302 352.342,-492.272 350.644,-485.481"/>
<path fill="none" stroke="black" d="M414.916,-511.967C377.314,-520.873 322.069,-533.957 281.571,-543.549"/>
<polygon fill="none" stroke="black" points="280.536,-540.197 271.612,-545.908 282.149,-547.009 280.536,-540.197"/>
</g>
<!-- \\Firebird_SQL -->
<g id="node18" class="node"><title>\\Firebird_SQL</title>
<a xlink:href="sys.db.drivers.firebird.firebird_sql.html" xlink:title="Firebird_SQL" target="_parent">
<polygon fill="none" stroke="black" points="563,-412 467,-412 467,-376 563,-376 563,-412"/>
<text text-anchor="middle" x="515" y="-390.6" font-family="Courier,monospace" font-size="11.00">Firebird_SQL</text>
<polygon fill="none" stroke="black" points="505,-466 409,-466 409,-430 505,-430 505,-466"/>
<text text-anchor="middle" x="457" y="-444.6" font-family="Courier,monospace" font-size="11.00">Firebird_SQL</text>
</a>
</g>
<!-- \\Firebird_SQL&#45;&gt;\\DB_SQL -->
<g id="edge30" class="edge"><title>\\Firebird_SQL&#45;&gt;\\DB_SQL</title>
<path fill="none" stroke="black" d="M474.892,-412.047C468.548,-414.99 462.078,-418.043 456,-421 416.965,-439.988 373.105,-462.738 341.686,-479.287"/>
<polygon fill="none" stroke="black" points="339.972,-476.234 332.762,-483.997 343.24,-482.425 339.972,-476.234"/>
<path fill="none" stroke="black" d="M408.198,-465.724C400.706,-468.685 393.105,-471.828 386,-475 345.852,-492.922 301.438,-516.17 270.125,-533.161"/>
<polygon fill="none" stroke="black" points="268.356,-530.139 261.252,-537.998 271.707,-536.285 268.356,-530.139"/>
</g>
<!-- \\Firebird_Result -->
<g id="node19" class="node"><title>\\Firebird_Result</title>
<a xlink:href="sys.db.drivers.firebird.firebird_result.html" xlink:title="Firebird_Result" target="_parent">
<polygon fill="none" stroke="black" points="573,-88 457,-88 457,-52 573,-52 573,-88"/>
<text text-anchor="middle" x="515" y="-66.6" font-family="Courier,monospace" font-size="11.00">Firebird_Result</text>
<polygon fill="none" stroke="black" points="515,-142 399,-142 399,-106 515,-106 515,-142"/>
<text text-anchor="middle" x="457" y="-120.6" font-family="Courier,monospace" font-size="11.00">Firebird_Result</text>
</a>
</g>
<!-- \\PDOStatement -->
<g id="node48" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="299" cy="-18" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="299" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
<g id="node46" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="229" cy="-18" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="229" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g>
<!-- \\Firebird_Result&#45;&gt;\\PDOStatement -->
<g id="edge32" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title>
<path fill="none" stroke="black" d="M456.262,-55.8595C428.213,-49.1069 394.522,-40.996 365.531,-34.0167"/>
<polygon fill="none" stroke="black" points="366.031,-30.5372 355.49,-31.5994 364.393,-37.3428 366.031,-30.5372"/>
<path fill="none" stroke="black" d="M403.829,-105.848C397.688,-103.15 391.619,-100.191 386,-97 350.51,-76.8439 350.545,-58.1724 314,-40 309.624,-37.8239 305.011,-35.8478 300.288,-34.0557"/>
<polygon fill="none" stroke="black" points="301.077,-30.6241 290.483,-30.6306 298.769,-37.2326 301.077,-30.6241"/>
</g>
<!-- \\Firebird -->
<g id="node20" class="node"><title>\\Firebird</title>
<a xlink:href="sys.db.drivers.firebird.firebird_driver.html" xlink:title="Firebird" target="_parent">
<polygon fill="none" stroke="black" points="550,-142 480,-142 480,-106 550,-106 550,-142"/>
<text text-anchor="middle" x="515" y="-120.6" font-family="Courier,monospace" font-size="11.00">Firebird</text>
<polygon fill="none" stroke="black" points="492,-196 422,-196 422,-160 492,-160 492,-196"/>
<text text-anchor="middle" x="457" y="-174.6" font-family="Courier,monospace" font-size="11.00">Firebird</text>
</a>
</g>
<!-- \\Firebird&#45;&gt;\\DB_PDO -->
<g id="edge34" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title>
<path fill="none" stroke="black" d="M479.906,-138.262C471.844,-142.026 463.454,-146.349 456,-151 420.9,-172.9 420.888,-191.268 384,-210 374.01,-215.073 362.75,-219.046 351.773,-222.133"/>
<polygon fill="none" stroke="black" points="350.611,-218.819 341.815,-224.725 352.375,-225.593 350.611,-218.819"/>
<path fill="none" stroke="black" d="M421.666,-188.889C409.944,-193.16 397.07,-198.589 386,-205 350.199,-225.734 350.888,-245.268 314,-264 304.01,-269.073 292.75,-273.046 281.773,-276.133"/>
<polygon fill="none" stroke="black" points="280.611,-272.819 271.815,-278.725 282.375,-279.593 280.611,-272.819"/>
</g>
<!-- \\Firebird_Util -->
<g id="node21" class="node"><title>\\Firebird_Util</title>
<a xlink:href="sys.db.drivers.firebird.firebird_util.html" xlink:title="Firebird_Util" target="_parent">
<polygon fill="none" stroke="black" points="567,-682 463,-682 463,-646 567,-646 567,-682"/>
<text text-anchor="middle" x="515" y="-660.6" font-family="Courier,monospace" font-size="11.00">Firebird_Util</text>
<polygon fill="none" stroke="black" points="509,-736 405,-736 405,-700 509,-700 509,-736"/>
<text text-anchor="middle" x="457" y="-714.6" font-family="Courier,monospace" font-size="11.00">Firebird_Util</text>
</a>
</g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="edge36" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M474.892,-682.047C468.548,-684.99 462.078,-688.043 456,-691 416.965,-709.988 373.105,-732.738 341.686,-749.287"/>
<polygon fill="none" stroke="black" points="339.972,-746.234 332.762,-753.997 343.24,-752.425 339.972,-746.234"/>
<path fill="none" stroke="black" d="M407.435,-736.026C400.191,-738.898 392.864,-741.936 386,-745 345.852,-762.922 301.438,-786.17 270.125,-803.161"/>
<polygon fill="none" stroke="black" points="268.356,-800.139 261.252,-807.998 271.707,-806.285 268.356,-800.139"/>
</g>
<!-- \\Bcrypt -->
<g id="node22" class="node"><title>\\Bcrypt</title>
<a xlink:href="sys.libraries.Bcrypt.html" xlink:title="Bcrypt" target="_parent">
<polygon fill="none" stroke="black" points="485,-88 429,-88 429,-52 485,-52 485,-88"/>
<text text-anchor="middle" x="457" y="-66.6" font-family="Courier,monospace" font-size="11.00">Bcrypt</text>
</a>
</g>
<!-- \\miniMVC\\Page -->
<g id="node23" class="node"><title>\\miniMVC\\Page</title>
<g id="node24" class="node"><title>\\miniMVC\\Page</title>
<a xlink:href="sys.core.Page.html" xlink:title="Page" target="_parent">
<polygon fill="none" stroke="black" points="715,-1282 661,-1282 661,-1246 715,-1246 715,-1282"/>
<text text-anchor="middle" x="688" y="-1260.6" font-family="Courier,monospace" font-size="11.00">Page</text>
<polygon fill="none" stroke="black" points="669,-1168 615,-1168 615,-1132 669,-1132 669,-1168"/>
<text text-anchor="middle" x="642" y="-1146.6" font-family="Courier,monospace" font-size="11.00">Page</text>
</a>
</g>
<!-- \\miniMVC\\Output -->
<g id="node29" class="node"><title>\\miniMVC\\Output</title>
<a xlink:href="sys.core.Output.html" xlink:title="Output" target="_parent">
<polygon fill="none" stroke="black" points="543,-1282 487,-1282 487,-1246 543,-1246 543,-1282"/>
<text text-anchor="middle" x="515" y="-1260.6" font-family="Courier,monospace" font-size="11.00">Output</text>
</a>
</g>
<!-- \\miniMVC\\Page&#45;&gt;\\miniMVC\\Output -->
<g id="edge38" class="edge"><title>\\miniMVC\\Page&#45;&gt;\\miniMVC\\Output</title>
<path fill="none" stroke="black" d="M660.969,-1264C632.156,-1264 586.282,-1264 553.656,-1264"/>
<polygon fill="none" stroke="black" points="553.567,-1260.5 543.567,-1264 553.567,-1267.5 553.567,-1260.5"/>
</g>
<!-- \\miniMVC\\Model -->
<g id="node24" class="node"><title>\\miniMVC\\Model</title>
<g id="node25" class="node"><title>\\miniMVC\\Model</title>
<a xlink:href="sys.core.Model.html" xlink:title="Model" target="_parent">
<polygon fill="none" stroke="black" points="715,-1228 661,-1228 661,-1192 715,-1192 715,-1228"/>
<text text-anchor="middle" x="688" y="-1206.6" font-family="Courier,monospace" font-size="11.00">Model</text>
<polygon fill="none" stroke="black" points="669,-1114 615,-1114 615,-1078 669,-1078 669,-1114"/>
<text text-anchor="middle" x="642" y="-1092.6" font-family="Courier,monospace" font-size="11.00">Model</text>
</a>
</g>
<!-- \\miniMVC\\miniMVC -->
<g id="node27" class="node"><title>\\miniMVC\\miniMVC</title>
<a xlink:href="sys.core.miniMVC.html" xlink:title="miniMVC" target="_parent">
<polygon fill="none" stroke="black" points="547,-1228 483,-1228 483,-1192 547,-1192 547,-1228"/>
<text text-anchor="middle" x="515" y="-1206.6" font-family="Courier,monospace" font-size="11.00">miniMVC</text>
</a>
<!-- \\ArrayObject -->
<g id="node50" class="node"><title>\\ArrayObject</title>
<ellipse fill="none" stroke="black" cx="457" cy="-1096" rx="71.107" ry="18"/>
<text text-anchor="middle" x="457" y="-1091.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\ArrayObject</text>
</g>
<!-- \\miniMVC\\Model&#45;&gt;\\miniMVC\\miniMVC -->
<g id="edge40" class="edge"><title>\\miniMVC\\Model&#45;&gt;\\miniMVC\\miniMVC</title>
<path fill="none" stroke="black" d="M660.969,-1210C633.357,-1210 590.075,-1210 557.801,-1210"/>
<polygon fill="none" stroke="black" points="557.743,-1206.5 547.743,-1210 557.743,-1213.5 557.743,-1206.5"/>
<!-- \\miniMVC\\Model&#45;&gt;\\ArrayObject -->
<g id="edge38" class="edge"><title>\\miniMVC\\Model&#45;&gt;\\ArrayObject</title>
<path fill="none" stroke="black" d="M614.703,-1096C594.472,-1096 565.775,-1096 538.395,-1096"/>
<polygon fill="none" stroke="black" points="538.385,-1092.5 528.385,-1096 538.385,-1099.5 538.385,-1092.5"/>
</g>
<!-- \\miniMVC\\Controller -->
<g id="node25" class="node"><title>\\miniMVC\\Controller</title>
<g id="node26" class="node"><title>\\miniMVC\\Controller</title>
<a xlink:href="sys.core.Controller.html" xlink:title="Controller" target="_parent">
<polygon fill="none" stroke="black" points="730,-1174 646,-1174 646,-1138 730,-1138 730,-1174"/>
<text text-anchor="middle" x="688" y="-1152.6" font-family="Courier,monospace" font-size="11.00">Controller</text>
<polygon fill="none" stroke="black" points="684,-1060 600,-1060 600,-1024 684,-1024 684,-1060"/>
<text text-anchor="middle" x="642" y="-1038.6" font-family="Courier,monospace" font-size="11.00">Controller</text>
</a>
</g>
<!-- \\miniMVC\\Controller&#45;&gt;\\miniMVC\\miniMVC -->
<g id="edge42" class="edge"><title>\\miniMVC\\Controller&#45;&gt;\\miniMVC\\miniMVC</title>
<path fill="none" stroke="black" d="M645.679,-1169.21C618.892,-1177.57 584.377,-1188.34 557.547,-1196.72"/>
<polygon fill="none" stroke="black" points="556.175,-1193.48 547.672,-1199.8 558.26,-1200.16 556.175,-1193.48"/>
</g>
<!-- \\miniMVC\\DB -->
<g id="node26" class="node"><title>\\miniMVC\\DB</title>
<g id="node27" class="node"><title>\\miniMVC\\DB</title>
<a xlink:href="sys.core.db.html" xlink:title="DB" target="_parent">
<polygon fill="none" stroke="black" points="715,-1120 661,-1120 661,-1084 715,-1084 715,-1120"/>
<text text-anchor="middle" x="688" y="-1098.6" font-family="Courier,monospace" font-size="11.00">DB</text>
<polygon fill="none" stroke="black" points="669,-1006 615,-1006 615,-970 669,-970 669,-1006"/>
<text text-anchor="middle" x="642" y="-984.6" font-family="Courier,monospace" font-size="11.00">DB</text>
</a>
</g>
<!-- \\miniMVC\\DB&#45;&gt;\\Query_Builder -->
<g id="edge44" class="edge"><title>\\miniMVC\\DB&#45;&gt;\\Query_Builder</title>
<path fill="none" stroke="black" d="M660.77,-1087.21C655.511,-1083.63 650.305,-1079.52 646,-1075 606.717,-1033.77 624.268,-1002.16 582,-964 579.415,-961.666 576.618,-959.488 573.684,-957.461"/>
<polygon fill="none" stroke="black" points="575.457,-954.441 565.116,-952.136 571.762,-960.387 575.457,-954.441"/>
</g>
<!-- \\miniMVC\\MM -->
<g id="node28" class="node"><title>\\miniMVC\\MM</title>
<a xlink:href="sys.core.MM.html" xlink:title="MM" target="_parent">
<polygon fill="none" stroke="black" points="326,-1255 272,-1255 272,-1219 326,-1219 326,-1255"/>
<text text-anchor="middle" x="299" y="-1233.6" font-family="Courier,monospace" font-size="11.00">MM</text>
</a>
</g>
<!-- \\miniMVC\\miniMVC&#45;&gt;\\miniMVC\\MM -->
<g id="edge46" class="edge"><title>\\miniMVC\\miniMVC&#45;&gt;\\miniMVC\\MM</title>
<path fill="none" stroke="black" d="M482.194,-1214.1C443.001,-1219 377.58,-1227.18 336.444,-1232.32"/>
<polygon fill="none" stroke="black" points="335.775,-1228.88 326.286,-1233.59 336.643,-1235.82 335.775,-1228.88"/>
</g>
<!-- \\ArrayObject -->
<g id="node57" class="node"><title>\\ArrayObject</title>
<ellipse fill="none" stroke="black" cx="71" cy="-1237" rx="71.107" ry="18"/>
<text text-anchor="middle" x="71" y="-1232.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\ArrayObject</text>
</g>
<!-- \\miniMVC\\MM&#45;&gt;\\ArrayObject -->
<g id="edge48" class="edge"><title>\\miniMVC\\MM&#45;&gt;\\ArrayObject</title>
<path fill="none" stroke="black" d="M271.95,-1237C242.636,-1237 194.438,-1237 152.593,-1237"/>
<polygon fill="none" stroke="black" points="152.386,-1233.5 142.386,-1237 152.386,-1240.5 152.386,-1233.5"/>
</g>
<!-- \\miniMVC\\Output&#45;&gt;\\miniMVC\\MM -->
<g id="edge50" class="edge"><title>\\miniMVC\\Output&#45;&gt;\\miniMVC\\MM</title>
<path fill="none" stroke="black" d="M486.317,-1260.41C447.621,-1255.58 378.648,-1246.96 336.062,-1241.63"/>
<polygon fill="none" stroke="black" points="336.455,-1238.15 326.098,-1240.39 335.586,-1245.1 336.455,-1238.15"/>
<g id="edge40" class="edge"><title>\\miniMVC\\DB&#45;&gt;\\Query_Builder</title>
<path fill="none" stroke="black" d="M614.703,-988C589.762,-988 551.953,-988 519.608,-988"/>
<polygon fill="none" stroke="black" points="519.322,-984.5 509.322,-988 519.322,-991.5 519.322,-984.5"/>
</g>
<!-- \\miniMVC\\Session -->
<g id="node30" class="node"><title>\\miniMVC\\Session</title>
<g id="node28" class="node"><title>\\miniMVC\\Session</title>
<a xlink:href="sys.libraries.Session.html" xlink:title="Session" target="_parent">
<polygon fill="none" stroke="black" points="720,-1066 656,-1066 656,-1030 720,-1030 720,-1066"/>
<text text-anchor="middle" x="688" y="-1044.6" font-family="Courier,monospace" font-size="11.00">Session</text>
<polygon fill="none" stroke="black" points="674,-952 610,-952 610,-916 674,-916 674,-952"/>
<text text-anchor="middle" x="642" y="-930.6" font-family="Courier,monospace" font-size="11.00">Session</text>
</a>
</g>
<!-- \\miniMVC\\Data_Store -->
<g id="node31" class="node"><title>\\miniMVC\\Data_Store</title>
<g id="node29" class="node"><title>\\miniMVC\\Data_Store</title>
<a xlink:href="sys.libraries.Data_Store.html" xlink:title="Data_Store" target="_parent">
<polygon fill="none" stroke="black" points="730,-1012 646,-1012 646,-976 730,-976 730,-1012"/>
<text text-anchor="middle" x="688" y="-990.6" font-family="Courier,monospace" font-size="11.00">Data_Store</text>
<polygon fill="none" stroke="black" points="684,-898 600,-898 600,-862 684,-862 684,-898"/>
<text text-anchor="middle" x="642" y="-876.6" font-family="Courier,monospace" font-size="11.00">Data_Store</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 20 KiB

203
docs/classes/Bcrypt.html Normal file
View File

@ -0,0 +1,203 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>miniMVC » \Bcrypt</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">miniMVC</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
<li><a href="../packages/miniMVC.html"><i class="icon-folder-open"></i> miniMVC</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo 
<span class="label label-info">5</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#__construct" title="__construct :: Create a new Bcrypt object"><span class="description">Create a new Bcrypt object</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#hash" title="hash :: Returns a has for the input string"><span class="description">Returns a has for the input string</span><pre>hash()</pre></a></li>
<li class="method public "><a href="#verify" title="verify :: Check if a password hash is valid"><span class="description">Check if a password hash is valid</span><pre>verify()</pre></a></li>
<li class="nav-header private">» Private</li>
<li class="method private "><a href="#encodeBytes" title="encodeBytes :: Further randomizes salt?"><span class="description">Further randomizes salt?</span><pre>encodeBytes()</pre></a></li>
<li class="method private "><a href="#getRandomBytes" title="getRandomBytes :: Private method to generate random characters for salt"><span class="description">Private method to generate random characters for salt</span><pre>getRandomBytes()</pre></a></li>
<li class="method private "><a href="#getSalt" title="getSalt :: Private function to generate the random salt"><span class="description">Private function to generate the random salt</span><pre>getSalt()</pre></a></li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li>
<li class="nav-header private">» Private</li>
<li class="property private "><a href="#%24randomState" title="$randomState :: Stores random seed"><span class="description">Stores random seed</span><pre>$randomState</pre></a></li>
<li class="property private "><a href="#%24rounds" title="$rounds :: Number of times to recurse"><span class="description">Number of times to recurse</span><pre>$rounds</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CBcrypt" id="\Bcrypt"></a><div href="../classes/Bcrypt.html" class="element class">
<p class="short_description">Class to simplify dealing with bcrypt for password handling</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>see</th>
<td></td>
</tr>
<tr>
<th>package</th>
<td><a href="..//packages/miniMVC.libraries.html">miniMVC</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>libraries</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Create a new Bcrypt object</h2>
<pre>__construct(int $rounds) </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>$rounds</h4>
<code>int</code>
</div>
</div></div>
</div>
<a name="hash" id="hash"></a><div class="element clickable method public hash" data-toggle="collapse" data-target=".hash .collapse">
<h2>Returns a has for the input string</h2>
<pre>hash($input) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$input</h4>
<code></code><p>string</p></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="verify" id="verify"></a><div class="element clickable method public verify" data-toggle="collapse" data-target=".verify .collapse">
<h2>Check if a password hash is valid</h2>
<pre>verify($input, $existingHash) : bool</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>$input</h4>
<code></code><p>string</p></div>
<div class="subelement argument">
<h4>$existingHash</h4>
<code></code><p>string</p></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
<a name="encodeBytes" id="encodeBytes"></a><div class="element clickable method private encodeBytes" data-toggle="collapse" data-target=".encodeBytes .collapse">
<h2>Further randomizes salt?</h2>
<pre>encodeBytes($input) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$input</h4>
<code></code><p>string</p></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="getRandomBytes" id="getRandomBytes"></a><div class="element clickable method private getRandomBytes" data-toggle="collapse" data-target=".getRandomBytes .collapse">
<h2>Private method to generate random characters for salt</h2>
<pre>getRandomBytes($count) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$count</h4>
<code></code><p>int</p></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="getSalt" id="getSalt"></a><div class="element clickable method private getSalt" data-toggle="collapse" data-target=".getSalt .collapse">
<h2>Private function to generate the random salt</h2>
<pre>getSalt() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24randomState" id="$randomState"> </a><div class="element clickable property private $randomState" data-toggle="collapse" data-target=".$randomState .collapse">
<h2>Stores random seed</h2>
<pre>$randomState : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24rounds" id="$rounds"> </a><div class="element clickable property private $rounds" data-toggle="collapse" data-target=".$rounds .collapse">
<h2>Number of times to recurse</h2>
<pre>$rounds : int</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -708,7 +708,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:41-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -300,7 +300,7 @@ specified table</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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:41-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -211,7 +211,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -870,7 +870,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-06-06T16:50:21-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -506,7 +506,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-06-06T16:50:21-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -310,7 +310,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-06-06T16:50:21-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -214,7 +214,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-06-06T16:50:21-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -906,7 +906,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -315,7 +315,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -210,7 +210,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -908,7 +908,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -310,7 +310,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -205,7 +205,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -908,7 +908,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -310,7 +310,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -210,7 +210,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -1224,7 +1224,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:41-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -923,7 +923,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -310,7 +310,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-06-06T16:50:21-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -210,7 +210,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-06-06T16:50:20-04:00.<br></footer></div>
generated on 2012-07-03T13:29:42-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -59,56 +59,9 @@
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public inherited"><a href="#__call" title="__call :: Allow calling of array methods on the object and
dynamic methods"><span class="description">Allow calling of array methods on the object and
dynamic methods</span><pre>__call()</pre></a></li>
<li class="method public "><a href="#__construct" title="__construct :: Create the controller object"><span class="description">Create the controller object</span><pre>__construct()</pre></a></li>
<li class="method public inherited"><a href="#append" title="append :: "><span class="description">append()
</span><pre>append()</pre></a></li>
<li class="method public inherited"><a href="#asort" title="asort :: "><span class="description">asort()
</span><pre>asort()</pre></a></li>
<li class="method public inherited"><a href="#count" title="count :: "><span class="description">count()
</span><pre>count()</pre></a></li>
<li class="method public inherited"><a href="#exchangeArray" title="exchangeArray :: "><span class="description">exchangeArray()
</span><pre>exchangeArray()</pre></a></li>
<li class="method public inherited"><a href="#getArrayCopy" title="getArrayCopy :: "><span class="description">getArrayCopy()
</span><pre>getArrayCopy()</pre></a></li>
<li class="method public inherited"><a href="#getFlags" title="getFlags :: "><span class="description">getFlags()
</span><pre>getFlags()</pre></a></li>
<li class="method public inherited"><a href="#getIterator" title="getIterator :: "><span class="description">getIterator()
</span><pre>getIterator()</pre></a></li>
<li class="method public inherited"><a href="#getIteratorClass" title="getIteratorClass :: "><span class="description">getIteratorClass()
</span><pre>getIteratorClass()</pre></a></li>
<li class="method public inherited"><a href="#ksort" title="ksort :: "><span class="description">ksort()
</span><pre>ksort()</pre></a></li>
<li class="method public inherited"><a href="#load_config" title="load_config :: Convenience function to load config files"><span class="description">Convenience function to load config files</span><pre>load_config()</pre></a></li>
<li class="method public "><a href="#load_model" title="load_model :: Function for loading a model into the current class"><span class="description">Function for loading a model into the current class</span><pre>load_model()</pre></a></li>
<li class="method public "><a href="#load_view" title="load_view :: Function for loading a view"><span class="description">Function for loading a view</span><pre>load_view()</pre></a></li>
<li class="method public inherited"><a href="#natcasesort" title="natcasesort :: "><span class="description">natcasesort()
</span><pre>natcasesort()</pre></a></li>
<li class="method public inherited"><a href="#natsort" title="natsort :: "><span class="description">natsort()
</span><pre>natsort()</pre></a></li>
<li class="method public inherited"><a href="#offsetExists" title="offsetExists :: "><span class="description">offsetExists()
</span><pre>offsetExists()</pre></a></li>
<li class="method public inherited"><a href="#offsetGet" title="offsetGet :: "><span class="description">offsetGet()