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. miniMVC is a minimalistic Modular MVC framework, with built-in minifier, and pure-PHP templating system.
### Requirements ### Requirements
* PHP 5.4+ * PHP 5.3+
* PDO extensions for databases you wish to use * 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 * Apache
* IIS * IIS
* Lighttpd * Lighttpd
* Resin/Quercus
* SimpleTest library for running unit tests * SimpleTest library for running unit tests
### Unique features ### 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 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. 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 = [ $db_conf = array(
'default' => [ 'default' => array(
'type' => '', 'type' => '',
'host' => '', 'host' => '',
'user' => '', 'user' => '',
'pass' => '', 'pass' => '',
'port' => '' 'port' => '',
'database' => '', 'database' => '',
'file' => '', 'file' => '',
] )
]; );
// End of db.php // End of db.php

View File

@ -29,11 +29,11 @@
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
return [ return array(
// Default Paths // Default Paths
'default_controller' => 'welcome', 'default_controller' => 'welcome',
'default_module' => 'welcome', 'default_module' => 'welcome',
'404_route' => '', '404_route' => '',
]; );
// End of routes.php // 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 * This is the config array for css files to concatenate and minify
*/ */
return [ return array(
/*----- /*-----
Css Css
-----*/ -----*/
'css' => [ 'css' => array(
'message.css' 'message.css'
], ),
/* /*
For each group create an array like so For each group create an array like so
@ -32,5 +32,5 @@ return [
'path/to/css/file2.css' 'path/to/css/file2.css'
], ],
*/ */
]; );
// End of css_groups.php // 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. //Remove tabs, spaces, newlines, etc.
$buffer = preg_replace('`\s+`', ' ', $buffer); $buffer = preg_replace('`\s+`', ' ', $buffer);
$replace = [ $replace = array(
' )' => ')', ' )' => ')',
') ' => ')', ') ' => ')',
' }' => '}', ' }' => '}',
@ -54,7 +54,7 @@ function compress($buffer) {
', ' => ',', ', ' => ',',
': ' => ':', ': ' => ':',
'; ' => ';', '; ' => ';',
]; );
//Eradicate every last space! //Eradicate every last space!
$buffer = trim(strtr($buffer, $replace)); $buffer = trim(strtr($buffer, $replace));
@ -84,7 +84,7 @@ while($i < $pia_len)
}; };
$css = ''; $css = '';
$modified = []; $modified = array();
if (isset($groups[$_GET['g']])) if (isset($groups[$_GET['g']]))
{ {

View File

@ -4,371 +4,332 @@
<!-- Generated by graphviz version 2.26.3 (20100126.1600) <!-- Generated by graphviz version 2.26.3 (20100126.1600)
--> -->
<!-- Title: G Pages: 1 --> <!-- Title: G Pages: 1 -->
<svg width="754pt" height="1327pt" <svg width="708pt" height="1213pt"
viewBox="0.00 0.00 754.00 1327.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 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 1323)"> <g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1209)">
<title>G</title> <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> <g id="graph2" class="cluster"><title>cluster_default</title>
<polyline fill="none" stroke="none" points="260,-44 570,-44 "/> <polyline fill="none" stroke="none" points="190,-44 512,-44 "/>
<path fill="none" stroke="none" d="M570,-44C576,-44 582,-50 582,-56"/> <path fill="none" stroke="none" d="M512,-44C518,-44 524,-50 524,-56"/>
<polyline fill="none" stroke="none" points="582,-56 582,-948 "/> <polyline fill="none" stroke="none" points="524,-56 524,-1002 "/>
<path fill="none" stroke="none" d="M582,-948C582,-954 576,-960 570,-960"/> <path fill="none" stroke="none" d="M524,-1002C524,-1008 518,-1014 512,-1014"/>
<polyline fill="none" stroke="none" points="570,-960 260,-960 "/> <polyline fill="none" stroke="none" points="512,-1014 190,-1014 "/>
<path fill="none" stroke="none" d="M260,-960C254,-960 248,-954 248,-948"/> <path fill="none" stroke="none" d="M190,-1014C184,-1014 178,-1008 178,-1002"/>
<polyline fill="none" stroke="none" points="248,-948 248,-56 "/> <polyline fill="none" stroke="none" points="178,-1002 178,-56 "/>
<path fill="none" stroke="none" d="M248,-56C248,-50 254,-44 260,-44"/> <path fill="none" stroke="none" d="M178,-56C178,-50 184,-44 190,-44"/>
</g> </g>
<g id="graph3" class="cluster"><title>cluster_miniMVC</title> <g id="graph3" class="cluster"><title>cluster_miniMVC</title>
<polyline fill="none" stroke="gray" points="276,-968 726,-968 "/> <polyline fill="none" stroke="gray" points="604,-854 680,-854 "/>
<path fill="none" stroke="gray" d="M726,-968C732,-968 738,-974 738,-980"/> <path fill="none" stroke="gray" d="M680,-854C686,-854 692,-860 692,-866"/>
<polyline fill="none" stroke="gray" points="738,-980 738,-1299 "/> <polyline fill="none" stroke="gray" points="692,-866 692,-1185 "/>
<path fill="none" stroke="gray" d="M738,-1299C738,-1305 732,-1311 726,-1311"/> <path fill="none" stroke="gray" d="M692,-1185C692,-1191 686,-1197 680,-1197"/>
<polyline fill="none" stroke="gray" points="726,-1311 276,-1311 "/> <polyline fill="none" stroke="gray" points="680,-1197 604,-1197 "/>
<path fill="none" stroke="gray" d="M276,-1311C270,-1311 264,-1305 264,-1299"/> <path fill="none" stroke="gray" d="M604,-1197C598,-1197 592,-1191 592,-1185"/>
<polyline fill="none" stroke="gray" points="264,-1299 264,-980 "/> <polyline fill="none" stroke="gray" points="592,-1185 592,-866 "/>
<path fill="none" stroke="gray" d="M264,-980C264,-974 270,-968 276,-968"/> <path fill="none" stroke="gray" d="M592,-866C592,-860 598,-854 604,-854"/>
<text text-anchor="middle" x="501" y="-1297.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">miniMVC</text> <text text-anchor="middle" x="642" y="-1183.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">miniMVC</text>
</g> </g>
<!-- \\DB_SQL --> <!-- \\DB_SQL -->
<g id="node2" class="node"><title>\\DB_SQL</title> <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"> <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"/> <polygon fill="none" stroke="black" points="271,-574 187,-574 187,-538 271,-538 271,-574"/>
<text text-anchor="start" x="265" y="-507.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text> <text text-anchor="start" x="195" y="-561.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> <text text-anchor="start" x="208.5" y="-548.233" font-family="Courier,monospace" font-size="11.00">DB_SQL</text>
</a> </a>
</g> </g>
<!-- \\DB_PDO --> <!-- \\DB_PDO -->
<g id="node3" class="node"><title>\\DB_PDO</title> <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"> <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"/> <polygon fill="none" stroke="black" points="271,-304 187,-304 187,-268 271,-268 271,-304"/>
<text text-anchor="start" x="265" y="-237.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text> <text text-anchor="start" x="195" y="-291.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> <text text-anchor="start" x="208.5" y="-278.233" font-family="Courier,monospace" font-size="11.00">DB_PDO</text>
</a> </a>
</g> </g>
<!-- \\PDO --> <!-- \\PDO -->
<g id="node33" class="node"><title>\\PDO</title> <g id="node31" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="71" cy="-232" rx="35.0527" ry="18"/> <ellipse fill="none" stroke="black" cx="36" cy="-286" 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> <text text-anchor="middle" x="36" y="-281.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
</g> </g>
<!-- \\DB_PDO&#45;&gt;\\PDO --> <!-- \\DB_PDO&#45;&gt;\\PDO -->
<g id="edge4" class="edge"><title>\\DB_PDO&#45;&gt;\\PDO</title> <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"/> <path fill="none" stroke="black" d="M186.167,-286C155.237,-286 113.521,-286 81.907,-286"/>
<polygon fill="none" stroke="black" points="116.667,-228.5 106.667,-232 116.667,-235.5 116.667,-228.5"/> <polygon fill="none" stroke="black" points="81.603,-282.5 71.603,-286 81.603,-289.5 81.603,-282.5"/>
</g> </g>
<!-- \\Query_Builder --> <!-- \\Query_Builder -->
<g id="node4" class="node"><title>\\Query_Builder</title> <g id="node4" class="node"><title>\\Query_Builder</title>
<a xlink:href="sys.db.classes.query_builder.html" xlink:title="Query_Builder" target="_parent"> <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"/> <polygon fill="none" stroke="black" points="509,-1006 405,-1006 405,-970 509,-970 509,-1006"/>
<text text-anchor="middle" x="515" y="-930.6" font-family="Courier,monospace" font-size="11.00">Query_Builder</text> <text text-anchor="middle" x="457" y="-984.6" font-family="Courier,monospace" font-size="11.00">Query_Builder</text>
</a> </a>
</g> </g>
<!-- \\DB_Util --> <!-- \\DB_Util -->
<g id="node5" class="node"><title>\\DB_Util</title> <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"> <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"/> <polygon fill="none" stroke="black" points="271,-844 187,-844 187,-808 271,-808 271,-844"/>
<text text-anchor="start" x="265" y="-777.433" font-family="Courier,monospace" font-size="11.00">«abstract»</text> <text text-anchor="start" x="195" y="-831.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> <text text-anchor="start" x="205" y="-818.233" font-family="Courier,monospace" font-size="11.00">DB_Util</text>
</a> </a>
</g> </g>
<!-- \\PgSQL_SQL --> <!-- \\PgSQL_SQL -->
<g id="node6" class="node"><title>\\PgSQL_SQL</title> <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"> <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"/> <polygon fill="none" stroke="black" points="495,-682 419,-682 419,-646 495,-646 495,-682"/>
<text text-anchor="middle" x="515" y="-606.6" font-family="Courier,monospace" font-size="11.00">PgSQL_SQL</text> <text text-anchor="middle" x="457" y="-660.6" font-family="Courier,monospace" font-size="11.00">PgSQL_SQL</text>
</a> </a>
</g> </g>
<!-- \\PgSQL_SQL&#45;&gt;\\DB_SQL --> <!-- \\PgSQL_SQL&#45;&gt;\\DB_SQL -->
<g id="edge6" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\DB_SQL</title> <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"/> <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="343.24,-521.575 332.762,-520.003 339.972,-527.766 343.24,-521.575"/> <polygon fill="none" stroke="black" points="271.707,-575.715 261.252,-574.002 268.356,-581.861 271.707,-575.715"/>
</g> </g>
<!-- \\PgSQL_Util --> <!-- \\PgSQL_Util -->
<g id="node7" class="node"><title>\\PgSQL_Util</title> <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"> <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"/> <polygon fill="none" stroke="black" points="499,-952 415,-952 415,-916 499,-916 499,-952"/>
<text text-anchor="middle" x="515" y="-876.6" font-family="Courier,monospace" font-size="11.00">PgSQL_Util</text> <text text-anchor="middle" x="457" y="-930.6" font-family="Courier,monospace" font-size="11.00">PgSQL_Util</text>
</a> </a>
</g> </g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util --> <!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge8" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title> <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"/> <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="343.24,-791.575 332.762,-790.003 339.972,-797.766 343.24,-791.575"/> <polygon fill="none" stroke="black" points="271.707,-845.715 261.252,-844.002 268.356,-851.861 271.707,-845.715"/>
</g> </g>
<!-- \\PgSQL --> <!-- \\PgSQL -->
<g id="node8" class="node"><title>\\PgSQL</title> <g id="node8" class="node"><title>\\PgSQL</title>
<a xlink:href="sys.db.drivers.pgsql.pgsql_driver.html" xlink:title="PgSQL" target="_parent"> <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"/> <polygon fill="none" stroke="black" points="484,-412 430,-412 430,-376 484,-376 484,-412"/>
<text text-anchor="middle" x="515" y="-336.6" font-family="Courier,monospace" font-size="11.00">PgSQL</text> <text text-anchor="middle" x="457" y="-390.6" font-family="Courier,monospace" font-size="11.00">PgSQL</text>
</a> </a>
</g> </g>
<!-- \\PgSQL&#45;&gt;\\DB_PDO --> <!-- \\PgSQL&#45;&gt;\\DB_PDO -->
<g id="edge10" class="edge"><title>\\PgSQL&#45;&gt;\\DB_PDO</title> <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"/> <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="343.24,-251.575 332.762,-250.003 339.972,-257.766 343.24,-251.575"/> <polygon fill="none" stroke="black" points="271.707,-305.715 261.252,-304.002 268.356,-311.861 271.707,-305.715"/>
</g> </g>
<!-- \\ODBC_Util --> <!-- \\ODBC_Util -->
<g id="node9" class="node"><title>\\ODBC_Util</title> <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"> <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"/> <polygon fill="none" stroke="black" points="495,-898 419,-898 419,-862 495,-862 495,-898"/>
<text text-anchor="middle" x="515" y="-822.6" font-family="Courier,monospace" font-size="11.00">ODBC_Util</text> <text text-anchor="middle" x="457" y="-876.6" font-family="Courier,monospace" font-size="11.00">ODBC_Util</text>
</a> </a>
</g> </g>
<!-- \\ODBC_Util&#45;&gt;\\DB_Util --> <!-- \\ODBC_Util&#45;&gt;\\DB_Util -->
<g id="edge12" class="edge"><title>\\ODBC_Util&#45;&gt;\\DB_Util</title> <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"/> <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="352.273,-781.711 341.723,-782.681 350.576,-788.502 352.273,-781.711"/> <polygon fill="none" stroke="black" points="282.289,-835.024 271.751,-836.125 280.675,-841.836 282.289,-835.024"/>
</g> </g>
<!-- \\ODBC_SQL --> <!-- \\ODBC_SQL -->
<g id="node10" class="node"><title>\\ODBC_SQL</title> <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"> <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"/> <polygon fill="none" stroke="black" points="492,-628 422,-628 422,-592 492,-592 492,-628"/>
<text text-anchor="middle" x="515" y="-552.6" font-family="Courier,monospace" font-size="11.00">ODBC_SQL</text> <text text-anchor="middle" x="457" y="-606.6" font-family="Courier,monospace" font-size="11.00">ODBC_SQL</text>
</a> </a>
</g> </g>
<!-- \\ODBC_SQL&#45;&gt;\\DB_SQL --> <!-- \\ODBC_SQL&#45;&gt;\\DB_SQL -->
<g id="edge14" class="edge"><title>\\ODBC_SQL&#45;&gt;\\DB_SQL</title> <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"/> <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="352.148,-511.679 341.598,-512.65 350.451,-518.47 352.148,-511.679"/> <polygon fill="none" stroke="black" points="282.084,-564.976 271.547,-566.077 280.471,-571.787 282.084,-564.976"/>
</g> </g>
<!-- \\ODBC --> <!-- \\ODBC -->
<g id="node11" class="node"><title>\\ODBC</title> <g id="node11" class="node"><title>\\ODBC</title>
<a xlink:href="sys.db.drivers.odbc.odbc_driver.html" xlink:title="ODBC" target="_parent"> <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"/> <polygon fill="none" stroke="black" points="484,-358 430,-358 430,-322 484,-322 484,-358"/>
<text text-anchor="middle" x="515" y="-282.6" font-family="Courier,monospace" font-size="11.00">ODBC</text> <text text-anchor="middle" x="457" y="-336.6" font-family="Courier,monospace" font-size="11.00">ODBC</text>
</a> </a>
</g> </g>
<!-- \\ODBC&#45;&gt;\\DB_PDO --> <!-- \\ODBC&#45;&gt;\\DB_PDO -->
<g id="edge16" class="edge"><title>\\ODBC&#45;&gt;\\DB_PDO</title> <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"/> <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="352.298,-241.717 341.747,-242.687 350.6,-248.508 352.298,-241.717"/> <polygon fill="none" stroke="black" points="282.063,-294.971 271.526,-296.072 280.45,-301.782 282.063,-294.971"/>
</g> </g>
<!-- \\MySQL_Util --> <!-- \\MySQL_Util -->
<g id="node12" class="node"><title>\\MySQL_Util</title> <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"> <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"/> <polygon fill="none" stroke="black" points="499,-844 415,-844 415,-808 499,-808 499,-844"/>
<text text-anchor="middle" x="515" y="-768.6" font-family="Courier,monospace" font-size="11.00">MySQL_Util</text> <text text-anchor="middle" x="457" y="-822.6" font-family="Courier,monospace" font-size="11.00">MySQL_Util</text>
</a> </a>
</g> </g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util --> <!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge18" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title> <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"/> <path fill="none" stroke="black" d="M414.382,-826C376.915,-826 322.234,-826 281.963,-826"/>
<polygon fill="none" stroke="black" points="351.586,-768.5 341.586,-772 351.586,-775.5 351.586,-768.5"/> <polygon fill="none" stroke="black" points="281.795,-822.5 271.795,-826 281.795,-829.5 281.795,-822.5"/>
</g> </g>
<!-- \\MySQL --> <!-- \\MySQL -->
<g id="node13" class="node"><title>\\MySQL</title> <g id="node13" class="node"><title>\\MySQL</title>
<a xlink:href="sys.db.drivers.mysql.mysql_driver.html" xlink:title="MySQL" target="_parent"> <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"/> <polygon fill="none" stroke="black" points="484,-304 430,-304 430,-268 484,-268 484,-304"/>
<text text-anchor="middle" x="515" y="-228.6" font-family="Courier,monospace" font-size="11.00">MySQL</text> <text text-anchor="middle" x="457" y="-282.6" font-family="Courier,monospace" font-size="11.00">MySQL</text>
</a> </a>
</g> </g>
<!-- \\MySQL&#45;&gt;\\DB_PDO --> <!-- \\MySQL&#45;&gt;\\DB_PDO -->
<g id="edge20" class="edge"><title>\\MySQL&#45;&gt;\\DB_PDO</title> <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"/> <path fill="none" stroke="black" d="M429.95,-286C393.541,-286 328.001,-286 281.684,-286"/>
<polygon fill="none" stroke="black" points="351.747,-228.5 341.747,-232 351.747,-235.5 351.747,-228.5"/> <polygon fill="none" stroke="black" points="281.526,-282.5 271.526,-286 281.526,-289.5 281.526,-282.5"/>
</g> </g>
<!-- \\MySQL_SQL --> <!-- \\MySQL_SQL -->
<g id="node14" class="node"><title>\\MySQL_SQL</title> <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"> <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"/> <polygon fill="none" stroke="black" points="496,-574 418,-574 418,-538 496,-538 496,-574"/>
<text text-anchor="middle" x="515" y="-498.6" font-family="Courier,monospace" font-size="11.00">MySQL_SQL</text> <text text-anchor="middle" x="457" y="-552.6" font-family="Courier,monospace" font-size="11.00">MySQL_SQL</text>
</a> </a>
</g> </g>
<!-- \\MySQL_SQL&#45;&gt;\\DB_SQL --> <!-- \\MySQL_SQL&#45;&gt;\\DB_SQL -->
<g id="edge22" class="edge"><title>\\MySQL_SQL&#45;&gt;\\DB_SQL</title> <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"/> <path fill="none" stroke="black" d="M417.805,-556C380.246,-556 323.289,-556 281.756,-556"/>
<polygon fill="none" stroke="black" points="351.522,-498.5 341.522,-502 351.522,-505.5 351.522,-498.5"/> <polygon fill="none" stroke="black" points="281.551,-552.5 271.551,-556 281.551,-559.5 281.551,-552.5"/>
</g> </g>
<!-- \\SQLite_Util --> <!-- \\SQLite_Util -->
<g id="node15" class="node"><title>\\SQLite_Util</title> <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"> <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"/> <polygon fill="none" stroke="black" points="502,-790 412,-790 412,-754 502,-754 502,-790"/>
<text text-anchor="middle" x="515" y="-714.6" font-family="Courier,monospace" font-size="11.00">SQLite_Util</text> <text text-anchor="middle" x="457" y="-768.6" font-family="Courier,monospace" font-size="11.00">SQLite_Util</text>
</a> </a>
</g> </g>
<!-- \\SQLite_Util&#45;&gt;\\DB_Util --> <!-- \\SQLite_Util&#45;&gt;\\DB_Util -->
<g id="edge24" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title> <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"/> <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="350.398,-755.543 341.545,-761.364 352.096,-762.334 350.398,-755.543"/> <polygon fill="none" stroke="black" points="280.737,-810.15 271.813,-815.86 282.35,-816.961 280.737,-810.15"/>
</g> </g>
<!-- \\SQLite --> <!-- \\SQLite -->
<g id="node16" class="node"><title>\\SQLite</title> <g id="node16" class="node"><title>\\SQLite</title>
<a xlink:href="sys.db.drivers.sqlite.sqlite_driver.html" xlink:title="SQLite" target="_parent"> <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"/> <polygon fill="none" stroke="black" points="485,-250 429,-250 429,-214 485,-214 485,-250"/>
<text text-anchor="middle" x="515" y="-174.6" font-family="Courier,monospace" font-size="11.00">SQLite</text> <text text-anchor="middle" x="457" y="-228.6" font-family="Courier,monospace" font-size="11.00">SQLite</text>
</a> </a>
</g> </g>
<!-- \\SQLite&#45;&gt;\\DB_PDO --> <!-- \\SQLite&#45;&gt;\\DB_PDO -->
<g id="edge26" class="edge"><title>\\SQLite&#45;&gt;\\DB_PDO</title> <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"/> <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="350.429,-215.535 341.577,-221.356 352.127,-222.326 350.429,-215.535"/> <polygon fill="none" stroke="black" points="280.529,-270.199 271.605,-275.909 282.143,-277.01 280.529,-270.199"/>
</g> </g>
<!-- \\SQLite_SQL --> <!-- \\SQLite_SQL -->
<g id="node17" class="node"><title>\\SQLite_SQL</title> <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"> <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"/> <polygon fill="none" stroke="black" points="499,-520 415,-520 415,-484 499,-484 499,-520"/>
<text text-anchor="middle" x="515" y="-444.6" font-family="Courier,monospace" font-size="11.00">SQLite_SQL</text> <text text-anchor="middle" x="457" y="-498.6" font-family="Courier,monospace" font-size="11.00">SQLite_SQL</text>
</a> </a>
</g> </g>
<!-- \\SQLite_SQL&#45;&gt;\\DB_SQL --> <!-- \\SQLite_SQL&#45;&gt;\\DB_SQL -->
<g id="edge28" class="edge"><title>\\SQLite_SQL&#45;&gt;\\DB_SQL</title> <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"/> <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="350.644,-485.481 341.792,-491.302 352.342,-492.272 350.644,-485.481"/> <polygon fill="none" stroke="black" points="280.536,-540.197 271.612,-545.908 282.149,-547.009 280.536,-540.197"/>
</g> </g>
<!-- \\Firebird_SQL --> <!-- \\Firebird_SQL -->
<g id="node18" class="node"><title>\\Firebird_SQL</title> <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"> <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"/> <polygon fill="none" stroke="black" points="505,-466 409,-466 409,-430 505,-430 505,-466"/>
<text text-anchor="middle" x="515" y="-390.6" font-family="Courier,monospace" font-size="11.00">Firebird_SQL</text> <text text-anchor="middle" x="457" y="-444.6" font-family="Courier,monospace" font-size="11.00">Firebird_SQL</text>
</a> </a>
</g> </g>
<!-- \\Firebird_SQL&#45;&gt;\\DB_SQL --> <!-- \\Firebird_SQL&#45;&gt;\\DB_SQL -->
<g id="edge30" class="edge"><title>\\Firebird_SQL&#45;&gt;\\DB_SQL</title> <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"/> <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="339.972,-476.234 332.762,-483.997 343.24,-482.425 339.972,-476.234"/> <polygon fill="none" stroke="black" points="268.356,-530.139 261.252,-537.998 271.707,-536.285 268.356,-530.139"/>
</g> </g>
<!-- \\Firebird_Result --> <!-- \\Firebird_Result -->
<g id="node19" class="node"><title>\\Firebird_Result</title> <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"> <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"/> <polygon fill="none" stroke="black" points="515,-142 399,-142 399,-106 515,-106 515,-142"/>
<text text-anchor="middle" x="515" y="-66.6" font-family="Courier,monospace" font-size="11.00">Firebird_Result</text> <text text-anchor="middle" x="457" y="-120.6" font-family="Courier,monospace" font-size="11.00">Firebird_Result</text>
</a> </a>
</g> </g>
<!-- \\PDOStatement --> <!-- \\PDOStatement -->
<g id="node48" class="node"><title>\\PDOStatement</title> <g id="node46" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="299" cy="-18" rx="85.1942" ry="18"/> <ellipse fill="none" stroke="black" cx="229" 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> <text text-anchor="middle" x="229" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g> </g>
<!-- \\Firebird_Result&#45;&gt;\\PDOStatement --> <!-- \\Firebird_Result&#45;&gt;\\PDOStatement -->
<g id="edge32" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title> <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"/> <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="366.031,-30.5372 355.49,-31.5994 364.393,-37.3428 366.031,-30.5372"/> <polygon fill="none" stroke="black" points="301.077,-30.6241 290.483,-30.6306 298.769,-37.2326 301.077,-30.6241"/>
</g> </g>
<!-- \\Firebird --> <!-- \\Firebird -->
<g id="node20" class="node"><title>\\Firebird</title> <g id="node20" class="node"><title>\\Firebird</title>
<a xlink:href="sys.db.drivers.firebird.firebird_driver.html" xlink:title="Firebird" target="_parent"> <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"/> <polygon fill="none" stroke="black" points="492,-196 422,-196 422,-160 492,-160 492,-196"/>
<text text-anchor="middle" x="515" y="-120.6" font-family="Courier,monospace" font-size="11.00">Firebird</text> <text text-anchor="middle" x="457" y="-174.6" font-family="Courier,monospace" font-size="11.00">Firebird</text>
</a> </a>
</g> </g>
<!-- \\Firebird&#45;&gt;\\DB_PDO --> <!-- \\Firebird&#45;&gt;\\DB_PDO -->
<g id="edge34" class="edge"><title>\\Firebird&#45;&gt;\\DB_PDO</title> <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"/> <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="350.611,-218.819 341.815,-224.725 352.375,-225.593 350.611,-218.819"/> <polygon fill="none" stroke="black" points="280.611,-272.819 271.815,-278.725 282.375,-279.593 280.611,-272.819"/>
</g> </g>
<!-- \\Firebird_Util --> <!-- \\Firebird_Util -->
<g id="node21" class="node"><title>\\Firebird_Util</title> <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"> <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"/> <polygon fill="none" stroke="black" points="509,-736 405,-736 405,-700 509,-700 509,-736"/>
<text text-anchor="middle" x="515" y="-660.6" font-family="Courier,monospace" font-size="11.00">Firebird_Util</text> <text text-anchor="middle" x="457" y="-714.6" font-family="Courier,monospace" font-size="11.00">Firebird_Util</text>
</a> </a>
</g> </g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util --> <!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="edge36" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title> <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"/> <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="339.972,-746.234 332.762,-753.997 343.24,-752.425 339.972,-746.234"/> <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> </g>
<!-- \\miniMVC\\Page --> <!-- \\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"> <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"/> <polygon fill="none" stroke="black" points="669,-1168 615,-1168 615,-1132 669,-1132 669,-1168"/>
<text text-anchor="middle" x="688" y="-1260.6" font-family="Courier,monospace" font-size="11.00">Page</text> <text text-anchor="middle" x="642" y="-1146.6" font-family="Courier,monospace" font-size="11.00">Page</text>
</a> </a>
</g> </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 --> <!-- \\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"> <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"/> <polygon fill="none" stroke="black" points="669,-1114 615,-1114 615,-1078 669,-1078 669,-1114"/>
<text text-anchor="middle" x="688" y="-1206.6" font-family="Courier,monospace" font-size="11.00">Model</text> <text text-anchor="middle" x="642" y="-1092.6" font-family="Courier,monospace" font-size="11.00">Model</text>
</a> </a>
</g> </g>
<!-- \\miniMVC\\miniMVC --> <!-- \\ArrayObject -->
<g id="node27" class="node"><title>\\miniMVC\\miniMVC</title> <g id="node50" class="node"><title>\\ArrayObject</title>
<a xlink:href="sys.core.miniMVC.html" xlink:title="miniMVC" target="_parent"> <ellipse fill="none" stroke="black" cx="457" cy="-1096" rx="71.107" ry="18"/>
<polygon fill="none" stroke="black" points="547,-1228 483,-1228 483,-1192 547,-1192 547,-1228"/> <text text-anchor="middle" x="457" y="-1091.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\ArrayObject</text>
<text text-anchor="middle" x="515" y="-1206.6" font-family="Courier,monospace" font-size="11.00">miniMVC</text>
</a>
</g> </g>
<!-- \\miniMVC\\Model&#45;&gt;\\miniMVC\\miniMVC --> <!-- \\miniMVC\\Model&#45;&gt;\\ArrayObject -->
<g id="edge40" class="edge"><title>\\miniMVC\\Model&#45;&gt;\\miniMVC\\miniMVC</title> <g id="edge38" class="edge"><title>\\miniMVC\\Model&#45;&gt;\\ArrayObject</title>
<path fill="none" stroke="black" d="M660.969,-1210C633.357,-1210 590.075,-1210 557.801,-1210"/> <path fill="none" stroke="black" d="M614.703,-1096C594.472,-1096 565.775,-1096 538.395,-1096"/>
<polygon fill="none" stroke="black" points="557.743,-1206.5 547.743,-1210 557.743,-1213.5 557.743,-1206.5"/> <polygon fill="none" stroke="black" points="538.385,-1092.5 528.385,-1096 538.385,-1099.5 538.385,-1092.5"/>
</g> </g>
<!-- \\miniMVC\\Controller --> <!-- \\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"> <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"/> <polygon fill="none" stroke="black" points="684,-1060 600,-1060 600,-1024 684,-1024 684,-1060"/>
<text text-anchor="middle" x="688" y="-1152.6" font-family="Courier,monospace" font-size="11.00">Controller</text> <text text-anchor="middle" x="642" y="-1038.6" font-family="Courier,monospace" font-size="11.00">Controller</text>
</a> </a>
</g> </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 --> <!-- \\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"> <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"/> <polygon fill="none" stroke="black" points="669,-1006 615,-1006 615,-970 669,-970 669,-1006"/>
<text text-anchor="middle" x="688" y="-1098.6" font-family="Courier,monospace" font-size="11.00">DB</text> <text text-anchor="middle" x="642" y="-984.6" font-family="Courier,monospace" font-size="11.00">DB</text>
</a> </a>
</g> </g>
<!-- \\miniMVC\\DB&#45;&gt;\\Query_Builder --> <!-- \\miniMVC\\DB&#45;&gt;\\Query_Builder -->
<g id="edge44" class="edge"><title>\\miniMVC\\DB&#45;&gt;\\Query_Builder</title> <g id="edge40" 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"/> <path fill="none" stroke="black" d="M614.703,-988C589.762,-988 551.953,-988 519.608,-988"/>
<polygon fill="none" stroke="black" points="575.457,-954.441 565.116,-952.136 571.762,-960.387 575.457,-954.441"/> <polygon fill="none" stroke="black" points="519.322,-984.5 509.322,-988 519.322,-991.5 519.322,-984.5"/>
</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> </g>
<!-- \\miniMVC\\Session --> <!-- \\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"> <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"/> <polygon fill="none" stroke="black" points="674,-952 610,-952 610,-916 674,-916 674,-952"/>
<text text-anchor="middle" x="688" y="-1044.6" font-family="Courier,monospace" font-size="11.00">Session</text> <text text-anchor="middle" x="642" y="-930.6" font-family="Courier,monospace" font-size="11.00">Session</text>
</a> </a>
</g> </g>
<!-- \\miniMVC\\Data_Store --> <!-- \\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"> <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"/> <polygon fill="none" stroke="black" points="684,-898 600,-898 600,-862 684,-862 684,-898"/>
<text text-anchor="middle" x="688" y="-990.6" font-family="Courier,monospace" font-size="11.00">Data_Store</text> <text text-anchor="middle" x="642" y="-876.6" font-family="Courier,monospace" font-size="11.00">Data_Store</text>
</a> </a>
</g> </g>
</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"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -300,7 +300,7 @@ specified table</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -211,7 +211,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -870,7 +870,7 @@ the last query executed</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -506,7 +506,7 @@ the query</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -310,7 +310,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -214,7 +214,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -906,7 +906,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -315,7 +315,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -210,7 +210,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -908,7 +908,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -310,7 +310,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -205,7 +205,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -908,7 +908,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -310,7 +310,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -210,7 +210,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -1224,7 +1224,7 @@ for complex select queries</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -923,7 +923,7 @@ method if the database does not support 'TRUNCATE';</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -310,7 +310,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -210,7 +210,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -59,56 +59,9 @@
<ul class="side-nav nav nav-list"> <ul class="side-nav nav nav-list">
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li> <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 "><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_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 "><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()
</span><pre>offsetGet()</pre></a></li>
<li class="method public inherited"><a href="#offsetSet" title="offsetSet :: "><span class="description">offsetSet()
</span><pre>offsetSet()</pre></a></li>
<li class="method public inherited"><a href="#offsetUnset" title="offsetUnset :: "><span class="description">offsetUnset()
</span><pre>offsetUnset()</pre></a></li>
<li class="method public inherited"><a href="#serialize" title="serialize :: "><span class="description">serialize()
</span><pre>serialize()</pre></a></li>
<li class="method public inherited"><a href="#setFlags" title="setFlags :: "><span class="description">setFlags()
</span><pre>setFlags()</pre></a></li>
<li class="method public inherited"><a href="#setIteratorClass" title="setIteratorClass :: "><span class="description">setIteratorClass()
</span><pre>setIteratorClass()</pre></a></li>
<li class="method public inherited"><a href="#uasort" title="uasort :: "><span class="description">uasort()
</span><pre>uasort()</pre></a></li>
<li class="method public inherited"><a href="#uksort" title="uksort :: "><span class="description">uksort()
</span><pre>uksort()</pre></a></li>
<li class="method public inherited"><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 inherited"><a href="#unserialize" title="unserialize :: "><span class="description">unserialize()
</span><pre>unserialize()</pre></a></li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li> <i class="icon-custom icon-property"></i> Properties</li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
@ -141,266 +94,12 @@ dynamic methods</span><pre>__call()</pre></a></li>
</table> </table>
<h3> <h3>
<i class="icon-custom icon-method"></i> Methods</h3> <i class="icon-custom icon-method"></i> Methods</h3>
<a name="__call" id="__call"></a><div class="element clickable method public __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>Allow calling of array methods on the object and
dynamic methods</h2>
<pre>__call(string $name, array $params) : mixed</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::__call()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::__call()</td>
</tr>
</table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse"> <a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Create the controller object</h2> <h2>Create the controller object</h2>
<pre>__construct() : void</pre> <pre>__construct() : void</pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="append" id="append"></a><div class="element clickable method public append" data-toggle="collapse" data-target=".append .collapse">
<h2>append()
</h2>
<pre>append() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::append()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::append()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::append()</td>
</tr>
</table>
</div></div>
</div>
<a name="asort" id="asort"></a><div class="element clickable method public asort" data-toggle="collapse" data-target=".asort .collapse">
<h2>asort()
</h2>
<pre>asort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::asort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::asort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::asort()</td>
</tr>
</table>
</div></div>
</div>
<a name="count" id="count"></a><div class="element clickable method public count" data-toggle="collapse" data-target=".count .collapse">
<h2>count()
</h2>
<pre>count() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::count()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::count()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::count()</td>
</tr>
</table>
</div></div>
</div>
<a name="exchangeArray" id="exchangeArray"></a><div class="element clickable method public exchangeArray" data-toggle="collapse" data-target=".exchangeArray .collapse">
<h2>exchangeArray()
</h2>
<pre>exchangeArray() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::exchangeArray()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::exchangeArray()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::exchangeArray()</td>
</tr>
</table>
</div></div>
</div>
<a name="getArrayCopy" id="getArrayCopy"></a><div class="element clickable method public getArrayCopy" data-toggle="collapse" data-target=".getArrayCopy .collapse">
<h2>getArrayCopy()
</h2>
<pre>getArrayCopy() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getArrayCopy()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getArrayCopy()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::getArrayCopy()</td>
</tr>
</table>
</div></div>
</div>
<a name="getFlags" id="getFlags"></a><div class="element clickable method public getFlags" data-toggle="collapse" data-target=".getFlags .collapse">
<h2>getFlags()
</h2>
<pre>getFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::getFlags()</td>
</tr>
</table>
</div></div>
</div>
<a name="getIterator" id="getIterator"></a><div class="element clickable method public getIterator" data-toggle="collapse" data-target=".getIterator .collapse">
<h2>getIterator()
</h2>
<pre>getIterator() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getIterator()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIterator()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::getIterator()</td>
</tr>
</table>
</div></div>
</div>
<a name="getIteratorClass" id="getIteratorClass"></a><div class="element clickable method public getIteratorClass" data-toggle="collapse" data-target=".getIteratorClass .collapse">
<h2>getIteratorClass()
</h2>
<pre>getIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::getIteratorClass()</td>
</tr>
</table>
</div></div>
</div>
<a name="ksort" id="ksort"></a><div class="element clickable method public ksort" data-toggle="collapse" data-target=".ksort .collapse">
<h2>ksort()
</h2>
<pre>ksort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::ksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::ksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::ksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="load_config" id="load_config"></a><div class="element clickable method public load_config" data-toggle="collapse" data-target=".load_config .collapse">
<h2>Convenience function to load config files</h2>
<pre>load_config(string $name) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::load_config()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="load_model" id="load_model"></a><div class="element clickable method public load_model" data-toggle="collapse" data-target=".load_model .collapse"> <a name="load_model" id="load_model"></a><div class="element clickable method public load_model" data-toggle="collapse" data-target=".load_model .collapse">
<h2>Function for loading a model into the current class</h2> <h2>Function for loading a model into the current class</h2>
<pre>load_model(string $file, array $args) : void</pre> <pre>load_model(string $file, array $args) : void</pre>
@ -441,299 +140,6 @@ dynamic methods</h2>
<div class="subelement response"><code>mixed</code></div> <div class="subelement response"><code>mixed</code></div>
</div></div> </div></div>
</div> </div>
<a name="natcasesort" id="natcasesort"></a><div class="element clickable method public natcasesort" data-toggle="collapse" data-target=".natcasesort .collapse">
<h2>natcasesort()
</h2>
<pre>natcasesort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::natcasesort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natcasesort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::natcasesort()</td>
</tr>
</table>
</div></div>
</div>
<a name="natsort" id="natsort"></a><div class="element clickable method public natsort" data-toggle="collapse" data-target=".natsort .collapse">
<h2>natsort()
</h2>
<pre>natsort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::natsort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natsort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::natsort()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetExists" id="offsetExists"></a><div class="element clickable method public offsetExists" data-toggle="collapse" data-target=".offsetExists .collapse">
<h2>offsetExists()
</h2>
<pre>offsetExists() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetExists()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetExists()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::offsetExists()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetGet" id="offsetGet"></a><div class="element clickable method public offsetGet" data-toggle="collapse" data-target=".offsetGet .collapse">
<h2>offsetGet()
</h2>
<pre>offsetGet() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetGet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetGet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::offsetGet()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetSet" id="offsetSet"></a><div class="element clickable method public offsetSet" data-toggle="collapse" data-target=".offsetSet .collapse">
<h2>offsetSet()
</h2>
<pre>offsetSet() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetSet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetSet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::offsetSet()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetUnset" id="offsetUnset"></a><div class="element clickable method public offsetUnset" data-toggle="collapse" data-target=".offsetUnset .collapse">
<h2>offsetUnset()
</h2>
<pre>offsetUnset() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetUnset()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetUnset()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::offsetUnset()</td>
</tr>
</table>
</div></div>
</div>
<a name="serialize" id="serialize"></a><div class="element clickable method public serialize" data-toggle="collapse" data-target=".serialize .collapse">
<h2>serialize()
</h2>
<pre>serialize() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::serialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::serialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::serialize()</td>
</tr>
</table>
</div></div>
</div>
<a name="setFlags" id="setFlags"></a><div class="element clickable method public setFlags" data-toggle="collapse" data-target=".setFlags .collapse">
<h2>setFlags()
</h2>
<pre>setFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::setFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::setFlags()</td>
</tr>
</table>
</div></div>
</div>
<a name="setIteratorClass" id="setIteratorClass"></a><div class="element clickable method public setIteratorClass" data-toggle="collapse" data-target=".setIteratorClass .collapse">
<h2>setIteratorClass()
</h2>
<pre>setIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::setIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::setIteratorClass()</td>
</tr>
</table>
</div></div>
</div>
<a name="uasort" id="uasort"></a><div class="element clickable method public uasort" data-toggle="collapse" data-target=".uasort .collapse">
<h2>uasort()
</h2>
<pre>uasort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uasort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uasort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::uasort()</td>
</tr>
</table>
</div></div>
</div>
<a name="uksort" id="uksort"></a><div class="element clickable method public uksort" data-toggle="collapse" data-target=".uksort .collapse">
<h2>uksort()
</h2>
<pre>uksort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::uksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="unload" id="unload"></a><div class="element clickable method public unload" data-toggle="collapse" data-target=".unload .collapse">
<h2>Convenience function to remove an object from the singleton</h2>
<pre>unload(string $name) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::unload()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="unserialize" id="unserialize"></a><div class="element clickable method public unserialize" data-toggle="collapse" data-target=".unserialize .collapse">
<h2>unserialize()
</h2>
<pre>unserialize() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::unserialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::unserialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::unserialize()</td>
</tr>
</table>
</div></div>
</div>
<h3> <h3>
<i class="icon-custom icon-property"></i> Properties</h3> <i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24page" id="$page"> </a><div class="element clickable property protected $page" data-toggle="collapse" data-target=".$page .collapse"> <a name="%24page" id="$page"> </a><div class="element clickable property protected $page" data-toggle="collapse" data-target=".$page .collapse">
@ -749,7 +155,7 @@ dynamic methods</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -1604,7 +1604,7 @@ for complex select queries</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -207,7 +207,7 @@ of the singleton</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -1,451 +0,0 @@
<!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 » \miniMVC\MM</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="#__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 ArrayObject/JSObject hybrid object"><span class="description">Create the ArrayObject/JSObject hybrid object</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#append" title="append :: "><span class="description">append()
</span><pre>append()</pre></a></li>
<li class="method public "><a href="#asort" title="asort :: "><span class="description">asort()
</span><pre>asort()</pre></a></li>
<li class="method public "><a href="#count" title="count :: "><span class="description">count()
</span><pre>count()</pre></a></li>
<li class="method public "><a href="#exchangeArray" title="exchangeArray :: "><span class="description">exchangeArray()
</span><pre>exchangeArray()</pre></a></li>
<li class="method public "><a href="#getArrayCopy" title="getArrayCopy :: "><span class="description">getArrayCopy()
</span><pre>getArrayCopy()</pre></a></li>
<li class="method public "><a href="#getFlags" title="getFlags :: "><span class="description">getFlags()
</span><pre>getFlags()</pre></a></li>
<li class="method public "><a href="#getIterator" title="getIterator :: "><span class="description">getIterator()
</span><pre>getIterator()</pre></a></li>
<li class="method public "><a href="#getIteratorClass" title="getIteratorClass :: "><span class="description">getIteratorClass()
</span><pre>getIteratorClass()</pre></a></li>
<li class="method public "><a href="#ksort" title="ksort :: "><span class="description">ksort()
</span><pre>ksort()</pre></a></li>
<li class="method public "><a href="#natcasesort" title="natcasesort :: "><span class="description">natcasesort()
</span><pre>natcasesort()</pre></a></li>
<li class="method public "><a href="#natsort" title="natsort :: "><span class="description">natsort()
</span><pre>natsort()</pre></a></li>
<li class="method public "><a href="#offsetExists" title="offsetExists :: "><span class="description">offsetExists()
</span><pre>offsetExists()</pre></a></li>
<li class="method public "><a href="#offsetGet" title="offsetGet :: "><span class="description">offsetGet()
</span><pre>offsetGet()</pre></a></li>
<li class="method public "><a href="#offsetSet" title="offsetSet :: "><span class="description">offsetSet()
</span><pre>offsetSet()</pre></a></li>
<li class="method public "><a href="#offsetUnset" title="offsetUnset :: "><span class="description">offsetUnset()
</span><pre>offsetUnset()</pre></a></li>
<li class="method public "><a href="#serialize" title="serialize :: "><span class="description">serialize()
</span><pre>serialize()</pre></a></li>
<li class="method public "><a href="#setFlags" title="setFlags :: "><span class="description">setFlags()
</span><pre>setFlags()</pre></a></li>
<li class="method public "><a href="#setIteratorClass" title="setIteratorClass :: "><span class="description">setIteratorClass()
</span><pre>setIteratorClass()</pre></a></li>
<li class="method public "><a href="#uasort" title="uasort :: "><span class="description">uasort()
</span><pre>uasort()</pre></a></li>
<li class="method public "><a href="#uksort" title="uksort :: "><span class="description">uksort()
</span><pre>uksort()</pre></a></li>
<li class="method public "><a href="#unserialize" title="unserialize :: "><span class="description">unserialize()
</span><pre>unserialize()</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CminiMVC%5CMM" id="\miniMVC\MM"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li><a href="../namespaces/miniMVC.html">miniMVC</a></li>
<li class="active">
<span class="divider">\</span><a href="../classes/miniMVC.MM.html">MM</a>
</li>
</ul>
<div href="../classes/miniMVC.MM.html" class="element class">
<p class="short_description">Class for standalone JSObject objects</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/miniMVC.System.html">miniMVC</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>System</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="__call" id="__call"></a><div class="element clickable method public __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>Allow calling of array methods on the object and
dynamic methods</h2>
<pre>__call(string $name, array $params) : mixed</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>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Create the ArrayObject/JSObject hybrid object</h2>
<pre>__construct($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></code><p>array</p></div>
</div></div>
</div>
<a name="append" id="append"></a><div class="element clickable method public append" data-toggle="collapse" data-target=".append .collapse">
<h2>append()
</h2>
<pre>append() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::append()</td>
</tr></table>
</div></div>
</div>
<a name="asort" id="asort"></a><div class="element clickable method public asort" data-toggle="collapse" data-target=".asort .collapse">
<h2>asort()
</h2>
<pre>asort() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::asort()</td>
</tr></table>
</div></div>
</div>
<a name="count" id="count"></a><div class="element clickable method public count" data-toggle="collapse" data-target=".count .collapse">
<h2>count()
</h2>
<pre>count() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::count()</td>
</tr></table>
</div></div>
</div>
<a name="exchangeArray" id="exchangeArray"></a><div class="element clickable method public exchangeArray" data-toggle="collapse" data-target=".exchangeArray .collapse">
<h2>exchangeArray()
</h2>
<pre>exchangeArray() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::exchangeArray()</td>
</tr></table>
</div></div>
</div>
<a name="getArrayCopy" id="getArrayCopy"></a><div class="element clickable method public getArrayCopy" data-toggle="collapse" data-target=".getArrayCopy .collapse">
<h2>getArrayCopy()
</h2>
<pre>getArrayCopy() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::getArrayCopy()</td>
</tr></table>
</div></div>
</div>
<a name="getFlags" id="getFlags"></a><div class="element clickable method public getFlags" data-toggle="collapse" data-target=".getFlags .collapse">
<h2>getFlags()
</h2>
<pre>getFlags() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::getFlags()</td>
</tr></table>
</div></div>
</div>
<a name="getIterator" id="getIterator"></a><div class="element clickable method public getIterator" data-toggle="collapse" data-target=".getIterator .collapse">
<h2>getIterator()
</h2>
<pre>getIterator() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::getIterator()</td>
</tr></table>
</div></div>
</div>
<a name="getIteratorClass" id="getIteratorClass"></a><div class="element clickable method public getIteratorClass" data-toggle="collapse" data-target=".getIteratorClass .collapse">
<h2>getIteratorClass()
</h2>
<pre>getIteratorClass() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::getIteratorClass()</td>
</tr></table>
</div></div>
</div>
<a name="ksort" id="ksort"></a><div class="element clickable method public ksort" data-toggle="collapse" data-target=".ksort .collapse">
<h2>ksort()
</h2>
<pre>ksort() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::ksort()</td>
</tr></table>
</div></div>
</div>
<a name="natcasesort" id="natcasesort"></a><div class="element clickable method public natcasesort" data-toggle="collapse" data-target=".natcasesort .collapse">
<h2>natcasesort()
</h2>
<pre>natcasesort() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::natcasesort()</td>
</tr></table>
</div></div>
</div>
<a name="natsort" id="natsort"></a><div class="element clickable method public natsort" data-toggle="collapse" data-target=".natsort .collapse">
<h2>natsort()
</h2>
<pre>natsort() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::natsort()</td>
</tr></table>
</div></div>
</div>
<a name="offsetExists" id="offsetExists"></a><div class="element clickable method public offsetExists" data-toggle="collapse" data-target=".offsetExists .collapse">
<h2>offsetExists()
</h2>
<pre>offsetExists() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::offsetExists()</td>
</tr></table>
</div></div>
</div>
<a name="offsetGet" id="offsetGet"></a><div class="element clickable method public offsetGet" data-toggle="collapse" data-target=".offsetGet .collapse">
<h2>offsetGet()
</h2>
<pre>offsetGet() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::offsetGet()</td>
</tr></table>
</div></div>
</div>
<a name="offsetSet" id="offsetSet"></a><div class="element clickable method public offsetSet" data-toggle="collapse" data-target=".offsetSet .collapse">
<h2>offsetSet()
</h2>
<pre>offsetSet() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::offsetSet()</td>
</tr></table>
</div></div>
</div>
<a name="offsetUnset" id="offsetUnset"></a><div class="element clickable method public offsetUnset" data-toggle="collapse" data-target=".offsetUnset .collapse">
<h2>offsetUnset()
</h2>
<pre>offsetUnset() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::offsetUnset()</td>
</tr></table>
</div></div>
</div>
<a name="serialize" id="serialize"></a><div class="element clickable method public serialize" data-toggle="collapse" data-target=".serialize .collapse">
<h2>serialize()
</h2>
<pre>serialize() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::serialize()</td>
</tr></table>
</div></div>
</div>
<a name="setFlags" id="setFlags"></a><div class="element clickable method public setFlags" data-toggle="collapse" data-target=".setFlags .collapse">
<h2>setFlags()
</h2>
<pre>setFlags() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::setFlags()</td>
</tr></table>
</div></div>
</div>
<a name="setIteratorClass" id="setIteratorClass"></a><div class="element clickable method public setIteratorClass" data-toggle="collapse" data-target=".setIteratorClass .collapse">
<h2>setIteratorClass()
</h2>
<pre>setIteratorClass() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::setIteratorClass()</td>
</tr></table>
</div></div>
</div>
<a name="uasort" id="uasort"></a><div class="element clickable method public uasort" data-toggle="collapse" data-target=".uasort .collapse">
<h2>uasort()
</h2>
<pre>uasort() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::uasort()</td>
</tr></table>
</div></div>
</div>
<a name="uksort" id="uksort"></a><div class="element clickable method public uksort" data-toggle="collapse" data-target=".uksort .collapse">
<h2>uksort()
</h2>
<pre>uksort() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::uksort()</td>
</tr></table>
</div></div>
</div>
<a name="unserialize" id="unserialize"></a><div class="element clickable method public unserialize" data-toggle="collapse" data-target=".unserialize .collapse">
<h2>unserialize()
</h2>
<pre>unserialize() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>ArrayObject::unserialize()</td>
</tr></table>
</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-06-06T16:50:21-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -59,53 +59,48 @@
<ul class="side-nav nav nav-list"> <ul class="side-nav nav nav-list">
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li> <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 :: Initialize the model class"><span class="description">Initialize the model class</span><pre>__construct()</pre></a></li> <li class="method public "><a href="#__construct" title="__construct :: Initialize the model class"><span class="description">Initialize the model class</span><pre>__construct()</pre></a></li>
<li class="method public inherited"><a href="#append" title="append :: "><span class="description">append() <li class="method public "><a href="#append" title="append :: "><span class="description">append()
</span><pre>append()</pre></a></li> </span><pre>append()</pre></a></li>
<li class="method public inherited"><a href="#asort" title="asort :: "><span class="description">asort() <li class="method public "><a href="#asort" title="asort :: "><span class="description">asort()
</span><pre>asort()</pre></a></li> </span><pre>asort()</pre></a></li>
<li class="method public inherited"><a href="#count" title="count :: "><span class="description">count() <li class="method public "><a href="#count" title="count :: "><span class="description">count()
</span><pre>count()</pre></a></li> </span><pre>count()</pre></a></li>
<li class="method public inherited"><a href="#exchangeArray" title="exchangeArray :: "><span class="description">exchangeArray() <li class="method public "><a href="#exchangeArray" title="exchangeArray :: "><span class="description">exchangeArray()
</span><pre>exchangeArray()</pre></a></li> </span><pre>exchangeArray()</pre></a></li>
<li class="method public inherited"><a href="#getArrayCopy" title="getArrayCopy :: "><span class="description">getArrayCopy() <li class="method public "><a href="#getArrayCopy" title="getArrayCopy :: "><span class="description">getArrayCopy()
</span><pre>getArrayCopy()</pre></a></li> </span><pre>getArrayCopy()</pre></a></li>
<li class="method public inherited"><a href="#getFlags" title="getFlags :: "><span class="description">getFlags() <li class="method public "><a href="#getFlags" title="getFlags :: "><span class="description">getFlags()
</span><pre>getFlags()</pre></a></li> </span><pre>getFlags()</pre></a></li>
<li class="method public inherited"><a href="#getIterator" title="getIterator :: "><span class="description">getIterator() <li class="method public "><a href="#getIterator" title="getIterator :: "><span class="description">getIterator()
</span><pre>getIterator()</pre></a></li> </span><pre>getIterator()</pre></a></li>
<li class="method public inherited"><a href="#getIteratorClass" title="getIteratorClass :: "><span class="description">getIteratorClass() <li class="method public "><a href="#getIteratorClass" title="getIteratorClass :: "><span class="description">getIteratorClass()
</span><pre>getIteratorClass()</pre></a></li> </span><pre>getIteratorClass()</pre></a></li>
<li class="method public inherited"><a href="#ksort" title="ksort :: "><span class="description">ksort() <li class="method public "><a href="#ksort" title="ksort :: "><span class="description">ksort()
</span><pre>ksort()</pre></a></li> </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="#natcasesort" title="natcasesort :: "><span class="description">natcasesort()
<li class="method public inherited"><a href="#natcasesort" title="natcasesort :: "><span class="description">natcasesort()
</span><pre>natcasesort()</pre></a></li> </span><pre>natcasesort()</pre></a></li>
<li class="method public inherited"><a href="#natsort" title="natsort :: "><span class="description">natsort() <li class="method public "><a href="#natsort" title="natsort :: "><span class="description">natsort()
</span><pre>natsort()</pre></a></li> </span><pre>natsort()</pre></a></li>
<li class="method public inherited"><a href="#offsetExists" title="offsetExists :: "><span class="description">offsetExists() <li class="method public "><a href="#offsetExists" title="offsetExists :: "><span class="description">offsetExists()
</span><pre>offsetExists()</pre></a></li> </span><pre>offsetExists()</pre></a></li>
<li class="method public inherited"><a href="#offsetGet" title="offsetGet :: "><span class="description">offsetGet() <li class="method public "><a href="#offsetGet" title="offsetGet :: "><span class="description">offsetGet()
</span><pre>offsetGet()</pre></a></li> </span><pre>offsetGet()</pre></a></li>
<li class="method public inherited"><a href="#offsetSet" title="offsetSet :: "><span class="description">offsetSet() <li class="method public "><a href="#offsetSet" title="offsetSet :: "><span class="description">offsetSet()
</span><pre>offsetSet()</pre></a></li> </span><pre>offsetSet()</pre></a></li>
<li class="method public inherited"><a href="#offsetUnset" title="offsetUnset :: "><span class="description">offsetUnset() <li class="method public "><a href="#offsetUnset" title="offsetUnset :: "><span class="description">offsetUnset()
</span><pre>offsetUnset()</pre></a></li> </span><pre>offsetUnset()</pre></a></li>
<li class="method public inherited"><a href="#serialize" title="serialize :: "><span class="description">serialize() <li class="method public "><a href="#serialize" title="serialize :: "><span class="description">serialize()
</span><pre>serialize()</pre></a></li> </span><pre>serialize()</pre></a></li>
<li class="method public inherited"><a href="#setFlags" title="setFlags :: "><span class="description">setFlags() <li class="method public "><a href="#setFlags" title="setFlags :: "><span class="description">setFlags()
</span><pre>setFlags()</pre></a></li> </span><pre>setFlags()</pre></a></li>
<li class="method public inherited"><a href="#setIteratorClass" title="setIteratorClass :: "><span class="description">setIteratorClass() <li class="method public "><a href="#setIteratorClass" title="setIteratorClass :: "><span class="description">setIteratorClass()
</span><pre>setIteratorClass()</pre></a></li> </span><pre>setIteratorClass()</pre></a></li>
<li class="method public inherited"><a href="#uasort" title="uasort :: "><span class="description">uasort() <li class="method public "><a href="#uasort" title="uasort :: "><span class="description">uasort()
</span><pre>uasort()</pre></a></li> </span><pre>uasort()</pre></a></li>
<li class="method public inherited"><a href="#uksort" title="uksort :: "><span class="description">uksort() <li class="method public "><a href="#uksort" title="uksort :: "><span class="description">uksort()
</span><pre>uksort()</pre></a></li> </span><pre>uksort()</pre></a></li>
<li class="method public inherited"><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()
<li class="method public inherited"><a href="#unserialize" title="unserialize :: "><span class="description">unserialize()
</span><pre>unserialize()</pre></a></li> </span><pre>unserialize()</pre></a></li>
</ul> </ul>
</div> </div>
@ -135,36 +130,6 @@ dynamic methods</span><pre>__call()</pre></a></li>
</table> </table>
<h3> <h3>
<i class="icon-custom icon-method"></i> Methods</h3> <i class="icon-custom icon-method"></i> Methods</h3>
<a name="__call" id="__call"></a><div class="element clickable method public __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>Allow calling of array methods on the object and
dynamic methods</h2>
<pre>__call(string $name, array $params) : mixed</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::__call()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::__call()</td>
</tr>
</table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse"> <a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Initialize the model class</h2> <h2>Initialize the model class</h2>
<pre>__construct(array $args) : void</pre> <pre>__construct(array $args) : void</pre>
@ -182,517 +147,273 @@ dynamic methods</h2>
<h2>append() <h2>append()
</h2> </h2>
<pre>append() </pre> <pre>append() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::append()</td> <td>ArrayObject::append()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::append()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::append()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="asort" id="asort"></a><div class="element clickable method public asort" data-toggle="collapse" data-target=".asort .collapse"> <a name="asort" id="asort"></a><div class="element clickable method public asort" data-toggle="collapse" data-target=".asort .collapse">
<h2>asort() <h2>asort()
</h2> </h2>
<pre>asort() </pre> <pre>asort() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::asort()</td> <td>ArrayObject::asort()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::asort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::asort()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="count" id="count"></a><div class="element clickable method public count" data-toggle="collapse" data-target=".count .collapse"> <a name="count" id="count"></a><div class="element clickable method public count" data-toggle="collapse" data-target=".count .collapse">
<h2>count() <h2>count()
</h2> </h2>
<pre>count() </pre> <pre>count() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::count()</td> <td>ArrayObject::count()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::count()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::count()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="exchangeArray" id="exchangeArray"></a><div class="element clickable method public exchangeArray" data-toggle="collapse" data-target=".exchangeArray .collapse"> <a name="exchangeArray" id="exchangeArray"></a><div class="element clickable method public exchangeArray" data-toggle="collapse" data-target=".exchangeArray .collapse">
<h2>exchangeArray() <h2>exchangeArray()
</h2> </h2>
<pre>exchangeArray() </pre> <pre>exchangeArray() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::exchangeArray()</td> <td>ArrayObject::exchangeArray()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::exchangeArray()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::exchangeArray()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="getArrayCopy" id="getArrayCopy"></a><div class="element clickable method public getArrayCopy" data-toggle="collapse" data-target=".getArrayCopy .collapse"> <a name="getArrayCopy" id="getArrayCopy"></a><div class="element clickable method public getArrayCopy" data-toggle="collapse" data-target=".getArrayCopy .collapse">
<h2>getArrayCopy() <h2>getArrayCopy()
</h2> </h2>
<pre>getArrayCopy() </pre> <pre>getArrayCopy() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::getArrayCopy()</td> <td>ArrayObject::getArrayCopy()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getArrayCopy()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::getArrayCopy()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="getFlags" id="getFlags"></a><div class="element clickable method public getFlags" data-toggle="collapse" data-target=".getFlags .collapse"> <a name="getFlags" id="getFlags"></a><div class="element clickable method public getFlags" data-toggle="collapse" data-target=".getFlags .collapse">
<h2>getFlags() <h2>getFlags()
</h2> </h2>
<pre>getFlags() </pre> <pre>getFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::getFlags()</td> <td>ArrayObject::getFlags()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::getFlags()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="getIterator" id="getIterator"></a><div class="element clickable method public getIterator" data-toggle="collapse" data-target=".getIterator .collapse"> <a name="getIterator" id="getIterator"></a><div class="element clickable method public getIterator" data-toggle="collapse" data-target=".getIterator .collapse">
<h2>getIterator() <h2>getIterator()
</h2> </h2>
<pre>getIterator() </pre> <pre>getIterator() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::getIterator()</td> <td>ArrayObject::getIterator()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIterator()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::getIterator()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="getIteratorClass" id="getIteratorClass"></a><div class="element clickable method public getIteratorClass" data-toggle="collapse" data-target=".getIteratorClass .collapse"> <a name="getIteratorClass" id="getIteratorClass"></a><div class="element clickable method public getIteratorClass" data-toggle="collapse" data-target=".getIteratorClass .collapse">
<h2>getIteratorClass() <h2>getIteratorClass()
</h2> </h2>
<pre>getIteratorClass() </pre> <pre>getIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::getIteratorClass()</td> <td>ArrayObject::getIteratorClass()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::getIteratorClass()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="ksort" id="ksort"></a><div class="element clickable method public ksort" data-toggle="collapse" data-target=".ksort .collapse"> <a name="ksort" id="ksort"></a><div class="element clickable method public ksort" data-toggle="collapse" data-target=".ksort .collapse">
<h2>ksort() <h2>ksort()
</h2> </h2>
<pre>ksort() </pre> <pre>ksort() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::ksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::ksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::ksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="load_config" id="load_config"></a><div class="element clickable method public load_config" data-toggle="collapse" data-target=".load_config .collapse">
<h2>Convenience function to load config files</h2>
<pre>load_config(string $name) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"><tr> <table class="table table-bordered"><tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>\miniMVC\miniMVC::load_config()</td> <td>ArrayObject::ksort()</td>
</tr></table> </tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
</div></div> </div></div>
</div> </div>
<a name="natcasesort" id="natcasesort"></a><div class="element clickable method public natcasesort" data-toggle="collapse" data-target=".natcasesort .collapse"> <a name="natcasesort" id="natcasesort"></a><div class="element clickable method public natcasesort" data-toggle="collapse" data-target=".natcasesort .collapse">
<h2>natcasesort() <h2>natcasesort()
</h2> </h2>
<pre>natcasesort() </pre> <pre>natcasesort() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::natcasesort()</td> <td>ArrayObject::natcasesort()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natcasesort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::natcasesort()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="natsort" id="natsort"></a><div class="element clickable method public natsort" data-toggle="collapse" data-target=".natsort .collapse"> <a name="natsort" id="natsort"></a><div class="element clickable method public natsort" data-toggle="collapse" data-target=".natsort .collapse">
<h2>natsort() <h2>natsort()
</h2> </h2>
<pre>natsort() </pre> <pre>natsort() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::natsort()</td> <td>ArrayObject::natsort()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natsort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::natsort()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="offsetExists" id="offsetExists"></a><div class="element clickable method public offsetExists" data-toggle="collapse" data-target=".offsetExists .collapse"> <a name="offsetExists" id="offsetExists"></a><div class="element clickable method public offsetExists" data-toggle="collapse" data-target=".offsetExists .collapse">
<h2>offsetExists() <h2>offsetExists()
</h2> </h2>
<pre>offsetExists() </pre> <pre>offsetExists() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::offsetExists()</td> <td>ArrayObject::offsetExists()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetExists()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::offsetExists()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="offsetGet" id="offsetGet"></a><div class="element clickable method public offsetGet" data-toggle="collapse" data-target=".offsetGet .collapse"> <a name="offsetGet" id="offsetGet"></a><div class="element clickable method public offsetGet" data-toggle="collapse" data-target=".offsetGet .collapse">
<h2>offsetGet() <h2>offsetGet()
</h2> </h2>
<pre>offsetGet() </pre> <pre>offsetGet() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::offsetGet()</td> <td>ArrayObject::offsetGet()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetGet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::offsetGet()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="offsetSet" id="offsetSet"></a><div class="element clickable method public offsetSet" data-toggle="collapse" data-target=".offsetSet .collapse"> <a name="offsetSet" id="offsetSet"></a><div class="element clickable method public offsetSet" data-toggle="collapse" data-target=".offsetSet .collapse">
<h2>offsetSet() <h2>offsetSet()
</h2> </h2>
<pre>offsetSet() </pre> <pre>offsetSet() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::offsetSet()</td> <td>ArrayObject::offsetSet()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetSet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::offsetSet()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="offsetUnset" id="offsetUnset"></a><div class="element clickable method public offsetUnset" data-toggle="collapse" data-target=".offsetUnset .collapse"> <a name="offsetUnset" id="offsetUnset"></a><div class="element clickable method public offsetUnset" data-toggle="collapse" data-target=".offsetUnset .collapse">
<h2>offsetUnset() <h2>offsetUnset()
</h2> </h2>
<pre>offsetUnset() </pre> <pre>offsetUnset() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::offsetUnset()</td> <td>ArrayObject::offsetUnset()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetUnset()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::offsetUnset()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="serialize" id="serialize"></a><div class="element clickable method public serialize" data-toggle="collapse" data-target=".serialize .collapse"> <a name="serialize" id="serialize"></a><div class="element clickable method public serialize" data-toggle="collapse" data-target=".serialize .collapse">
<h2>serialize() <h2>serialize()
</h2> </h2>
<pre>serialize() </pre> <pre>serialize() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::serialize()</td> <td>ArrayObject::serialize()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::serialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::serialize()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="setFlags" id="setFlags"></a><div class="element clickable method public setFlags" data-toggle="collapse" data-target=".setFlags .collapse"> <a name="setFlags" id="setFlags"></a><div class="element clickable method public setFlags" data-toggle="collapse" data-target=".setFlags .collapse">
<h2>setFlags() <h2>setFlags()
</h2> </h2>
<pre>setFlags() </pre> <pre>setFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::setFlags()</td> <td>ArrayObject::setFlags()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::setFlags()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="setIteratorClass" id="setIteratorClass"></a><div class="element clickable method public setIteratorClass" data-toggle="collapse" data-target=".setIteratorClass .collapse"> <a name="setIteratorClass" id="setIteratorClass"></a><div class="element clickable method public setIteratorClass" data-toggle="collapse" data-target=".setIteratorClass .collapse">
<h2>setIteratorClass() <h2>setIteratorClass()
</h2> </h2>
<pre>setIteratorClass() </pre> <pre>setIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::setIteratorClass()</td> <td>ArrayObject::setIteratorClass()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::setIteratorClass()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="uasort" id="uasort"></a><div class="element clickable method public uasort" data-toggle="collapse" data-target=".uasort .collapse"> <a name="uasort" id="uasort"></a><div class="element clickable method public uasort" data-toggle="collapse" data-target=".uasort .collapse">
<h2>uasort() <h2>uasort()
</h2> </h2>
<pre>uasort() </pre> <pre>uasort() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::uasort()</td> <td>ArrayObject::uasort()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uasort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::uasort()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="uksort" id="uksort"></a><div class="element clickable method public uksort" data-toggle="collapse" data-target=".uksort .collapse"> <a name="uksort" id="uksort"></a><div class="element clickable method public uksort" data-toggle="collapse" data-target=".uksort .collapse">
<h2>uksort() <h2>uksort()
</h2> </h2>
<pre>uksort() </pre> <pre>uksort() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::uksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="unload" id="unload"></a><div class="element clickable method public unload" data-toggle="collapse" data-target=".unload .collapse">
<h2>Convenience function to remove an object from the singleton</h2>
<pre>unload(string $name) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"><tr> <table class="table table-bordered"><tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>\miniMVC\miniMVC::unload()</td> <td>ArrayObject::uksort()</td>
</tr></table> </tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
</div></div> </div></div>
</div> </div>
<a name="unserialize" id="unserialize"></a><div class="element clickable method public unserialize" data-toggle="collapse" data-target=".unserialize .collapse"> <a name="unserialize" id="unserialize"></a><div class="element clickable method public unserialize" data-toggle="collapse" data-target=".unserialize .collapse">
<h2>unserialize() <h2>unserialize()
</h2> </h2>
<pre>unserialize() </pre> <pre>unserialize() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <table class="table table-bordered"><tr>
<tr>
<th>inherited_from</th> <th>inherited_from</th>
<td>ArrayObject::unserialize()</td> <td>ArrayObject::unserialize()</td>
</tr> </tr></table>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::unserialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\miniMVC::unserialize()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
</div> </div>
@ -702,7 +423,7 @@ dynamic methods</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -1,657 +0,0 @@
<!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 » \miniMVC\Output</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 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 :: Initialize the output class"><span class="description">Initialize the output class</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#__destruct" title="__destruct :: PHP magic method called when ending the script
Used for outputing HTML"><span class="description">PHP magic method called when ending the script
Used for outputing HTML</span><pre>__destruct()</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 "><a href="#append_output" title="append_output :: Adds text to the output buffer"><span class="description">Adds text to the output buffer</span><pre>append_output()</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 "><a href="#flush_headers" title="flush_headers :: Sends headers and then removes them"><span class="description">Sends headers and then removes them</span><pre>flush_headers()</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="#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()
</span><pre>offsetGet()</pre></a></li>
<li class="method public inherited"><a href="#offsetSet" title="offsetSet :: "><span class="description">offsetSet()
</span><pre>offsetSet()</pre></a></li>
<li class="method public inherited"><a href="#offsetUnset" title="offsetUnset :: "><span class="description">offsetUnset()
</span><pre>offsetUnset()</pre></a></li>
<li class="method public inherited"><a href="#serialize" title="serialize :: "><span class="description">serialize()
</span><pre>serialize()</pre></a></li>
<li class="method public inherited"><a href="#setFlags" title="setFlags :: "><span class="description">setFlags()
</span><pre>setFlags()</pre></a></li>
<li class="method public inherited"><a href="#setIteratorClass" title="setIteratorClass :: "><span class="description">setIteratorClass()
</span><pre>setIteratorClass()</pre></a></li>
<li class="method public "><a href="#set_header" title="set_header :: Sets a header for later output"><span class="description">Sets a header for later output</span><pre>set_header()</pre></a></li>
<li class="method public "><a href="#set_output" title="set_output :: Sets the output buffer"><span class="description">Sets the output buffer</span><pre>set_output()</pre></a></li>
<li class="method public inherited"><a href="#uasort" title="uasort :: "><span class="description">uasort()
</span><pre>uasort()</pre></a></li>
<li class="method public inherited"><a href="#uksort" title="uksort :: "><span class="description">uksort()
</span><pre>uksort()</pre></a></li>
<li class="method public inherited"><a href="#unserialize" title="unserialize :: "><span class="description">unserialize()
</span><pre>unserialize()</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="#%24buffer" title="$buffer :: Content for outputting"><span class="description">Content for outputting</span><pre>$buffer</pre></a></li>
<li class="property private "><a href="#%24headers" title="$headers :: HTTP headers to send"><span class="description">HTTP headers to send</span><pre>$headers</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CminiMVC%5COutput" id="\miniMVC\Output"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li><a href="../namespaces/miniMVC.html">miniMVC</a></li>
<li class="active">
<span class="divider">\</span><a href="../classes/miniMVC.Output.html">Output</a>
</li>
</ul>
<div href="../classes/miniMVC.Output.html" class="element class">
<p class="short_description">Class for displaying output and setting http headers</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/miniMVC.System.html">miniMVC</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>System</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="__call" id="__call"></a><div class="element clickable method public __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>Allow calling of array methods on the object and
dynamic methods</h2>
<pre>__call(string $name, array $params) : mixed</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\MM::__call()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Initialize the output class</h2>
<pre>__construct() : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="__destruct" id="__destruct"></a><div class="element clickable method public __destruct" data-toggle="collapse" data-target=".__destruct .collapse">
<h2>PHP magic method called when ending the script
Used for outputing HTML</h2>
<pre>__destruct() : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="append" id="append"></a><div class="element clickable method public append" data-toggle="collapse" data-target=".append .collapse">
<h2>append()
</h2>
<pre>append() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::append()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::append()</td>
</tr>
</table>
</div></div>
</div>
<a name="append_output" id="append_output"></a><div class="element clickable method public append_output" data-toggle="collapse" data-target=".append_output .collapse">
<h2>Adds text to the output buffer</h2>
<pre>append_output(string $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>$string</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="asort" id="asort"></a><div class="element clickable method public asort" data-toggle="collapse" data-target=".asort .collapse">
<h2>asort()
</h2>
<pre>asort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::asort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::asort()</td>
</tr>
</table>
</div></div>
</div>
<a name="count" id="count"></a><div class="element clickable method public count" data-toggle="collapse" data-target=".count .collapse">
<h2>count()
</h2>
<pre>count() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::count()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::count()</td>
</tr>
</table>
</div></div>
</div>
<a name="exchangeArray" id="exchangeArray"></a><div class="element clickable method public exchangeArray" data-toggle="collapse" data-target=".exchangeArray .collapse">
<h2>exchangeArray()
</h2>
<pre>exchangeArray() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::exchangeArray()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::exchangeArray()</td>
</tr>
</table>
</div></div>
</div>
<a name="flush_headers" id="flush_headers"></a><div class="element clickable method public flush_headers" data-toggle="collapse" data-target=".flush_headers .collapse">
<h2>Sends headers and then removes them</h2>
<pre>flush_headers() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="getArrayCopy" id="getArrayCopy"></a><div class="element clickable method public getArrayCopy" data-toggle="collapse" data-target=".getArrayCopy .collapse">
<h2>getArrayCopy()
</h2>
<pre>getArrayCopy() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getArrayCopy()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getArrayCopy()</td>
</tr>
</table>
</div></div>
</div>
<a name="getFlags" id="getFlags"></a><div class="element clickable method public getFlags" data-toggle="collapse" data-target=".getFlags .collapse">
<h2>getFlags()
</h2>
<pre>getFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getFlags()</td>
</tr>
</table>
</div></div>
</div>
<a name="getIterator" id="getIterator"></a><div class="element clickable method public getIterator" data-toggle="collapse" data-target=".getIterator .collapse">
<h2>getIterator()
</h2>
<pre>getIterator() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getIterator()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIterator()</td>
</tr>
</table>
</div></div>
</div>
<a name="getIteratorClass" id="getIteratorClass"></a><div class="element clickable method public getIteratorClass" data-toggle="collapse" data-target=".getIteratorClass .collapse">
<h2>getIteratorClass()
</h2>
<pre>getIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIteratorClass()</td>
</tr>
</table>
</div></div>
</div>
<a name="ksort" id="ksort"></a><div class="element clickable method public ksort" data-toggle="collapse" data-target=".ksort .collapse">
<h2>ksort()
</h2>
<pre>ksort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::ksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::ksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="natcasesort" id="natcasesort"></a><div class="element clickable method public natcasesort" data-toggle="collapse" data-target=".natcasesort .collapse">
<h2>natcasesort()
</h2>
<pre>natcasesort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::natcasesort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natcasesort()</td>
</tr>
</table>
</div></div>
</div>
<a name="natsort" id="natsort"></a><div class="element clickable method public natsort" data-toggle="collapse" data-target=".natsort .collapse">
<h2>natsort()
</h2>
<pre>natsort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::natsort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natsort()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetExists" id="offsetExists"></a><div class="element clickable method public offsetExists" data-toggle="collapse" data-target=".offsetExists .collapse">
<h2>offsetExists()
</h2>
<pre>offsetExists() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetExists()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetExists()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetGet" id="offsetGet"></a><div class="element clickable method public offsetGet" data-toggle="collapse" data-target=".offsetGet .collapse">
<h2>offsetGet()
</h2>
<pre>offsetGet() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetGet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetGet()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetSet" id="offsetSet"></a><div class="element clickable method public offsetSet" data-toggle="collapse" data-target=".offsetSet .collapse">
<h2>offsetSet()
</h2>
<pre>offsetSet() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetSet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetSet()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetUnset" id="offsetUnset"></a><div class="element clickable method public offsetUnset" data-toggle="collapse" data-target=".offsetUnset .collapse">
<h2>offsetUnset()
</h2>
<pre>offsetUnset() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetUnset()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetUnset()</td>
</tr>
</table>
</div></div>
</div>
<a name="serialize" id="serialize"></a><div class="element clickable method public serialize" data-toggle="collapse" data-target=".serialize .collapse">
<h2>serialize()
</h2>
<pre>serialize() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::serialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::serialize()</td>
</tr>
</table>
</div></div>
</div>
<a name="setFlags" id="setFlags"></a><div class="element clickable method public setFlags" data-toggle="collapse" data-target=".setFlags .collapse">
<h2>setFlags()
</h2>
<pre>setFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::setFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setFlags()</td>
</tr>
</table>
</div></div>
</div>
<a name="setIteratorClass" id="setIteratorClass"></a><div class="element clickable method public setIteratorClass" data-toggle="collapse" data-target=".setIteratorClass .collapse">
<h2>setIteratorClass()
</h2>
<pre>setIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::setIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setIteratorClass()</td>
</tr>
</table>
</div></div>
</div>
<a name="set_header" id="set_header"></a><div class="element clickable method public set_header" data-toggle="collapse" data-target=".set_header .collapse">
<h2>Sets a header for later output</h2>
<pre>set_header(string $key, string $val) </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>$key</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$val</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="set_output" id="set_output"></a><div class="element clickable method public set_output" data-toggle="collapse" data-target=".set_output .collapse">
<h2>Sets the output buffer</h2>
<pre>set_output(string $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>$string</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="uasort" id="uasort"></a><div class="element clickable method public uasort" data-toggle="collapse" data-target=".uasort .collapse">
<h2>uasort()
</h2>
<pre>uasort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uasort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uasort()</td>
</tr>
</table>
</div></div>
</div>
<a name="uksort" id="uksort"></a><div class="element clickable method public uksort" data-toggle="collapse" data-target=".uksort .collapse">
<h2>uksort()
</h2>
<pre>uksort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="unserialize" id="unserialize"></a><div class="element clickable method public unserialize" data-toggle="collapse" data-target=".unserialize .collapse">
<h2>unserialize()
</h2>
<pre>unserialize() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::unserialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::unserialize()</td>
</tr>
</table>
</div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24buffer" id="$buffer"> </a><div class="element clickable property private $buffer" data-toggle="collapse" data-target=".$buffer .collapse">
<h2>Content for outputting</h2>
<pre>$buffer : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24headers" id="$headers"> </a><div class="element clickable property private $headers" data-toggle="collapse" data-target=".$headers .collapse">
<h2>HTTP headers to send</h2>
<pre>$headers : array</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-06-06T16:50:21-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -59,54 +59,18 @@
<ul class="side-nav nav nav-list"> <ul class="side-nav nav nav-list">
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li> <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 :: Set up the page class"><span class="description">Set up the page class</span><pre>__construct()</pre></a></li> <li class="method public "><a href="#__construct" title="__construct :: Set up the page class"><span class="description">Set up the page class</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#__destruct" title="__destruct :: call the parent destructor"><span class="description">call the parent destructor</span><pre>__destruct()</pre></a></li> <li class="method public "><a href="#__destruct" title="__destruct :: PHP magic method called when ending the script
<li class="method public inherited"><a href="#append" title="append :: "><span class="description">append() Used for outputing HTML"><span class="description">PHP magic method called when ending the script
</span><pre>append()</pre></a></li> Used for outputing HTML</span><pre>__destruct()</pre></a></li>
<li class="method public inherited"><a href="#append_output" title="append_output :: Adds text to the output buffer"><span class="description">Adds text to the output buffer</span><pre>append_output()</pre></a></li> <li class="method public "><a href="#append_output" title="append_output :: Adds text to the output buffer"><span class="description">Adds text to the output buffer</span><pre>append_output()</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 "><a href="#build_footer" title="build_footer :: Builds common footer with any additional js"><span class="description">Builds common footer with any additional js</span><pre>build_footer()</pre></a></li> <li class="method public "><a href="#build_footer" title="build_footer :: Builds common footer with any additional js"><span class="description">Builds common footer with any additional js</span><pre>build_footer()</pre></a></li>
<li class="method public "><a href="#build_header" title="build_header :: Sets custom page header"><span class="description">Sets custom page header</span><pre>build_header()</pre></a></li> <li class="method public "><a href="#build_header" title="build_header :: Sets custom page header"><span class="description">Sets custom page header</span><pre>build_header()</pre></a></li>
<li class="method public inherited"><a href="#count" title="count :: "><span class="description">count() <li class="method public "><a href="#flush_headers" title="flush_headers :: Sends headers and then removes them"><span class="description">Sends headers and then removes them</span><pre>flush_headers()</pre></a></li>
</span><pre>count()</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="#exchangeArray" title="exchangeArray :: "><span class="description">exchangeArray()
</span><pre>exchangeArray()</pre></a></li>
<li class="method public inherited"><a href="#flush_headers" title="flush_headers :: Sends headers and then removes them"><span class="description">Sends headers and then removes them</span><pre>flush_headers()</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="#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()
</span><pre>offsetGet()</pre></a></li>
<li class="method public inherited"><a href="#offsetSet" title="offsetSet :: "><span class="description">offsetSet()
</span><pre>offsetSet()</pre></a></li>
<li class="method public inherited"><a href="#offsetUnset" title="offsetUnset :: "><span class="description">offsetUnset()
</span><pre>offsetUnset()</pre></a></li>
<li class="method public "><a href="#output_string" title="output_string :: Output String"><span class="description">Output String</span><pre>output_string()</pre></a></li> <li class="method public "><a href="#output_string" title="output_string :: Output String"><span class="description">Output String</span><pre>output_string()</pre></a></li>
<li class="method public "><a href="#redirect_303" title="redirect_303 :: Redirect 303"><span class="description">Redirect 303</span><pre>redirect_303()</pre></a></li> <li class="method public "><a href="#redirect_303" title="redirect_303 :: Redirect 303"><span class="description">Redirect 303</span><pre>redirect_303()</pre></a></li>
<li class="method public "><a href="#render" title="render :: Render"><span class="description">Render</span><pre>render()</pre></a></li> <li class="method public "><a href="#render" title="render :: Render"><span class="description">Render</span><pre>render()</pre></a></li>
<li class="method public inherited"><a href="#serialize" title="serialize :: "><span class="description">serialize()
</span><pre>serialize()</pre></a></li>
<li class="method public inherited"><a href="#setFlags" title="setFlags :: "><span class="description">setFlags()
</span><pre>setFlags()</pre></a></li>
<li class="method public inherited"><a href="#setIteratorClass" title="setIteratorClass :: "><span class="description">setIteratorClass()
</span><pre>setIteratorClass()</pre></a></li>
<li class="method public "><a href="#set_base" title="set_base :: Sets custom base href"><span class="description">Sets custom base href</span><pre>set_base()</pre></a></li> <li class="method public "><a href="#set_base" title="set_base :: Sets custom base href"><span class="description">Sets custom base href</span><pre>set_base()</pre></a></li>
<li class="method public "><a href="#set_body_class" title="set_body_class :: Sets custom body class"><span class="description">Sets custom body class</span><pre>set_body_class()</pre></a></li> <li class="method public "><a href="#set_body_class" title="set_body_class :: Sets custom body class"><span class="description">Sets custom body class</span><pre>set_body_class()</pre></a></li>
<li class="method public "><a href="#set_body_id" title="set_body_id :: Sets custom body id"><span class="description">Sets custom body id</span><pre>set_body_id()</pre></a></li> <li class="method public "><a href="#set_body_id" title="set_body_id :: Sets custom body id"><span class="description">Sets custom body id</span><pre>set_body_id()</pre></a></li>
@ -115,17 +79,11 @@ dynamic methods</span><pre>__call()</pre></a></li>
<li class="method public "><a href="#set_foot_js_group" title="set_foot_js_group :: Sets a minified javascript group for the page footer"><span class="description">Sets a minified javascript group for the page footer</span><pre>set_foot_js_group()</pre></a></li> <li class="method public "><a href="#set_foot_js_group" title="set_foot_js_group :: Sets a minified javascript group for the page footer"><span class="description">Sets a minified javascript group for the page footer</span><pre>set_foot_js_group()</pre></a></li>
<li class="method public "><a href="#set_head_js_group" title="set_head_js_group :: Sets minified javascript group in header"><span class="description">Sets minified javascript group in header</span><pre>set_head_js_group()</pre></a></li> <li class="method public "><a href="#set_head_js_group" title="set_head_js_group :: Sets minified javascript group in header"><span class="description">Sets minified javascript group in header</span><pre>set_head_js_group()</pre></a></li>
<li class="method public "><a href="#set_head_tag" title="set_head_tag :: Sets a custom tag in the header"><span class="description">Sets a custom tag in the header</span><pre>set_head_tag()</pre></a></li> <li class="method public "><a href="#set_head_tag" title="set_head_tag :: Sets a custom tag in the header"><span class="description">Sets a custom tag in the header</span><pre>set_head_tag()</pre></a></li>
<li class="method public inherited"><a href="#set_header" title="set_header :: Sets a header for later output"><span class="description">Sets a header for later output</span><pre>set_header()</pre></a></li> <li class="method public "><a href="#set_header" title="set_header :: Sets a header for later output"><span class="description">Sets a header for later output</span><pre>set_header()</pre></a></li>
<li class="method public "><a href="#set_message" title="set_message :: Set Message"><span class="description">Set Message</span><pre>set_message()</pre></a></li> <li class="method public "><a href="#set_message" title="set_message :: Set Message"><span class="description">Set Message</span><pre>set_message()</pre></a></li>
<li class="method public "><a href="#set_meta" title="set_meta :: Set Meta"><span class="description">Set Meta</span><pre>set_meta()</pre></a></li> <li class="method public "><a href="#set_meta" title="set_meta :: Set Meta"><span class="description">Set Meta</span><pre>set_meta()</pre></a></li>
<li class="method public inherited"><a href="#set_output" title="set_output :: Sets the output buffer"><span class="description">Sets the output buffer</span><pre>set_output()</pre></a></li> <li class="method public "><a href="#set_output" title="set_output :: Sets the output buffer"><span class="description">Sets the output buffer</span><pre>set_output()</pre></a></li>
<li class="method public "><a href="#set_title" title="set_title :: Sets html title string"><span class="description">Sets html title string</span><pre>set_title()</pre></a></li> <li class="method public "><a href="#set_title" title="set_title :: Sets html title string"><span class="description">Sets html title string</span><pre>set_title()</pre></a></li>
<li class="method public inherited"><a href="#uasort" title="uasort :: "><span class="description">uasort()
</span><pre>uasort()</pre></a></li>
<li class="method public inherited"><a href="#uksort" title="uksort :: "><span class="description">uksort()
</span><pre>uksort()</pre></a></li>
<li class="method public inherited"><a href="#unserialize" title="unserialize :: "><span class="description">unserialize()
</span><pre>unserialize()</pre></a></li>
<li class="nav-header private">» Private</li> <li class="nav-header private">» Private</li>
<li class="method private "><a href="#_headers" title="_headers :: Sets server headers and doctype"><span class="description">Sets server headers and doctype</span><pre>_headers()</pre></a></li> <li class="method private "><a href="#_headers" title="_headers :: Sets server headers and doctype"><span class="description">Sets server headers and doctype</span><pre>_headers()</pre></a></li>
<li class="method private "><a href="#_link_tag" title="_link_tag :: Private helper function to generate link tags"><span class="description">Private helper function to generate link tags</span><pre>_link_tag()</pre></a></li> <li class="method private "><a href="#_link_tag" title="_link_tag :: Private helper function to generate link tags"><span class="description">Private helper function to generate link tags</span><pre>_link_tag()</pre></a></li>
@ -137,12 +95,12 @@ dynamic methods</span><pre>__call()</pre></a></li>
<li class="property private "><a href="#%24base" title="$base :: Base tag"><span class="description">Base tag</span><pre>$base</pre></a></li> <li class="property private "><a href="#%24base" title="$base :: Base tag"><span class="description">Base tag</span><pre>$base</pre></a></li>
<li class="property private "><a href="#%24body_class" title="$body_class :: Class(es) to apply to the main body tag"><span class="description">Class(es) to apply to the main body tag</span><pre>$body_class</pre></a></li> <li class="property private "><a href="#%24body_class" title="$body_class :: Class(es) to apply to the main body tag"><span class="description">Class(es) to apply to the main body tag</span><pre>$body_class</pre></a></li>
<li class="property private "><a href="#%24body_id" title="$body_id :: Id to apply to the body tag"><span class="description">Id to apply to the body tag</span><pre>$body_id</pre></a></li> <li class="property private "><a href="#%24body_id" title="$body_id :: Id to apply to the body tag"><span class="description">Id to apply to the body tag</span><pre>$body_id</pre></a></li>
<li class="property private inherited"><a href="#%24buffer" title="$buffer :: Content for outputting"><span class="description">Content for outputting</span><pre>$buffer</pre></a></li> <li class="property private "><a href="#%24buffer" title="$buffer :: Content for outputting"><span class="description">Content for outputting</span><pre>$buffer</pre></a></li>
<li class="property private "><a href="#%24css" title="$css :: CSS tags for the page"><span class="description">CSS tags for the page</span><pre>$css</pre></a></li> <li class="property private "><a href="#%24css" title="$css :: CSS tags for the page"><span class="description">CSS tags for the page</span><pre>$css</pre></a></li>
<li class="property private "><a href="#%24foot_js" title="$foot_js :: JS tags for the footer"><span class="description">JS tags for the footer</span><pre>$foot_js</pre></a></li> <li class="property private "><a href="#%24foot_js" title="$foot_js :: JS tags for the footer"><span class="description">JS tags for the footer</span><pre>$foot_js</pre></a></li>
<li class="property private "><a href="#%24head_js" title="$head_js :: JS tags for the header"><span class="description">JS tags for the header</span><pre>$head_js</pre></a></li> <li class="property private "><a href="#%24head_js" title="$head_js :: JS tags for the header"><span class="description">JS tags for the header</span><pre>$head_js</pre></a></li>
<li class="property private "><a href="#%24head_tags" title="$head_tags :: Additional header tags"><span class="description">Additional header tags</span><pre>$head_tags</pre></a></li> <li class="property private "><a href="#%24head_tags" title="$head_tags :: Additional header tags"><span class="description">Additional header tags</span><pre>$head_tags</pre></a></li>
<li class="property private inherited"><a href="#%24headers" title="$headers :: HTTP headers to send"><span class="description">HTTP headers to send</span><pre>$headers</pre></a></li> <li class="property private "><a href="#%24headers" title="$headers :: HTTP headers to send"><span class="description">HTTP headers to send</span><pre>$headers</pre></a></li>
<li class="property private "><a href="#%24meta" title="$meta :: Meta tags"><span class="description">Meta tags</span><pre>$meta</pre></a></li> <li class="property private "><a href="#%24meta" title="$meta :: Meta tags"><span class="description">Meta tags</span><pre>$meta</pre></a></li>
<li class="property private "><a href="#%24title" title="$title :: Page title"><span class="description">Page title</span><pre>$title</pre></a></li> <li class="property private "><a href="#%24title" title="$title :: Page title"><span class="description">Page title</span><pre>$title</pre></a></li>
</ul> </ul>
@ -174,87 +132,25 @@ build_header(), build_footer(), and _headers() methods.</p></p>
</table> </table>
<h3> <h3>
<i class="icon-custom icon-method"></i> Methods</h3> <i class="icon-custom icon-method"></i> Methods</h3>
<a name="__call" id="__call"></a><div class="element clickable method public __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>Allow calling of array methods on the object and
dynamic methods</h2>
<pre>__call(string $name, array $params) : mixed</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::__call()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::__call()</td>
</tr>
</table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse"> <a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Set up the page class</h2> <h2>Set up the page class</h2>
<pre>__construct($controller) : void</pre> <pre>__construct() : void</pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$controller</h4>
<code></code><p>object</p></div>
</div></div>
</div> </div>
<a name="__destruct" id="__destruct"></a><div class="element clickable method public __destruct" data-toggle="collapse" data-target=".__destruct .collapse"> <a name="__destruct" id="__destruct"></a><div class="element clickable method public __destruct" data-toggle="collapse" data-target=".__destruct .collapse">
<h2>call the parent destructor</h2> <h2>PHP magic method called when ending the script
Used for outputing HTML</h2>
<pre>__destruct() : void</pre> <pre>__destruct() : void</pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="append" id="append"></a><div class="element clickable method public append" data-toggle="collapse" data-target=".append .collapse">
<h2>append()
</h2>
<pre>append() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::append()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::append()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::append()</td>
</tr>
</table>
</div></div>
</div>
<a name="append_output" id="append_output"></a><div class="element clickable method public append_output" data-toggle="collapse" data-target=".append_output .collapse"> <a name="append_output" id="append_output"></a><div class="element clickable method public append_output" data-toggle="collapse" data-target=".append_output .collapse">
<h2>Adds text to the output buffer</h2> <h2>Adds text to the output buffer</h2>
<pre>append_output(string $string) </pre> <pre>append_output(string $string) </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\Output::append_output()</td>
</tr></table>
<h3>Parameters</h3> <h3>Parameters</h3>
<div class="subelement argument"> <div class="subelement argument">
<h4>$string</h4> <h4>$string</h4>
@ -262,29 +158,6 @@ dynamic methods</h2>
</div> </div>
</div></div> </div></div>
</div> </div>
<a name="asort" id="asort"></a><div class="element clickable method public asort" data-toggle="collapse" data-target=".asort .collapse">
<h2>asort()
</h2>
<pre>asort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::asort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::asort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::asort()</td>
</tr>
</table>
</div></div>
</div>
<a name="build_footer" id="build_footer"></a><div class="element clickable method public build_footer" data-toggle="collapse" data-target=".build_footer .collapse"> <a name="build_footer" id="build_footer"></a><div class="element clickable method public build_footer" data-toggle="collapse" data-target=".build_footer .collapse">
<h2>Builds common footer with any additional js</h2> <h2>Builds common footer with any additional js</h2>
<pre>build_footer() </pre> <pre>build_footer() </pre>
@ -306,315 +179,33 @@ dynamic methods</h2>
<div class="subelement response"><code><a href="../classes/miniMVC.Page.html">\miniMVC\Page</a></code></div> <div class="subelement response"><code><a href="../classes/miniMVC.Page.html">\miniMVC\Page</a></code></div>
</div></div> </div></div>
</div> </div>
<a name="count" id="count"></a><div class="element clickable method public count" data-toggle="collapse" data-target=".count .collapse">
<h2>count()
</h2>
<pre>count() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::count()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::count()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::count()</td>
</tr>
</table>
</div></div>
</div>
<a name="exchangeArray" id="exchangeArray"></a><div class="element clickable method public exchangeArray" data-toggle="collapse" data-target=".exchangeArray .collapse">
<h2>exchangeArray()
</h2>
<pre>exchangeArray() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::exchangeArray()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::exchangeArray()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::exchangeArray()</td>
</tr>
</table>
</div></div>
</div>
<a name="flush_headers" id="flush_headers"></a><div class="element clickable method public flush_headers" data-toggle="collapse" data-target=".flush_headers .collapse"> <a name="flush_headers" id="flush_headers"></a><div class="element clickable method public flush_headers" data-toggle="collapse" data-target=".flush_headers .collapse">
<h2>Sends headers and then removes them</h2> <h2>Sends headers and then removes them</h2>
<pre>flush_headers() </pre> <pre>flush_headers() </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\Output::flush_headers()</td>
</tr></table>
</div></div>
</div> </div>
<a name="getArrayCopy" id="getArrayCopy"></a><div class="element clickable method public getArrayCopy" data-toggle="collapse" data-target=".getArrayCopy .collapse"> <a name="load_view" id="load_view"></a><div class="element clickable method public load_view" data-toggle="collapse" data-target=".load_view .collapse">
<h2>getArrayCopy() <h2>Function for loading a view</h2>
</h2> <pre>load_view(string $file, array $data, bool $return) : mixed</pre>
<pre>getArrayCopy() </pre> <div class="labels"></div>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"> <h3>Parameters</h3>
<tr> <div class="subelement argument">
<th>inherited_from</th> <h4>$file</h4>
<td>ArrayObject::getArrayCopy()</td> <code>string</code>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getArrayCopy()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::getArrayCopy()</td>
</tr>
</table>
</div></div>
</div> </div>
<a name="getFlags" id="getFlags"></a><div class="element clickable method public getFlags" data-toggle="collapse" data-target=".getFlags .collapse"> <div class="subelement argument">
<h2>getFlags() <h4>$data</h4>
</h2> <code>array</code>
<pre>getFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::getFlags()</td>
</tr>
</table>
</div></div>
</div> </div>
<a name="getIterator" id="getIterator"></a><div class="element clickable method public getIterator" data-toggle="collapse" data-target=".getIterator .collapse"> <div class="subelement argument">
<h2>getIterator() <h4>$return</h4>
</h2> <code>bool</code>
<pre>getIterator() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getIterator()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIterator()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::getIterator()</td>
</tr>
</table>
</div></div>
</div> </div>
<a name="getIteratorClass" id="getIteratorClass"></a><div class="element clickable method public getIteratorClass" data-toggle="collapse" data-target=".getIteratorClass .collapse"> <h3>Returns</h3>
<h2>getIteratorClass() <div class="subelement response"><code>mixed</code></div>
</h2>
<pre>getIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::getIteratorClass()</td>
</tr>
</table>
</div></div>
</div>
<a name="ksort" id="ksort"></a><div class="element clickable method public ksort" data-toggle="collapse" data-target=".ksort .collapse">
<h2>ksort()
</h2>
<pre>ksort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::ksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::ksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::ksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="natcasesort" id="natcasesort"></a><div class="element clickable method public natcasesort" data-toggle="collapse" data-target=".natcasesort .collapse">
<h2>natcasesort()
</h2>
<pre>natcasesort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::natcasesort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natcasesort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::natcasesort()</td>
</tr>
</table>
</div></div>
</div>
<a name="natsort" id="natsort"></a><div class="element clickable method public natsort" data-toggle="collapse" data-target=".natsort .collapse">
<h2>natsort()
</h2>
<pre>natsort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::natsort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natsort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::natsort()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetExists" id="offsetExists"></a><div class="element clickable method public offsetExists" data-toggle="collapse" data-target=".offsetExists .collapse">
<h2>offsetExists()
</h2>
<pre>offsetExists() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetExists()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetExists()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::offsetExists()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetGet" id="offsetGet"></a><div class="element clickable method public offsetGet" data-toggle="collapse" data-target=".offsetGet .collapse">
<h2>offsetGet()
</h2>
<pre>offsetGet() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetGet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetGet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::offsetGet()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetSet" id="offsetSet"></a><div class="element clickable method public offsetSet" data-toggle="collapse" data-target=".offsetSet .collapse">
<h2>offsetSet()
</h2>
<pre>offsetSet() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetSet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetSet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::offsetSet()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetUnset" id="offsetUnset"></a><div class="element clickable method public offsetUnset" data-toggle="collapse" data-target=".offsetUnset .collapse">
<h2>offsetUnset()
</h2>
<pre>offsetUnset() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetUnset()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetUnset()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::offsetUnset()</td>
</tr>
</table>
</div></div> </div></div>
</div> </div>
<a name="output_string" id="output_string"></a><div class="element clickable method public output_string" data-toggle="collapse" data-target=".output_string .collapse"> <a name="output_string" id="output_string"></a><div class="element clickable method public output_string" data-toggle="collapse" data-target=".output_string .collapse">
@ -662,75 +253,6 @@ page.</p></p>
</div> </div>
</div></div> </div></div>
</div> </div>
<a name="serialize" id="serialize"></a><div class="element clickable method public serialize" data-toggle="collapse" data-target=".serialize .collapse">
<h2>serialize()
</h2>
<pre>serialize() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::serialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::serialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::serialize()</td>
</tr>
</table>
</div></div>
</div>
<a name="setFlags" id="setFlags"></a><div class="element clickable method public setFlags" data-toggle="collapse" data-target=".setFlags .collapse">
<h2>setFlags()
</h2>
<pre>setFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::setFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::setFlags()</td>
</tr>
</table>
</div></div>
</div>
<a name="setIteratorClass" id="setIteratorClass"></a><div class="element clickable method public setIteratorClass" data-toggle="collapse" data-target=".setIteratorClass .collapse">
<h2>setIteratorClass()
</h2>
<pre>setIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::setIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::setIteratorClass()</td>
</tr>
</table>
</div></div>
</div>
<a name="set_base" id="set_base"></a><div class="element clickable method public set_base" data-toggle="collapse" data-target=".set_base .collapse"> <a name="set_base" id="set_base"></a><div class="element clickable method public set_base" data-toggle="collapse" data-target=".set_base .collapse">
<h2>Sets custom base href</h2> <h2>Sets custom base href</h2>
<pre>set_base(string $href) : <a href="../classes/miniMVC.Page.html">\miniMVC\Page</a></pre> <pre>set_base(string $href) : <a href="../classes/miniMVC.Page.html">\miniMVC\Page</a></pre>
@ -869,13 +391,9 @@ page.</p></p>
<a name="set_header" id="set_header"></a><div class="element clickable method public set_header" data-toggle="collapse" data-target=".set_header .collapse"> <a name="set_header" id="set_header"></a><div class="element clickable method public set_header" data-toggle="collapse" data-target=".set_header .collapse">
<h2>Sets a header for later output</h2> <h2>Sets a header for later output</h2>
<pre>set_header(string $key, string $val) </pre> <pre>set_header(string $key, string $val) </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\Output::set_header()</td>
</tr></table>
<h3>Parameters</h3> <h3>Parameters</h3>
<div class="subelement argument"> <div class="subelement argument">
<h4>$key</h4> <h4>$key</h4>
@ -926,13 +444,9 @@ page.</p></p>
<a name="set_output" id="set_output"></a><div class="element clickable method public set_output" data-toggle="collapse" data-target=".set_output .collapse"> <a name="set_output" id="set_output"></a><div class="element clickable method public set_output" data-toggle="collapse" data-target=".set_output .collapse">
<h2>Sets the output buffer</h2> <h2>Sets the output buffer</h2>
<pre>set_output(string $string) </pre> <pre>set_output(string $string) </pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\Output::set_output()</td>
</tr></table>
<h3>Parameters</h3> <h3>Parameters</h3>
<div class="subelement argument"> <div class="subelement argument">
<h4>$string</h4> <h4>$string</h4>
@ -955,75 +469,6 @@ page.</p></p>
<div class="subelement response"><code><a href="../classes/miniMVC.Page.html">\miniMVC\Page</a></code></div> <div class="subelement response"><code><a href="../classes/miniMVC.Page.html">\miniMVC\Page</a></code></div>
</div></div> </div></div>
</div> </div>
<a name="uasort" id="uasort"></a><div class="element clickable method public uasort" data-toggle="collapse" data-target=".uasort .collapse">
<h2>uasort()
</h2>
<pre>uasort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uasort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uasort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::uasort()</td>
</tr>
</table>
</div></div>
</div>
<a name="uksort" id="uksort"></a><div class="element clickable method public uksort" data-toggle="collapse" data-target=".uksort .collapse">
<h2>uksort()
</h2>
<pre>uksort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::uksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="unserialize" id="unserialize"></a><div class="element clickable method public unserialize" data-toggle="collapse" data-target=".unserialize .collapse">
<h2>unserialize()
</h2>
<pre>unserialize() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::unserialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::unserialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\Output::unserialize()</td>
</tr>
</table>
</div></div>
</div>
<a name="_headers" id="_headers"></a><div class="element clickable method private _headers" data-toggle="collapse" data-target="._headers .collapse"> <a name="_headers" id="_headers"></a><div class="element clickable method private _headers" data-toggle="collapse" data-target="._headers .collapse">
<h2>Sets server headers and doctype</h2> <h2>Sets server headers and doctype</h2>
<pre>_headers(bool $html5) : <a href="../classes/miniMVC.Page.html">\miniMVC\Page</a></pre> <pre>_headers(bool $html5) : <a href="../classes/miniMVC.Page.html">\miniMVC\Page</a></pre>
@ -1113,14 +558,8 @@ supports</p></p>
<a name="%24buffer" id="$buffer"> </a><div class="element clickable property private $buffer" data-toggle="collapse" data-target=".$buffer .collapse"> <a name="%24buffer" id="$buffer"> </a><div class="element clickable property private $buffer" data-toggle="collapse" data-target=".$buffer .collapse">
<h2>Content for outputting</h2> <h2>Content for outputting</h2>
<pre>$buffer : string</pre> <pre>$buffer : string</pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\Output::$$buffer</td>
</tr></table>
</div></div>
</div> </div>
<a name="%24css" id="$css"> </a><div class="element clickable property private $css" data-toggle="collapse" data-target=".$css .collapse"> <a name="%24css" id="$css"> </a><div class="element clickable property private $css" data-toggle="collapse" data-target=".$css .collapse">
<h2>CSS tags for the page</h2> <h2>CSS tags for the page</h2>
@ -1149,14 +588,8 @@ supports</p></p>
<a name="%24headers" id="$headers"> </a><div class="element clickable property private $headers" data-toggle="collapse" data-target=".$headers .collapse"> <a name="%24headers" id="$headers"> </a><div class="element clickable property private $headers" data-toggle="collapse" data-target=".$headers .collapse">
<h2>HTTP headers to send</h2> <h2>HTTP headers to send</h2>
<pre>$headers : array</pre> <pre>$headers : array</pre>
<div class="labels"><span class="label">Inherited</span></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\Output::$$headers</td>
</tr></table>
</div></div>
</div> </div>
<a name="%24meta" id="$meta"> </a><div class="element clickable property private $meta" data-toggle="collapse" data-target=".$meta .collapse"> <a name="%24meta" id="$meta"> </a><div class="element clickable property private $meta" data-toggle="collapse" data-target=".$meta .collapse">
<h2>Meta tags</h2> <h2>Meta tags</h2>
@ -1177,7 +610,7 @@ supports</p></p>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -59,14 +59,17 @@
<ul class="side-nav nav nav-list"> <ul class="side-nav nav nav-list">
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li> <i class="icon-custom icon-method"></i> Methods</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="#__get" title="__get :: Retreive a session value"><span class="description">Retreive a session value</span><pre>__get()</pre></a></li> <li class="method public "><a href="#__get" title="__get :: Retreive a session value"><span class="description">Retreive a session value</span><pre>__get()</pre></a></li>
<li class="method public "><a href="#__set" title="__set :: Set a session value"><span class="description">Set a session value</span><pre>__set()</pre></a></li> <li class="method public "><a href="#__set" title="__set :: Set a session value"><span class="description">Set a session value</span><pre>__set()</pre></a></li>
<li class="method public "><a href="#destroy" title="destroy :: Destroy a session"><span class="description">Destroy a session</span><pre>destroy()</pre></a></li> <li class="method public "><a href="#destroy" title="destroy :: Destroy a session"><span class="description">Destroy a session</span><pre>destroy()</pre></a></li>
<li class="method public "><a href="#get_instance" title="get_instance :: Singleton getter function"><span class="description">Singleton getter function</span><pre>get_instance()</pre></a></li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
<li class="method protected "><a href="#__construct" title="__construct :: Start a session"><span class="description">Start a session</span><pre>__construct()</pre></a></li> <li class="method protected "><a href="#__construct" title="__construct :: Start a session"><span class="description">Start a session</span><pre>__construct()</pre></a></li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li> <i class="icon-custom icon-property"></i> Properties</li>
<li class="nav-header protected">» Protected</li> <li class="nav-header protected">» Protected</li>
<li class="property protected "><a href="#%24instance" title="$instance :: Reference to current instance"><span class="description">Reference to current instance</span><pre>$instance</pre></a></li>
<li class="property protected "><a href="#%24sess" title="$sess :: Reference to session superglobal"><span class="description">Reference to session superglobal</span><pre>$sess</pre></a></li> <li class="property protected "><a href="#%24sess" title="$sess :: Reference to session superglobal"><span class="description">Reference to session superglobal</span><pre>$sess</pre></a></li>
</ul> </ul>
</div> </div>
@ -96,6 +99,12 @@
</table> </table>
<h3> <h3>
<i class="icon-custom icon-method"></i> Methods</h3> <i class="icon-custom icon-method"></i> Methods</h3>
<a name="__clone" id="__clone"></a><div class="element clickable method public __clone" data-toggle="collapse" data-target=".__clone .collapse">
<h2>Magic function called when cloning an object</h2>
<pre>__clone() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="__get" id="__get"></a><div class="element clickable method public __get" data-toggle="collapse" data-target=".__get .collapse"> <a name="__get" id="__get"></a><div class="element clickable method public __get" data-toggle="collapse" data-target=".__get .collapse">
<h2>Retreive a session value</h2> <h2>Retreive a session value</h2>
<pre>__get(string $key) : mixed</pre> <pre>__get(string $key) : mixed</pre>
@ -134,6 +143,16 @@
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="get_instance" id="get_instance"></a><div class="element clickable method public get_instance" data-toggle="collapse" data-target=".get_instance .collapse">
<h2>Singleton getter function</h2>
<pre>get_instance() : \miniMVC\self</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>\miniMVC\self</code></div>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method protected __construct" data-toggle="collapse" data-target=".__construct .collapse"> <a name="__construct" id="__construct"></a><div class="element clickable method protected __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Start a session</h2> <h2>Start a session</h2>
<pre>__construct() </pre> <pre>__construct() </pre>
@ -142,6 +161,12 @@
</div> </div>
<h3> <h3>
<i class="icon-custom icon-property"></i> Properties</h3> <i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24instance" id="$instance"> </a><div class="element clickable property protected $instance" data-toggle="collapse" data-target=".$instance .collapse">
<h2>Reference to current instance</h2>
<pre>$instance : <a href="../classes/miniMVC.Session.html">\miniMVC\Session</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24sess" id="$sess"> </a><div class="element clickable property protected $sess" data-toggle="collapse" data-target=".$sess .collapse"> <a name="%24sess" id="$sess"> </a><div class="element clickable property protected $sess" data-toggle="collapse" data-target=".$sess .collapse">
<h2>Reference to session superglobal</h2> <h2>Reference to session superglobal</h2>
<pre>$sess : array</pre> <pre>$sess : array</pre>
@ -155,7 +180,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -1,610 +0,0 @@
<!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 » \miniMVC\miniMVC</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 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 :: 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 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 "><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 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()
</span><pre>offsetGet()</pre></a></li>
<li class="method public inherited"><a href="#offsetSet" title="offsetSet :: "><span class="description">offsetSet()
</span><pre>offsetSet()</pre></a></li>
<li class="method public inherited"><a href="#offsetUnset" title="offsetUnset :: "><span class="description">offsetUnset()
</span><pre>offsetUnset()</pre></a></li>
<li class="method public inherited"><a href="#serialize" title="serialize :: "><span class="description">serialize()
</span><pre>serialize()</pre></a></li>
<li class="method public inherited"><a href="#setFlags" title="setFlags :: "><span class="description">setFlags()
</span><pre>setFlags()</pre></a></li>
<li class="method public inherited"><a href="#setIteratorClass" title="setIteratorClass :: "><span class="description">setIteratorClass()
</span><pre>setIteratorClass()</pre></a></li>
<li class="method public inherited"><a href="#uasort" title="uasort :: "><span class="description">uasort()
</span><pre>uasort()</pre></a></li>
<li class="method public inherited"><a href="#uksort" title="uksort :: "><span class="description">uksort()
</span><pre>uksort()</pre></a></li>
<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 inherited"><a href="#unserialize" title="unserialize :: "><span class="description">unserialize()
</span><pre>unserialize()</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CminiMVC%5CminiMVC" id="\miniMVC\miniMVC"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li><a href="../namespaces/miniMVC.html">miniMVC</a></li>
<li class="active">
<span class="divider">\</span><a href="../classes/miniMVC.miniMVC.html">miniMVC</a>
</li>
</ul>
<div href="../classes/miniMVC.miniMVC.html" class="element class">
<p class="short_description">Base class for the framework</p>
<div class="details">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="..//packages/miniMVC.System.html">miniMVC</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>System</td>
</tr>
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="__call" id="__call"></a><div class="element clickable method public __call" data-toggle="collapse" data-target=".__call .collapse">
<h2>Allow calling of array methods on the object and
dynamic methods</h2>
<pre>__call(string $name, array $params) : mixed</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\miniMVC\MM::__call()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</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="append" id="append"></a><div class="element clickable method public append" data-toggle="collapse" data-target=".append .collapse">
<h2>append()
</h2>
<pre>append() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::append()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::append()</td>
</tr>
</table>
</div></div>
</div>
<a name="asort" id="asort"></a><div class="element clickable method public asort" data-toggle="collapse" data-target=".asort .collapse">
<h2>asort()
</h2>
<pre>asort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::asort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::asort()</td>
</tr>
</table>
</div></div>
</div>
<a name="count" id="count"></a><div class="element clickable method public count" data-toggle="collapse" data-target=".count .collapse">
<h2>count()
</h2>
<pre>count() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::count()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::count()</td>
</tr>
</table>
</div></div>
</div>
<a name="exchangeArray" id="exchangeArray"></a><div class="element clickable method public exchangeArray" data-toggle="collapse" data-target=".exchangeArray .collapse">
<h2>exchangeArray()
</h2>
<pre>exchangeArray() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::exchangeArray()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::exchangeArray()</td>
</tr>
</table>
</div></div>
</div>
<a name="getArrayCopy" id="getArrayCopy"></a><div class="element clickable method public getArrayCopy" data-toggle="collapse" data-target=".getArrayCopy .collapse">
<h2>getArrayCopy()
</h2>
<pre>getArrayCopy() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getArrayCopy()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getArrayCopy()</td>
</tr>
</table>
</div></div>
</div>
<a name="getFlags" id="getFlags"></a><div class="element clickable method public getFlags" data-toggle="collapse" data-target=".getFlags .collapse">
<h2>getFlags()
</h2>
<pre>getFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getFlags()</td>
</tr>
</table>
</div></div>
</div>
<a name="getIterator" id="getIterator"></a><div class="element clickable method public getIterator" data-toggle="collapse" data-target=".getIterator .collapse">
<h2>getIterator()
</h2>
<pre>getIterator() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getIterator()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIterator()</td>
</tr>
</table>
</div></div>
</div>
<a name="getIteratorClass" id="getIteratorClass"></a><div class="element clickable method public getIteratorClass" data-toggle="collapse" data-target=".getIteratorClass .collapse">
<h2>getIteratorClass()
</h2>
<pre>getIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::getIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::getIteratorClass()</td>
</tr>
</table>
</div></div>
</div>
<a name="ksort" id="ksort"></a><div class="element clickable method public ksort" data-toggle="collapse" data-target=".ksort .collapse">
<h2>ksort()
</h2>
<pre>ksort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::ksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::ksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="load_config" id="load_config"></a><div class="element clickable method public load_config" data-toggle="collapse" data-target=".load_config .collapse">
<h2>Convenience function to load config files</h2>
<pre>load_config(string $name) </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>$name</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="natcasesort" id="natcasesort"></a><div class="element clickable method public natcasesort" data-toggle="collapse" data-target=".natcasesort .collapse">
<h2>natcasesort()
</h2>
<pre>natcasesort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::natcasesort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natcasesort()</td>
</tr>
</table>
</div></div>
</div>
<a name="natsort" id="natsort"></a><div class="element clickable method public natsort" data-toggle="collapse" data-target=".natsort .collapse">
<h2>natsort()
</h2>
<pre>natsort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::natsort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::natsort()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetExists" id="offsetExists"></a><div class="element clickable method public offsetExists" data-toggle="collapse" data-target=".offsetExists .collapse">
<h2>offsetExists()
</h2>
<pre>offsetExists() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetExists()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetExists()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetGet" id="offsetGet"></a><div class="element clickable method public offsetGet" data-toggle="collapse" data-target=".offsetGet .collapse">
<h2>offsetGet()
</h2>
<pre>offsetGet() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetGet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetGet()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetSet" id="offsetSet"></a><div class="element clickable method public offsetSet" data-toggle="collapse" data-target=".offsetSet .collapse">
<h2>offsetSet()
</h2>
<pre>offsetSet() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetSet()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetSet()</td>
</tr>
</table>
</div></div>
</div>
<a name="offsetUnset" id="offsetUnset"></a><div class="element clickable method public offsetUnset" data-toggle="collapse" data-target=".offsetUnset .collapse">
<h2>offsetUnset()
</h2>
<pre>offsetUnset() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::offsetUnset()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::offsetUnset()</td>
</tr>
</table>
</div></div>
</div>
<a name="serialize" id="serialize"></a><div class="element clickable method public serialize" data-toggle="collapse" data-target=".serialize .collapse">
<h2>serialize()
</h2>
<pre>serialize() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::serialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::serialize()</td>
</tr>
</table>
</div></div>
</div>
<a name="setFlags" id="setFlags"></a><div class="element clickable method public setFlags" data-toggle="collapse" data-target=".setFlags .collapse">
<h2>setFlags()
</h2>
<pre>setFlags() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::setFlags()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setFlags()</td>
</tr>
</table>
</div></div>
</div>
<a name="setIteratorClass" id="setIteratorClass"></a><div class="element clickable method public setIteratorClass" data-toggle="collapse" data-target=".setIteratorClass .collapse">
<h2>setIteratorClass()
</h2>
<pre>setIteratorClass() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::setIteratorClass()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::setIteratorClass()</td>
</tr>
</table>
</div></div>
</div>
<a name="uasort" id="uasort"></a><div class="element clickable method public uasort" data-toggle="collapse" data-target=".uasort .collapse">
<h2>uasort()
</h2>
<pre>uasort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uasort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uasort()</td>
</tr>
</table>
</div></div>
</div>
<a name="uksort" id="uksort"></a><div class="element clickable method public uksort" data-toggle="collapse" data-target=".uksort .collapse">
<h2>uksort()
</h2>
<pre>uksort() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::uksort()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::uksort()</td>
</tr>
</table>
</div></div>
</div>
<a name="unload" id="unload"></a><div class="element clickable method public unload" data-toggle="collapse" data-target=".unload .collapse">
<h2>Convenience function to remove an object from the singleton</h2>
<pre>unload(string $name) </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>$name</h4>
<code>string</code>
</div>
</div></div>
</div>
<a name="unserialize" id="unserialize"></a><div class="element clickable method public unserialize" data-toggle="collapse" data-target=".unserialize .collapse">
<h2>unserialize()
</h2>
<pre>unserialize() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>ArrayObject::unserialize()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\miniMVC\MM::unserialize()</td>
</tr>
</table>
</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-06-06T16:50:21-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -69,7 +69,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -97,17 +97,12 @@
<div class="package-contents"></div> <div class="package-contents"></div>
<div class="package-contents"></div> <div class="package-contents"></div>
<div class="package-contents"></div> <div class="package-contents"></div>
<div class="package-contents"></div>
<div class="package-contents"></div>
<div class="package-contents"></div>
<div class="package-contents"></div>
<div class="package-contents"></div>
</div> </div>
</div> </div>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -66,7 +66,7 @@
</script><div class="row"><footer class="span12"> </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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -91,7 +91,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -165,7 +165,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -122,6 +122,13 @@ with array_map and glob</h2>
</div> </div>
<h3> <h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3> <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="Bcrypt" id="Bcrypt"></a><div class="element ajax clickable class" href="../classes/Bcrypt.html">
<h1>Bcrypt<a href="../classes/Bcrypt.html"></a>
</h1>
<p class="short_description">Class to simplify dealing with bcrypt for password handling</p>
<div class="details collapse"></div>
<a href="../classes/Bcrypt.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"> <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>DB_PDO<a href="../classes/DB_PDO.html"></a>
</h1> </h1>
@ -284,7 +291,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -74,86 +74,6 @@
<div class="namespace-indent"> <div class="namespace-indent">
<h3> <h3>
<i class="icon-custom icon-function"></i> Functions</h3> <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 $params) </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>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
</div></div>
</div>
<a name="__clone" id="__clone"></a><div class="element clickable function __clone" data-toggle="collapse" data-target=".__clone .collapse">
<h2>Magic function called when cloning an object</h2>
<pre>__clone() </pre>
<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 function __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Protected constructor for creating the one instance</h2>
<pre>__construct() </pre>
<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 function __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Constructor for creating the objects</h2>
<pre>__construct(array $members) : void</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 function __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(array $params) : \miniMVC\self</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>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\miniMVC\self</code></div>
</div></div>
</div>
<a name="__invoke" id="__invoke"></a><div class="element clickable function __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(array $args) </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>$args</h4>
<code>array</code>
</div>
</div></div>
</div>
<a name="__toString" id="__toString"></a><div class="element clickable function __toString" data-toggle="collapse" data-target=".__toString .collapse">
<h2>Prints out the contents of the object when used as a string</h2>
<pre>__toString() : 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>
<a name="_autoload" id="_autoload"></a><div class="element clickable function _autoload" data-toggle="collapse" data-target="._autoload .collapse"> <a name="_autoload" id="_autoload"></a><div class="element clickable function _autoload" data-toggle="collapse" data-target="._autoload .collapse">
<h2>Function to autoload system libraries</h2> <h2>Function to autoload system libraries</h2>
<pre>_autoload($name) </pre> <pre>_autoload($name) </pre>
@ -194,14 +114,24 @@
</div> </div>
</div></div> </div></div>
</div> </div>
<a name="get_instance" id="get_instance"></a><div class="element clickable function get_instance" data-toggle="collapse" data-target=".get_instance .collapse"> <a name="get_last_segment" id="get_last_segment"></a><div class="element clickable function get_last_segment" data-toggle="collapse" data-target=".get_last_segment .collapse">
<h2>Singleton getter function</h2> <h2>Returns the last segment of the current url</h2>
<pre>get_instance() : \miniMVC\self</pre> <pre>get_last_segment() : string</pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<h3>Returns</h3> <h3>Returns</h3>
<div class="subelement response"><code>\miniMVC\self</code></div> <div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="get_segments" id="get_segments"></a><div class="element clickable function get_segments" data-toggle="collapse" data-target=".get_segments .collapse">
<h2>Gets an array of the segments of the current url</h2>
<pre>get_segments() : array</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>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="init" id="init"></a><div class="element clickable function init" data-toggle="collapse" data-target=".init .collapse"> <a name="init" id="init"></a><div class="element clickable function init" data-toggle="collapse" data-target=".init .collapse">
@ -271,6 +201,27 @@
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="run" id="run"></a><div class="element clickable function run" data-toggle="collapse" data-target=".run .collapse">
<h2>Instantiate the appropriate controller</h2>
<pre>run($module, $controller, $func, $args) </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>$module</h4>
<code></code><p>string</p></div>
<div class="subelement argument">
<h4>$controller</h4>
<code></code><p>string</p></div>
<div class="subelement argument">
<h4>$func</h4>
<code></code><p>string</p></div>
<div class="subelement argument">
<h4>$args</h4>
<code></code><p>array</p></div>
</div></div>
</div>
<a name="show_404" id="show_404"></a><div class="element clickable function show_404" data-toggle="collapse" data-target=".show_404 .collapse"> <a name="show_404" id="show_404"></a><div class="element clickable function show_404" data-toggle="collapse" data-target=".show_404 .collapse">
<h2>General 404 function</h2> <h2>General 404 function</h2>
<pre>show_404() : void</pre> <pre>show_404() : void</pre>
@ -359,13 +310,6 @@ display them cleanly</h2>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.Data_Store.html" class="more">« More »</a> <a href="../classes/miniMVC.Data_Store.html" class="more">« More »</a>
</div> </div>
<a name="MM" id="MM"></a><div class="element ajax clickable class" href="../classes/miniMVC.MM.html">
<h1>MM<a href="../classes/miniMVC.MM.html"></a>
</h1>
<p class="short_description">Class for standalone JSObject objects</p>
<div class="details collapse"></div>
<a href="../classes/miniMVC.MM.html" class="more">« More »</a>
</div>
<a name="Model" id="Model"></a><div class="element ajax clickable class" href="../classes/miniMVC.Model.html"> <a name="Model" id="Model"></a><div class="element ajax clickable class" href="../classes/miniMVC.Model.html">
<h1>Model<a href="../classes/miniMVC.Model.html"></a> <h1>Model<a href="../classes/miniMVC.Model.html"></a>
</h1> </h1>
@ -373,13 +317,6 @@ display them cleanly</h2>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.Model.html" class="more">« More »</a> <a href="../classes/miniMVC.Model.html" class="more">« More »</a>
</div> </div>
<a name="Output" id="Output"></a><div class="element ajax clickable class" href="../classes/miniMVC.Output.html">
<h1>Output<a href="../classes/miniMVC.Output.html"></a>
</h1>
<p class="short_description">Class for displaying output and setting http headers</p>
<div class="details collapse"></div>
<a href="../classes/miniMVC.Output.html" class="more">« More »</a>
</div>
<a name="Page" id="Page"></a><div class="element ajax clickable class" href="../classes/miniMVC.Page.html"> <a name="Page" id="Page"></a><div class="element ajax clickable class" href="../classes/miniMVC.Page.html">
<h1>Page<a href="../classes/miniMVC.Page.html"></a> <h1>Page<a href="../classes/miniMVC.Page.html"></a>
</h1> </h1>
@ -394,13 +331,6 @@ display them cleanly</h2>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.Session.html" class="more">« More »</a> <a href="../classes/miniMVC.Session.html" class="more">« More »</a>
</div> </div>
<a name="miniMVC" id="miniMVC"></a><div class="element ajax clickable class" href="../classes/miniMVC.miniMVC.html">
<h1>miniMVC<a href="../classes/miniMVC.miniMVC.html"></a>
</h1>
<p class="short_description">Base class for the framework</p>
<div class="details collapse"></div>
<a href="../classes/miniMVC.miniMVC.html" class="more">« More »</a>
</div>
<h3> <h3>
<i class="icon-custom icon-constant"></i> Constants</h3> <i class="icon-custom icon-constant"></i> Constants</h3>
<a name="ENVIRONMENT" id="ENVIRONMENT"> </a><div class="element clickable constant ENVIRONMENT" data-toggle="collapse" data-target=".ENVIRONMENT .collapse"> <a name="ENVIRONMENT" id="ENVIRONMENT"> </a><div class="element clickable constant ENVIRONMENT" data-toggle="collapse" data-target=".ENVIRONMENT .collapse">
@ -439,7 +369,7 @@ display them cleanly</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -69,7 +69,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -131,7 +131,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -213,7 +213,7 @@ data-fetching methods</p>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -117,7 +117,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -304,7 +304,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -99,7 +99,7 @@
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -68,9 +68,6 @@
<li><a href="#Model" title="Base Model Class">Model</a></li> <li><a href="#Model" title="Base Model Class">Model</a></li>
<li><a href="#Controller" title="Base Controller Class">Controller</a></li> <li><a href="#Controller" title="Base Controller Class">Controller</a></li>
<li><a href="#DB" title="Extend PHP's PDO class to add some more functionality">DB</a></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" title="Class for standalone JSObject objects">MM</a></li>
<li><a href="#Output" title="Class for displaying output and setting http headers">Output</a></li>
</ul> </ul>
</div> </div>
<div class="span8 package-contents"> <div class="span8 package-contents">
@ -98,13 +95,6 @@
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.DB.html" class="more">« More »</a> <a href="../classes/miniMVC.DB.html" class="more">« More »</a>
</div> </div>
<a name="MM" id="MM"></a><div class="element ajax clickable class" href="../classes/miniMVC.MM.html">
<h1>MM<a href="../classes/miniMVC.MM.html"></a>
</h1>
<p class="short_description">Class for standalone JSObject objects</p>
<div class="details collapse"></div>
<a href="../classes/miniMVC.MM.html" class="more">« More »</a>
</div>
<a name="Model" id="Model"></a><div class="element ajax clickable class" href="../classes/miniMVC.Model.html"> <a name="Model" id="Model"></a><div class="element ajax clickable class" href="../classes/miniMVC.Model.html">
<h1>Model<a href="../classes/miniMVC.Model.html"></a> <h1>Model<a href="../classes/miniMVC.Model.html"></a>
</h1> </h1>
@ -112,13 +102,6 @@
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.Model.html" class="more">« More »</a> <a href="../classes/miniMVC.Model.html" class="more">« More »</a>
</div> </div>
<a name="Output" id="Output"></a><div class="element ajax clickable class" href="../classes/miniMVC.Output.html">
<h1>Output<a href="../classes/miniMVC.Output.html"></a>
</h1>
<p class="short_description">Class for displaying output and setting http headers</p>
<div class="details collapse"></div>
<a href="../classes/miniMVC.Output.html" class="more">« More »</a>
</div>
<a name="Page" id="Page"></a><div class="element ajax clickable class" href="../classes/miniMVC.Page.html"> <a name="Page" id="Page"></a><div class="element ajax clickable class" href="../classes/miniMVC.Page.html">
<h1>Page<a href="../classes/miniMVC.Page.html"></a> <h1>Page<a href="../classes/miniMVC.Page.html"></a>
</h1> </h1>
@ -126,20 +109,13 @@
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.Page.html" class="more">« More »</a> <a href="../classes/miniMVC.Page.html" class="more">« More »</a>
</div> </div>
<a name="miniMVC" id="miniMVC"></a><div class="element ajax clickable class" href="../classes/miniMVC.miniMVC.html">
<h1>miniMVC<a href="../classes/miniMVC.miniMVC.html"></a>
</h1>
<p class="short_description">Base class for the framework</p>
<div class="details collapse"></div>
<a href="../classes/miniMVC.miniMVC.html" class="more">« More »</a>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -67,26 +67,24 @@
<li> <li>
<a href="../packages/miniMVC.System.html" title="System"><i class="icon-folder-open"></i>System</a><ul class="nav nav-list nav-packages"></ul> <a href="../packages/miniMVC.System.html" title="System"><i class="icon-folder-open"></i>System</a><ul class="nav nav-list nav-packages"></ul>
</li> </li>
<li>
<a href="../packages/miniMVC.libraries.html" title="libraries"><i class="icon-folder-open"></i>libraries</a><ul class="nav nav-list nav-packages"></ul>
</li>
</ul> </ul>
</li> </li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-function"></i> Functions</li> <i class="icon-custom icon-function"></i> Functions</li>
<li class="function "><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="function "><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="function "><a href="#__construct" title="__construct :: Protected constructor for creating the one instance"><span class="description">Protected constructor for creating the one instance</span><pre>__construct</pre></a></li>
<li class="function "><a href="#__construct" title="__construct :: Constructor for creating the objects"><span class="description">Constructor for creating the objects</span><pre>__construct</pre></a></li>
<li class="function "><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="function "><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="function "><a href="#__toString" title="__toString :: Prints out the contents of the object when used as a string"><span class="description">Prints out the contents of the object when used as a string</span><pre>__toString</pre></a></li>
<li class="function "><a href="#_autoload" title="_autoload :: Function to autoload system libraries"><span class="description">Function to autoload system libraries</span><pre>_autoload</pre></a></li> <li class="function "><a href="#_autoload" title="_autoload :: Function to autoload system libraries"><span class="description">Function to autoload system libraries</span><pre>_autoload</pre></a></li>
<li class="function "><a href="#controller_methods" title="controller_methods :: Returns routable methods for the specified controller class"><span class="description">Returns routable methods for the specified controller class</span><pre>controller_methods</pre></a></li> <li class="function "><a href="#controller_methods" title="controller_methods :: Returns routable methods for the specified controller class"><span class="description">Returns routable methods for the specified controller class</span><pre>controller_methods</pre></a></li>
<li class="function "><a href="#do_include" title="do_include :: Array_map callback to load a folder of classes at once"><span class="description">Array_map callback to load a folder of classes at once</span><pre>do_include</pre></a></li> <li class="function "><a href="#do_include" title="do_include :: Array_map callback to load a folder of classes at once"><span class="description">Array_map callback to load a folder of classes at once</span><pre>do_include</pre></a></li>
<li class="function "><a href="#get_instance" title="get_instance :: Singleton getter function"><span class="description">Singleton getter function</span><pre>get_instance</pre></a></li> <li class="function "><a href="#get_last_segment" title="get_last_segment :: Returns the last segment of the current url"><span class="description">Returns the last segment of the current url</span><pre>get_last_segment</pre></a></li>
<li class="function "><a href="#get_segments" title="get_segments :: Gets an array of the segments of the current url"><span class="description">Gets an array of the segments of the current url</span><pre>get_segments</pre></a></li>
<li class="function "><a href="#init" title="init :: Load required classes for bootstraping"><span class="description">Load required classes for bootstraping</span><pre>init</pre></a></li> <li class="function "><a href="#init" title="init :: Load required classes for bootstraping"><span class="description">Load required classes for bootstraping</span><pre>init</pre></a></li>
<li class="function "><a href="#is_like_array" title="is_like_array :: Utility function to check if a variable is set, and is an array or object"><span class="description">Utility function to check if a variable is set, and is an array or object</span><pre>is_like_array</pre></a></li> <li class="function "><a href="#is_like_array" title="is_like_array :: Utility function to check if a variable is set, and is an array or object"><span class="description">Utility function to check if a variable is set, and is an array or object</span><pre>is_like_array</pre></a></li>
<li class="function "><a href="#on_error" title="on_error :: Custom error handler"><span class="description">Custom error handler</span><pre>on_error</pre></a></li> <li class="function "><a href="#on_error" title="on_error :: Custom error handler"><span class="description">Custom error handler</span><pre>on_error</pre></a></li>
<li class="function "><a href="#on_exception" title="on_exception :: Custom exception handlererror_get_last"><span class="description">Custom exception handlererror_get_last</span><pre>on_exception</pre></a></li> <li class="function "><a href="#on_exception" title="on_exception :: Custom exception handlererror_get_last"><span class="description">Custom exception handlererror_get_last</span><pre>on_exception</pre></a></li>
<li class="function "><a href="#route" title="route :: Calls the appropriate module/controller/function based on the url"><span class="description">Calls the appropriate module/controller/function based on the url</span><pre>route</pre></a></li> <li class="function "><a href="#route" title="route :: Calls the appropriate module/controller/function based on the url"><span class="description">Calls the appropriate module/controller/function based on the url</span><pre>route</pre></a></li>
<li class="function "><a href="#run" title="run :: Instantiate the appropriate controller"><span class="description">Instantiate the appropriate controller</span><pre>run</pre></a></li>
<li class="function "><a href="#show_404" title="show_404 :: General 404 function"><span class="description">General 404 function</span><pre>show_404</pre></a></li> <li class="function "><a href="#show_404" title="show_404 :: General 404 function"><span class="description">General 404 function</span><pre>show_404</pre></a></li>
<li class="function "><a href="#show_error" title="show_error :: Fatal Error page function"><span class="description">Fatal Error page function</span><pre>show_error</pre></a></li> <li class="function "><a href="#show_error" title="show_error :: Fatal Error page function"><span class="description">Fatal Error page function</span><pre>show_error</pre></a></li>
<li class="function "><a href="#shutdown" title="shutdown :: Function to run on script shutdown <li class="function "><a href="#shutdown" title="shutdown :: Function to run on script shutdown
@ -108,86 +106,6 @@ display them cleanly</span><pre>shutdown</pre></a></li>
<div class="package-indent"> <div class="package-indent">
<h3> <h3>
<i class="icon-custom icon-function"></i> Functions</h3> <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 $params) </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>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
</div></div>
</div>
<a name="__clone" id="__clone"></a><div class="element clickable function __clone" data-toggle="collapse" data-target=".__clone .collapse">
<h2>Magic function called when cloning an object</h2>
<pre>__clone() </pre>
<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 function __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Protected constructor for creating the one instance</h2>
<pre>__construct() </pre>
<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 function __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Constructor for creating the objects</h2>
<pre>__construct(array $members) : void</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 function __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(array $params) : \miniMVC\self</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>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\miniMVC\self</code></div>
</div></div>
</div>
<a name="__invoke" id="__invoke"></a><div class="element clickable function __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(array $args) </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>$args</h4>
<code>array</code>
</div>
</div></div>
</div>
<a name="__toString" id="__toString"></a><div class="element clickable function __toString" data-toggle="collapse" data-target=".__toString .collapse">
<h2>Prints out the contents of the object when used as a string</h2>
<pre>__toString() : 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>
<a name="_autoload" id="_autoload"></a><div class="element clickable function _autoload" data-toggle="collapse" data-target="._autoload .collapse"> <a name="_autoload" id="_autoload"></a><div class="element clickable function _autoload" data-toggle="collapse" data-target="._autoload .collapse">
<h2>Function to autoload system libraries</h2> <h2>Function to autoload system libraries</h2>
<pre>_autoload($name) </pre> <pre>_autoload($name) </pre>
@ -228,14 +146,24 @@ display them cleanly</span><pre>shutdown</pre></a></li>
</div> </div>
</div></div> </div></div>
</div> </div>
<a name="get_instance" id="get_instance"></a><div class="element clickable function get_instance" data-toggle="collapse" data-target=".get_instance .collapse"> <a name="get_last_segment" id="get_last_segment"></a><div class="element clickable function get_last_segment" data-toggle="collapse" data-target=".get_last_segment .collapse">
<h2>Singleton getter function</h2> <h2>Returns the last segment of the current url</h2>
<pre>get_instance() : \miniMVC\self</pre> <pre>get_last_segment() : string</pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<h3>Returns</h3> <h3>Returns</h3>
<div class="subelement response"><code>\miniMVC\self</code></div> <div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="get_segments" id="get_segments"></a><div class="element clickable function get_segments" data-toggle="collapse" data-target=".get_segments .collapse">
<h2>Gets an array of the segments of the current url</h2>
<pre>get_segments() : array</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>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="init" id="init"></a><div class="element clickable function init" data-toggle="collapse" data-target=".init .collapse"> <a name="init" id="init"></a><div class="element clickable function init" data-toggle="collapse" data-target=".init .collapse">
@ -305,6 +233,27 @@ display them cleanly</span><pre>shutdown</pre></a></li>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="run" id="run"></a><div class="element clickable function run" data-toggle="collapse" data-target=".run .collapse">
<h2>Instantiate the appropriate controller</h2>
<pre>run($module, $controller, $func, $args) </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>$module</h4>
<code></code><p>string</p></div>
<div class="subelement argument">
<h4>$controller</h4>
<code></code><p>string</p></div>
<div class="subelement argument">
<h4>$func</h4>
<code></code><p>string</p></div>
<div class="subelement argument">
<h4>$args</h4>
<code></code><p>array</p></div>
</div></div>
</div>
<a name="show_404" id="show_404"></a><div class="element clickable function show_404" data-toggle="collapse" data-target=".show_404 .collapse"> <a name="show_404" id="show_404"></a><div class="element clickable function show_404" data-toggle="collapse" data-target=".show_404 .collapse">
<h2>General 404 function</h2> <h2>General 404 function</h2>
<pre>show_404() : void</pre> <pre>show_404() : void</pre>
@ -419,13 +368,6 @@ display them cleanly</h2>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.DB.html" class="more">« More »</a> <a href="../classes/miniMVC.DB.html" class="more">« More »</a>
</div> </div>
<a name="MM" id="MM"></a><div class="element ajax clickable class" href="../classes/miniMVC.MM.html">
<h1>MM<a href="../classes/miniMVC.MM.html"></a>
</h1>
<p class="short_description">Class for standalone JSObject objects</p>
<div class="details collapse"></div>
<a href="../classes/miniMVC.MM.html" class="more">« More »</a>
</div>
<a name="Model" id="Model"></a><div class="element ajax clickable class" href="../classes/miniMVC.Model.html"> <a name="Model" id="Model"></a><div class="element ajax clickable class" href="../classes/miniMVC.Model.html">
<h1>Model<a href="../classes/miniMVC.Model.html"></a> <h1>Model<a href="../classes/miniMVC.Model.html"></a>
</h1> </h1>
@ -433,13 +375,6 @@ display them cleanly</h2>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.Model.html" class="more">« More »</a> <a href="../classes/miniMVC.Model.html" class="more">« More »</a>
</div> </div>
<a name="Output" id="Output"></a><div class="element ajax clickable class" href="../classes/miniMVC.Output.html">
<h1>Output<a href="../classes/miniMVC.Output.html"></a>
</h1>
<p class="short_description">Class for displaying output and setting http headers</p>
<div class="details collapse"></div>
<a href="../classes/miniMVC.Output.html" class="more">« More »</a>
</div>
<a name="Page" id="Page"></a><div class="element ajax clickable class" href="../classes/miniMVC.Page.html"> <a name="Page" id="Page"></a><div class="element ajax clickable class" href="../classes/miniMVC.Page.html">
<h1>Page<a href="../classes/miniMVC.Page.html"></a> <h1>Page<a href="../classes/miniMVC.Page.html"></a>
</h1> </h1>
@ -447,12 +382,23 @@ display them cleanly</h2>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.Page.html" class="more">« More »</a> <a href="../classes/miniMVC.Page.html" class="more">« More »</a>
</div> </div>
<a name="miniMVC" id="miniMVC"></a><div class="element ajax clickable class" href="../classes/miniMVC.miniMVC.html"> </div>
<h1>miniMVC<a href="../classes/miniMVC.miniMVC.html"></a> <ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
</li>
<li><a href="../packages/miniMVC.html">miniMVC</a></li>
<span class="divider">\</span><li class="active"><a href="../packages/miniMVC.libraries.html">libraries</a></li>
</ul>
<div class="package-indent">
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="Bcrypt" id="Bcrypt"></a><div class="element ajax clickable class" href="../classes/Bcrypt.html">
<h1>Bcrypt<a href="../classes/Bcrypt.html"></a>
</h1> </h1>
<p class="short_description">Base class for the framework</p> <p class="short_description">Class to simplify dealing with bcrypt for password handling</p>
<div class="details collapse"></div> <div class="details collapse"></div>
<a href="../classes/miniMVC.miniMVC.html" class="more">« More »</a> <a href="../classes/Bcrypt.html" class="more">« More »</a>
</div> </div>
</div> </div>
</div> </div>
@ -461,7 +407,7 @@ display them cleanly</h2>
<div class="row"><footer class="span12"> <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> 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> 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> </div>
</body> </body>
</html> </html>

View File

@ -0,0 +1,97 @@
<!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 » miniMVC\libraries</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">
<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-map-marker"></i> Packages</li>
<li>
<a href="../packages/miniMVC.libraries.html" title="libraries"><i class="icon-folder-open"></i>libraries</a><ul class="nav nav-list nav-packages"></ul>
</li>
<li class="nav-header">
<i class="icon-custom icon-class"></i> Classes</li>
<li><a href="#Bcrypt" title="Class to simplify dealing with bcrypt for password handling">Bcrypt</a></li>
</ul>
</div>
<div class="span8 package-contents">
<ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
</li>
<li><a href="../packages/miniMVC.html">miniMVC</a></li>
<span class="divider">\</span><li class="active"><a href="../packages/miniMVC.libraries.html">libraries</a></li>
</ul>
<div class="package-indent">
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
<a name="Bcrypt" id="Bcrypt"></a><div class="element ajax clickable class" href="../classes/Bcrypt.html">
<h1>Bcrypt<a href="../classes/Bcrypt.html"></a>
</h1>
<p class="short_description">Class to simplify dealing with bcrypt for password handling</p>
<div class="details collapse"></div>
<a href="../classes/Bcrypt.html" class="more">« More »</a>
</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:41-04:00.<br></footer></div>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012 * @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC * @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
@ -21,7 +21,7 @@
*/ */
namespace miniMVC; namespace miniMVC;
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// ! Autoloading // ! Autoloading
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
@ -38,26 +38,21 @@ function _autoload($name)
// strip off namespaces - they all go to the same folder // strip off namespaces - they all go to the same folder
$names = explode('\\', trim($name)); $names = explode('\\', trim($name));
$name = end($names); $name = end($names);
// Paths to load from // Paths to load from
$sys_path = MM_SYS_PATH . "core/{$name}.php"; $sys_path = MM_SYS_PATH . "core/{$name}.php";
$trait_path = MM_SYS_PATH . "core/traits/{$name}.php";
$lib_path = MM_SYS_PATH . "libraries/{$name}.php"; $lib_path = MM_SYS_PATH . "libraries/{$name}.php";
$class_path = MM_APP_PATH . "classes/{$name}.php"; $class_path = MM_APP_PATH . "classes/{$name}.php";
if (is_file($sys_path)) if (is_file($sys_path))
{ {
require_once($sys_path); require_once($sys_path);
} }
elseif (is_file($trait_path))
{
require_once($trait_path);
}
elseif (is_file($lib_path)) elseif (is_file($lib_path))
{ {
require_once($lib_path); require_once($lib_path);
} }
if (is_file($class_path)) if (is_file($class_path))
{ {
require_once($class_path); require_once($class_path);
@ -73,7 +68,7 @@ spl_autoload_register('miniMVC\_autoload');
/** /**
* Function to run on script shutdown * Function to run on script shutdown
* -used to catch most fatal errors, and * -used to catch most fatal errors, and
* display them cleanly * display them cleanly
* *
* @return void * @return void
@ -84,18 +79,18 @@ function shutdown()
$error = error_get_last(); $error = error_get_last();
// types of errors that are fatal // types of errors that are fatal
$fatal = [E_ERROR, E_PARSE, E_RECOVERABLE_ERROR]; $fatal = array(E_ERROR, E_PARSE, E_RECOVERABLE_ERROR);
// Display pretty error page // Display pretty error page
if (in_array($error['type'], $fatal)) if (in_array($error['type'], $fatal))
{ {
$file = str_replace(MM_BASE_PATH, "", $error['file']); $file = str_replace(MM_BASE_PATH, "", $error['file']);
$err_msg = "<h2>Fatal Error: </h2> $err_msg = "<h2>Fatal Error: </h2>
{$error['message']}<br /><br /> {$error['message']}<br /><br />
<strong>File:</strong> {$file}<br /><br /> <strong>File:</strong> {$file}<br /><br />
<strong>Line:</strong> {$error['line']}"; <strong>Line:</strong> {$error['line']}";
show_error($err_msg); show_error($err_msg);
} }
} }
@ -128,12 +123,12 @@ function on_exception($exception)
{ {
// This is passed to the error template // This is passed to the error template
$message = $exception->getMessage(); $message = $exception->getMessage();
// Contain the content for buffering // Contain the content for buffering
ob_start(); ob_start();
include(MM_APP_PATH . '/views/errors/error_php_exception.php'); include(MM_APP_PATH . '/views/errors/error_php_exception.php');
$buffer = ob_get_contents(); $buffer = ob_get_contents();
ob_end_clean(); ob_end_clean();
echo $buffer; echo $buffer;
@ -149,15 +144,15 @@ function on_exception($exception)
function show_404() function show_404()
{ {
@header('HTTP/1.1 404 Not Found', TRUE, 404); @header('HTTP/1.1 404 Not Found', TRUE, 404);
// Contain the content for buffering // Contain the content for buffering
ob_start(); ob_start();
// This is passed to the error template // This is passed to the error template
$message = '404 Not Found'; $message = '404 Not Found';
include(MM_APP_PATH . '/views/errors/error_404.php'); include(MM_APP_PATH . '/views/errors/error_404.php');
$buffer = ob_get_contents(); $buffer = ob_get_contents();
ob_end_clean(); ob_end_clean();
die($buffer); die($buffer);
@ -167,7 +162,7 @@ function show_404()
/** /**
* Fatal Error page function * Fatal Error page function
* *
* @param string $message * @param string $message
* @param int $status_code * @param int $status_code
*/ */
@ -180,9 +175,9 @@ function show_error($message, $status_code=null)
// Contain the content for buffering // Contain the content for buffering
ob_start(); ob_start();
include(MM_APP_PATH . '/views/errors/error_general.php'); include(MM_APP_PATH . '/views/errors/error_general.php');
$buffer = ob_get_contents(); $buffer = ob_get_contents();
ob_end_clean(); ob_end_clean();
die($buffer); die($buffer);
@ -237,14 +232,14 @@ function controller_methods($controller)
*/ */
function site_url($segment) function site_url($segment)
{ {
return $url = BASEURL . URL_INDEX_FILE . $segment; return $url = BASE_URL . URL_INDEX_FILE . $segment;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Prints out the contents of the object * Prints out the contents of the object
* *
* @param object/array $data * @param object/array $data
* @param string $method * @param string $method
* @return string * @return string
@ -252,7 +247,7 @@ function site_url($segment)
function to_string($data, $method='print_r') function to_string($data, $method='print_r')
{ {
$output = '<pre>'; $output = '<pre>';
if ($method == "var_dump") if ($method == "var_dump")
{ {
ob_start(); ob_start();
@ -266,7 +261,7 @@ function to_string($data, $method='print_r')
var_export($data); var_export($data);
$output .= ob_get_contents(); $output .= ob_get_contents();
ob_end_clean(); ob_end_clean();
} }
else else
{ {
$output .= print_r($data, TRUE); $output .= print_r($data, TRUE);
@ -303,22 +298,66 @@ if ( ! function_exists('do_include'))
function init() function init()
{ {
// Catch fatal errors, don't show them // Catch fatal errors, don't show them
error_reporting((-1) & ~(E_ERROR | E_PARSE)); if (function_exists('error_get_last'))
register_shutdown_function('miniMVC\shutdown'); {
register_shutdown_function('miniMVC\shutdown');
}
//Set error handlers //Set error handlers
set_error_handler('miniMVC\on_error'); set_error_handler('miniMVC\on_error');
set_exception_handler('miniMVC\on_exception'); set_exception_handler('miniMVC\on_exception');
// Load Database classes // Load Database classes
require_once(MM_SYS_PATH . 'db/autoload.php'); require_once(MM_SYS_PATH . 'db/autoload.php');
// Load the page class
$GLOBALS['page'] = new \miniMVC\Page();
// Map to the appropriate module/controller/function // Map to the appropriate module/controller/function
route(); route();
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/**
* Returns the last segment of the current url
*
* @return string
*/
function get_last_segment()
{
$array = get_segments();
return end($array);
}
// --------------------------------------------------------------------------
/**
* Gets an array of the segments of the current url
*
* @return array
*/
function get_segments()
{
$sn = $_SERVER['SCRIPT_NAME'];
$ru = $_SERVER['REQUEST_URI'];
// Get the equivalent to path info
$pi = (isset($_SERVER['PATH_INFO']))
? str_replace($sn, '', $ru)
: '/';
// Correct for being in a sub-directory
if (strlen($sn) > strlen($ru))
{
$pi = '/';
}
return explode('/', $pi);
}
// --------------------------------------------------------------------------
/** /**
* Calls the appropriate module/controller/function based on the url * Calls the appropriate module/controller/function based on the url
* *
@ -326,14 +365,12 @@ function init()
*/ */
function route() function route()
{ {
$sn = $_SERVER['SCRIPT_NAME'];
// Get the path info
$pi = $_SERVER['PATH_INFO'];
$ru = $_SERVER['REQUEST_URI']; $ru = $_SERVER['REQUEST_URI'];
$sn = $_SERVER['SCRIPT_NAME'];
// Get the equivalent to path info
$pi = (isset($_SERVER['PATH_INFO']))
? str_replace($sn, '', $ru)
: '/';
// Make sure the home page works when in a sub_directory // Make sure the home page works when in a sub_directory
if (strlen($sn) > strlen($ru)) if (strlen($sn) > strlen($ru))
{ {
@ -354,39 +391,41 @@ function route()
{ {
//Remove trailing slash and begining slash //Remove trailing slash and begining slash
$pi = trim($pi, '/'); $pi = trim($pi, '/');
$segments = explode("/", $pi);
// URL matches the route exactly? Cool, that was easy // URL matches the route exactly? Cool, that was easy
if (isset($routes[$pi])) if (isset($routes[$pi]))
{ {
list($module, $controller, $func) = explode("/", $routes[$pi]); list($module, $controller, $func) = explode("/", $routes[$pi]);
$route_set = TRUE; run($module, $controller, $func);
return;
} }
else else
{ {
$custom_routes = $routes; $custom_routes = $routes;
// Skip required routes // Skip required routes
unset($custom_routes['default_module']); unset($custom_routes['default_module']);
unset($custom_routes['default_controller']); unset($custom_routes['default_controller']);
unset($custom_routes['404_handler']); unset($custom_routes['404_handler']);
foreach($custom_routes as $uri => &$map) foreach($custom_routes as $uri => $map)
{ {
if (preg_match("`{$uri}`i", $pi)) if (preg_match("`{$uri}`i", $pi))
{ {
list($module, $controller, $func) = explode("/", $map); list($module, $controller, $func) = explode("/", $map);
$route_set = TRUE; run($module, $controller, $func);
break; return;
} }
} }
} }
// Doesn't match a predefined route? // Doesn't match a predefined route?
// Match on module/controller/method, module/controller, controller/method, or method // Match on module/controller/method, module/controller, controller/method, or method
if ( ! $route_set) if ( ! $route_set)
{ {
$num_segments = 0; $num_segments = 0;
if (strpos($pi, '/') === FALSE && ! empty($pi)) if (strpos($pi, '/') === FALSE && ! empty($pi))
{ {
$num_segments = 1; $num_segments = 1;
@ -396,7 +435,7 @@ function route()
$segments = explode('/', $pi); $segments = explode('/', $pi);
$num_segments = count($segments); $num_segments = count($segments);
} }
// Determine route based on uri segments // Determine route based on uri segments
if ($num_segments === 1) if ($num_segments === 1)
{ {
@ -404,8 +443,9 @@ function route()
} }
elseif ($num_segments === 2) elseif ($num_segments === 2)
{ {
list($module, $controller) = $segments; list($module, $controller) = $segments;
// If it's just controller/function // If it's just controller/function
if ($controller == 'index') if ($controller == 'index')
{ {
@ -413,34 +453,53 @@ function route()
$module = $routes['default_module']; $module = $routes['default_module'];
$func = 'index'; $func = 'index';
} }
} }
elseif ($num_segments >= 3) else
{ {
list($module, $controller, $func) = $segments; list($module, $controller, $func) = $segments;
} }
} }
} }
run($module, $controller, $func);
return;
}
// --------------------------------------------------------------------------
/**
* Instantiate the appropriate controller
*
* @param string
* @param string
* @param string
* @param array
*/
function run($module, $controller, $func, $args = array())
{
$path = MM_MOD_PATH . "{$module}/controllers/{$controller}.php"; $path = MM_MOD_PATH . "{$module}/controllers/{$controller}.php";
if (is_file($path)) if (is_file($path))
{ {
require_once($path); require_once($path);
// Get the list of valid methods for that controller // Get the list of valid methods for that controller
$methods = controller_methods($controller); $methods = controller_methods($controller);
if (in_array($func, $methods)) if (in_array($func, $methods))
{ {
// Define the name of the current module for file loading // Define the name of the current module for file loading
define('MM_MOD', $module); if ( ! defined('MM_MOD'))
{
define('MM_MOD', $module);
}
$class = new $controller(); $class = new $controller();
return call_user_func([&$class, $func]); return call_user_func_array(array(&$class, $func), $args);
} }
} }
// Function doesn't exist...404 // Function doesn't exist...404
show_404(); show_404();
} }

View File

@ -8,7 +8,7 @@
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012 * @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC * @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
@ -21,8 +21,8 @@ namespace miniMVC;
* @package miniMVC * @package miniMVC
* @subpackage System * @subpackage System
*/ */
class Controller extends miniMVC { class Controller {
/** /**
* Instance of Page class * Instance of Page class
* *
@ -37,45 +37,46 @@ class Controller extends miniMVC {
*/ */
public function __construct() public function __construct()
{ {
parent::__construct();
// Create the page object // Create the page object
$this->page = new Page($this); $this->page = $GLOBALS['page'];
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Function for loading a model into the current class * Function for loading a model into the current class
* *
* @param string $file * @param string $file
* @param array $args * @param array $args
* @return void * @return void
*/ */
public function load_model($file, $args=[]) public function load_model($file, $args=array())
{ {
$segments = explode('\\', $file);
$file_name = end($segments);
// The module is set via the router // The module is set via the router
$module = strtolower(MM_MOD); $module = strtolower(MM_MOD);
$path = MM_MOD_PATH . "{$module}/models/{$file}.php"; $path = MM_MOD_PATH . "{$module}/models/{$file_name}.php";
if (is_file($path)) if (is_file($path))
{ {
require_once($path); require_once($path);
} }
if ( ! empty($args)) if ( ! empty($args))
{ {
$this->$file = new $file($args); $this->$file_name = new $file($args);
} }
else else
{ {
$this->$file = new $file; $this->$file_name = new $file;
} }
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Function for loading a view * Function for loading a view
* *
@ -84,41 +85,9 @@ class Controller extends miniMVC {
* @param bool $return * @param bool $return
* @return mixed * @return mixed
*/ */
public function load_view($file, array $data=[], $return=FALSE) public function load_view($file, array $data=array(), $return=FALSE)
{ {
$path = ""; return $this->page->load_view($file, $data, $return);
// The module is set via the router
$module = strtolower(MM_MOD);
$path = MM_MOD_PATH . "{$module}/views/{$file}.php";
// If it's not a module, or doesn't exist in the module view folder
// look in the app view folder
if ( ! is_file($path))
{
$path = MM_APP_PATH . "views/{$file}.php";
}
// Contain the content for buffering
ob_start();
// Extract the data array
extract($data);
// Include the file
include($path);
$buffer = ob_get_contents();
ob_end_clean();
if ($return == TRUE)
{
return $buffer;
}
else
{
$this->page->append_output($buffer);
}
} }
} }

View File

@ -1,72 +0,0 @@
<?php
/**
* MiniMVC
*
* Convention-based micro-framework for PHP
*
* @package miniMVC
* @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
namespace miniMVC;
/**
* Class for standalone JSObject objects
*
* @package miniMVC
* @subpackage System
*/
class MM extends \ArrayObject {
use JSObject;
/**
* Create the ArrayObject/JSObject hybrid object
*
* @param array
*/
public function __construct($members = [])
{
parent::__construct($members);
// Add the passed parameters to the object
foreach ($members as $name => &$value)
{
$this->$name = $value;
}
}
// --------------------------------------------------------------------------
/**
* Allow calling of array methods on the object and
* dynamic methods
*
* @param string $name
* @param array $params
* @return mixed
*/
public function __call($name, $params = [])
{
// Allow array operations on the object
if (substr($name, 0, 6) === 'array_' && is_callable($name))
{
$args = array_merge($this->getArrayCopy(), $args);
return call_user_func_array($name, $args);
}
// Allow dynamic method calls
if (is_callable($this->$name))
{
//Call the dynamic function
return call_user_func_array($this->$name, $params);
}
}
}
// End of MM.php

View File

@ -8,7 +8,7 @@
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012 * @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC * @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
@ -21,7 +21,7 @@ namespace miniMVC;
* @package miniMVC * @package miniMVC
* @subpackage System * @subpackage System
*/ */
class Model extends miniMVC { class Model extends \ArrayObject {
/** /**
* Initialize the model class * Initialize the model class
@ -29,9 +29,9 @@ class Model extends miniMVC {
* @param array $args * @param array $args
* @return void * @return void
*/ */
public function __construct(array $args = []) public function __construct(array $args = array())
{ {
parent::__construct($args); parent::__construct($args, \ArrayObject::STD_PROP_LIST | \ArrayObject::ARRAY_AS_PROPS);
} }
} }

View File

@ -1,154 +0,0 @@
<?php
/**
* MiniMVC
*
* Convention-based micro-framework for PHP
*
* @package miniMVC
* @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
namespace miniMVC;
/**
* Class for displaying output and setting http headers
*
* @package miniMVC
* @subpackage System
*/
class Output extends MM {
/**
* Content for outputting
*
* @var string
*/
private $buffer;
/**
* HTTP headers to send
*
* @var array
*/
private $headers;
/**
* Initialize the output class
*
* @return void
*/
public function __construct()
{
$this->buffer = "";
$this->headers = [];
}
/**
* PHP magic method called when ending the script
* Used for outputing HTML
*
* @return void
*/
public function __destruct()
{
if ( ! empty($this->headers))
{
// Set headers
foreach($this->headers as $key => $val)
{
if ( ! isset($val))
{
@header($key);
}
else
{
@header("$key: $val");
}
}
}
if ( ! empty($this->buffer))
{
if (is_null(error_get_last()))
{
// Compression is good!
ob_start("ob_gzhandler");
}
else
{
ob_start();
}
echo $this->buffer;
ob_end_flush();
}
}
// --------------------------------------------------------------------------
/**
* Sets a header for later output
*
* @param string $key
* @param string $val
*/
public function set_header($key, $val)
{
$this->headers[$key] = $val;
}
// --------------------------------------------------------------------------
/**
* Adds text to the output buffer
*
* @param string $string
*/
public function append_output($string)
{
$this->buffer .= $string;
}
// --------------------------------------------------------------------------
/**
* Sets the output buffer
*
* @param string $string
*/
public function set_output($string)
{
$this->buffer = $string;
}
// --------------------------------------------------------------------------
/**
* Sends headers and then removes them
*/
public function flush_headers()
{
// Set headers
foreach ($this->headers as $key => &$val)
{
if ( ! isset($val))
{
@header($key);
}
else
{
@header("{$key}: {$val}");
}
}
// Empty headers
$this->headers = [];
}
}
// End of Output.php

View File

@ -8,9 +8,9 @@
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012 * @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC * @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
namespace miniMVC; namespace miniMVC;
@ -24,7 +24,7 @@ namespace miniMVC;
* @package miniMVC * @package miniMVC
* @subpackage System * @subpackage System
*/ */
class Page extends Output { class Page {
/** /**
* Meta tags * Meta tags
@ -32,70 +32,83 @@ class Page extends Output {
* @var string * @var string
*/ */
private $meta; private $meta;
/** /**
* JS tags for the header * JS tags for the header
* *
* @var string * @var string
*/ */
private $head_js; private $head_js;
/** /**
* JS tags for the footer * JS tags for the footer
* *
* @var string * @var string
*/ */
private $foot_js; private $foot_js;
/** /**
* CSS tags for the page * CSS tags for the page
* *
* @var string * @var string
*/ */
private $css; private $css;
/** /**
* Page title * Page title
* *
* @var string * @var string
*/ */
private $title; private $title;
/** /**
* Additional header tags * Additional header tags
* *
* @var string * @var string
*/ */
private $head_tags; private $head_tags;
/** /**
* Class(es) to apply to the main body tag * Class(es) to apply to the main body tag
* *
* @var string * @var string
*/ */
private $body_class; private $body_class;
/** /**
* Id to apply to the body tag * Id to apply to the body tag
* *
* @var string * @var string
*/ */
private $body_id; private $body_id;
/** /**
* Base tag * Base tag
* *
* @var string * @var string
*/ */
private $base; private $base;
/**
* Content for outputting
*
* @var string
*/
private $buffer;
/**
* HTTP headers to send
*
* @var array
*/
private $headers;
/** /**
* Set up the page class * Set up the page class
* *
* @param object
* @return void * @return void
*/ */
public function __construct(&$controller) public function __construct()
{ {
$this->meta = ""; $this->meta = "";
$this->head_js = ""; $this->head_js = "";
@ -106,22 +119,61 @@ class Page extends Output {
$this->body_class = ""; $this->body_class = "";
$this->body_id = ""; $this->body_id = "";
$this->base = ""; $this->base = "";
$this->buffer = "";
$this->mm = $controller; $this->headers = array();
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* call the parent destructor * PHP magic method called when ending the script
* Used for outputing HTML
*
* @return void
*/ */
public function __destruct() public function __destruct()
{ {
parent::__destruct(); if ( ! empty($this->headers))
{
// Set headers
foreach($this->headers as $key => $val)
{
if ( ! isset($val))
{
@header($key);
}
else
{
@header("$key: $val");
}
}
}
if ( ! empty($this->buffer))
{
// @todo Figure out how to adjust content compression for 5.4.4
ob_start();
echo $this->buffer;
// Check if a buffer exists
// so that it doesn't throw a notice
if (ob_get_level() > 0)
{
ob_end_flush();
}
}
else
{
echo 'No content';
}
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets server headers and doctype * Sets server headers and doctype
* *
@ -136,40 +188,40 @@ class Page extends Output {
{ {
$this->set_header("Cache-Control", "must-revalidate, public"); $this->set_header("Cache-Control", "must-revalidate, public");
$mime = ""; $mime = "";
//Variable for accept keyword //Variable for accept keyword
$accept = ( ! empty($_SERVER['HTTP_ACCEPT'])) ? $_SERVER['HTTP_ACCEPT'] : ""; $accept = ( ! empty($_SERVER['HTTP_ACCEPT'])) ? $_SERVER['HTTP_ACCEPT'] : "";
//Predefine doctype //Predefine doctype
$doctype_string = ($html5 == TRUE) ? '<!DOCTYPE html>' : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">'; $doctype_string = ($html5 == TRUE) ? '<!DOCTYPE html>' : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">';
//Predefine charset //Predefine charset
$charset = "UTF-8"; $charset = "UTF-8";
$mime = "text/html"; $mime = "text/html";
if ($html5 == FALSE) if ($html5 == FALSE)
{ {
$doctype_string = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">'; $doctype_string = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">';
} }
$doctype_string .= "<html lang='en'>"; $doctype_string .= "<html lang='en'>";
// finally, output the mime type and prolog type // finally, output the mime type and prolog type
$this->set_header("Content-Type", "{$mime};charset={$charset}"); $this->set_header("Content-Type", "{$mime};charset={$charset}");
$this->set_header("X-UA-Compatible", "chrome=1, IE=edge"); $this->set_header("X-UA-Compatible", "chrome=1, IE=edge");
$this->set_output($doctype_string); $this->set_output($doctype_string);
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Set Meta * Set Meta
* *
* Sets meta tags, with codeigniter native meta tag helper * Sets meta tags, with codeigniter native meta tag helper
* *
* @param array $meta * @param array $meta
* @return Page * @return Page
*/ */
@ -178,9 +230,9 @@ class Page extends Output {
$this->meta .= $this->_meta($meta); $this->meta .= $this->_meta($meta);
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets minified javascript group in header * Sets minified javascript group in header
* *
@ -194,15 +246,15 @@ class Page extends Output {
{ {
return $this; return $this;
} }
$file = SCRIPT_PATH . $group; $file = SCRIPT_PATH . $group;
$file .= ($debug == TRUE) ? "/debug/1" : ""; $file .= ($debug == TRUE) ? "/debug/1" : "";
$this->head_js .= $this->script_tag($file, FALSE); $this->head_js .= $this->script_tag($file, FALSE);
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets a minified css group * Sets a minified css group
* @param string $group * @param string $group
@ -210,18 +262,18 @@ class Page extends Output {
*/ */
public function set_css_group($group) public function set_css_group($group)
{ {
$link = [ $link = array(
'href' => STYLE_PATH . $group, 'href' => STYLE_PATH . $group,
'rel' => 'stylesheet', 'rel' => 'stylesheet',
'type' => 'text/css' 'type' => 'text/css'
]; );
$this->css .= $this->_link_tag($link); $this->css .= $this->_link_tag($link);
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets a minified javascript group for the page footer * Sets a minified javascript group for the page footer
* *
@ -236,9 +288,9 @@ class Page extends Output {
$this->foot_js .= $this->script_tag($file, FALSE); $this->foot_js .= $this->script_tag($file, FALSE);
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets html title string * Sets html title string
* *
@ -248,14 +300,14 @@ class Page extends Output {
public function set_title($title = "") public function set_title($title = "")
{ {
$title = ($title == "") ? DEFAULT_TITLE : $title; $title = ($title == "") ? DEFAULT_TITLE : $title;
$this->title = $title; $this->title = $title;
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets custom body class * Sets custom body class
* *
@ -267,9 +319,9 @@ class Page extends Output {
$this->body_class = $class; $this->body_class = $class;
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets custom body id * Sets custom body id
* *
@ -281,9 +333,9 @@ class Page extends Output {
$this->body_id = $id; $this->body_id = $id;
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets custom base href * Sets custom base href
* *
@ -295,9 +347,9 @@ class Page extends Output {
$this->base = $href; $this->base = $href;
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets custom css tags * Sets custom css tags
* *
@ -310,24 +362,24 @@ class Page extends Output {
{ {
$path = CONTENT_DOMAIN; $path = CONTENT_DOMAIN;
$css_file = "{$path}/css/{$name}.css"; $css_file = "{$path}/css/{$name}.css";
if ($domain == FALSE) if ($domain == FALSE)
{ {
$css_file = $name; $css_file = $name;
} }
$this->css_tags .= $this->_link_tag([ $this->css_tags .= $this->_link_tag(array(
'rel' => 'stylesheet', 'rel' => 'stylesheet',
'type' => 'text/css', 'type' => 'text/css',
'media' => $media, 'media' => $media,
'href' => $css_file, 'href' => $css_file,
]); ));
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets a custom tag in the header * Sets a custom tag in the header
* *
@ -339,9 +391,9 @@ class Page extends Output {
$this->head_tags .= $tag; $this->head_tags .= $tag;
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Sets custom page header * Sets custom page header
* *
@ -350,18 +402,18 @@ class Page extends Output {
*/ */
public function build_header($html5 = TRUE) public function build_header($html5 = TRUE)
{ {
$data = []; $data = array();
//Set Meta Tags //Set Meta Tags
$this->meta = ($html5 == TRUE) $this->meta = ($html5 == TRUE)
? '<meta charset="utf-8" />'. $this->meta ? '<meta charset="utf-8" />'. $this->meta
: $this->_meta([ : $this->_meta(array(
'http-equiv' => 'Content-Type', 'http-equiv' => 'Content-Type',
'content' => 'text/html; charset=utf-8', 'content' => 'text/html; charset=utf-8',
]) . $this->meta; )) . $this->meta;
$data['meta'] = $this->meta; $data['meta'] = $this->meta;
//Set CSS //Set CSS
if ($this->css !== "") if ($this->css !== "")
{ {
@ -373,50 +425,50 @@ class Page extends Output {
$this->set_css_group(DEFAULT_CSS_GROUP); $this->set_css_group(DEFAULT_CSS_GROUP);
$data['css'] = $this->css; $data['css'] = $this->css;
} }
//Set head javascript //Set head javascript
$data['head_js'] = ( ! empty($this->head_js)) ? $this->head_js : ""; $data['head_js'] = ( ! empty($this->head_js)) ? $this->head_js : "";
//Set Page Title //Set Page Title
$data['title'] = ($this->title !== '') ? $this->title : DEFAULT_TITLE; $data['title'] = ($this->title !== '') ? $this->title : DEFAULT_TITLE;
//Set Body Class //Set Body Class
$data['body_class'] = $this->body_class; $data['body_class'] = $this->body_class;
//Set Body Id //Set Body Id
$data['body_id'] = $this->body_id; $data['body_id'] = $this->body_id;
//Set Base HREF //Set Base HREF
$data['base'] = $this->base; $data['base'] = $this->base;
//Set individual head tags //Set individual head tags
$data['head_tags'] = $this->head_tags; $data['head_tags'] = $this->head_tags;
//Set Server Headers and Doctype //Set Server Headers and Doctype
$this->_headers($html5); $this->_headers($html5);
//Output Header //Output Header
$this->mm->load_view('header', $data); $this->load_view('header', $data);
return $this; return $this;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Builds common footer with any additional js * Builds common footer with any additional js
*/ */
public function build_footer() public function build_footer()
{ {
$data = []; $data = array();
$data['foot_js'] = ($this->foot_js != "") ? $this->foot_js : ''; $data['foot_js'] = ($this->foot_js != "") ? $this->foot_js : '';
$this->mm->load_view('footer', $data); $this->load_view('footer', $data);
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Script Tag * Script Tag
* *
@ -430,19 +482,19 @@ class Page extends Output {
{ {
$path = CONTENT_DOMAIN; $path = CONTENT_DOMAIN;
$js_file = "{$path}/js/{$js}.js"; $js_file = "{$path}/js/{$js}.js";
if ($domain == FALSE) if ($domain == FALSE)
{ {
$js_file = $js; $js_file = $js;
} }
$tag = '<script src="' . $js_file . '"></script>'; $tag = '<script src="' . $js_file . '"></script>';
return $tag; return $tag;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Set Message * Set Message
* *
@ -456,26 +508,26 @@ class Page extends Output {
{ {
$data['stat_class'] = $type; $data['stat_class'] = $type;
$data['message'] = $message; $data['message'] = $message;
return $this->mm->load_view('message', $data, $return); return $this->load_view('message', $data, $return);
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Redirect 303 * Redirect 303
* *
* Shortcut function for 303 redirect * Shortcut function for 303 redirect
* @param string $url * @param string $url
*/ */
function redirect_303($url) public function redirect_303($url)
{ {
$this->set_header("HTTP/1.1 303 See Other"); $this->set_header("HTTP/1.1 303 See Other");
$this->set_header("Location:" . $url); $this->set_header("Location:" . $url);
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Render * Render
* *
@ -483,30 +535,30 @@ class Page extends Output {
* @param string $view * @param string $view
* @param array $data * @param array $data
*/ */
function render($view, $data=[]) public function render($view, $data=array())
{ {
$this->build_header(); $this->build_header();
$this->mm->load_view($view, $data); $this->load_view($view, $data);
$this->build_footer(); $this->build_footer();
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
* Output String * Output String
* *
* Similar to render(), this is a shortcut * Similar to render(), this is a shortcut
* to output a string in the body of the * to output a string in the body of the
* page. * page.
* @param string $string * @param string $string
*/ */
function output_string($string) public function output_string($string)
{ {
$this->build_header(); $this->build_header();
$this->append_output($string); $this->append_output($string);
$this->build_footer(); $this->build_footer();
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
@ -518,17 +570,17 @@ class Page extends Output {
private function _meta($params) private function _meta($params)
{ {
$string = "<meta "; $string = "<meta ";
foreach ($params as $k => &$v) foreach ($params as $k => &$v)
{ {
$string .= $k.'="'.$v.'" '; $string .= $k.'="'.$v.'" ';
} }
$string .= " />"; $string .= " />";
return $string; return $string;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
@ -536,20 +588,128 @@ class Page extends Output {
* *
* @param array $params * @param array $params
* @return string * @return string
*/ */
private function _link_tag($params) private function _link_tag($params)
{ {
$string = "<link "; $string = "<link ";
foreach ($params as $k => &$v) foreach ($params as $k => &$v)
{ {
$string .= $k . '="'.$v.'" '; $string .= $k . '="'.$v.'" ';
} }
$string .= "/>"; $string .= "/>";
return $string; return $string;
} }
// --------------------------------------------------------------------------
/**
* Function for loading a view
*
* @param string $file
* @param array $data
* @param bool $return
* @return mixed
*/
public function load_view($file, array $data=array(), $return=FALSE)
{
$path = "";
// The module is set via the router
$module = strtolower(MM_MOD);
$path = MM_MOD_PATH . "{$module}/views/{$file}.php";
// If it's not a module, or doesn't exist in the module view folder
// look in the app view folder
if ( ! is_file($path))
{
$path = MM_APP_PATH . "views/{$file}.php";
}
// Contain the content for buffering
ob_start();
// Extract the data array
extract($data);
// Include the file
include($path);
$buffer = ob_get_contents();
ob_end_clean();
if ($return == TRUE)
{
return $buffer;
}
else
{
$this->append_output($buffer);
}
}
// --------------------------------------------------------------------------
/**
* Sets a header for later output
*
* @param string $key
* @param string $val
*/
public function set_header($key, $val)
{
$this->headers[$key] = $val;
}
// --------------------------------------------------------------------------
/**
* Adds text to the output buffer
*
* @param string $string
*/
public function append_output($string)
{
$this->buffer .= $string;
}
// --------------------------------------------------------------------------
/**
* Sets the output buffer
*
* @param string $string
*/
public function set_output($string)
{
$this->buffer = $string;
}
// --------------------------------------------------------------------------
/**
* Sends headers and then removes them
*/
public function flush_headers()
{
// Set headers
foreach ($this->headers as $key => &$val)
{
if ( ! isset($val))
{
@header($key);
}
else
{
@header("{$key}: {$val}");
}
}
// Empty headers
$this->headers = array();
}
} }
// End of page.php // End of page.php

View File

@ -23,14 +23,14 @@ namespace miniMVC;
*/ */
class DB extends \Query_Builder { class DB extends \Query_Builder {
use Generic;
/** /**
* DB connection instances * DB connection instances
* *
* @var array * @var array
*/ */
private static $instance = []; private static $instance = array();
// --------------------------------------------------------------------------
/** /**
* Indexed singleton method * Indexed singleton method
@ -39,7 +39,7 @@ class DB extends \Query_Builder {
* @param array $options * @param array $options
* @return DB * @return DB
*/ */
public static function &get_instance($dbname="default", array $options=[]) public static function &get_instance($dbname="default", array $options=array())
{ {
if ( ! isset(self::$instance[$dbname])) if ( ! isset(self::$instance[$dbname]))
{ {
@ -71,7 +71,7 @@ class DB extends \Query_Builder {
*/ */
public function get_last_error() public function get_last_error()
{ {
$error = []; $error = array();
if (isset($this->statement)) if (isset($this->statement))
{ {

View File

@ -1,72 +0,0 @@
<?php
/**
* MiniMVC
*
* Convention-based micro-framework for PHP
*
* @package miniMVC
* @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
namespace miniMVC;
/**
* Base class for the framework
*
* @package miniMVC
* @subpackage System
*/
class miniMVC extends MM {
use Singleton;
/**
* Constructor - Any classes loaded here become subclasses of miniMVC
*
* @param array $members
*/
public function __construct($members = [])
{
// Allow the class to be used like an array
parent::__construct($members);
}
// --------------------------------------------------------------------------
/**
* Convenience function to remove an object from the singleton
*
* @param string $name
*/
public function unload($name)
{
if (isset($this->$name))
{
unset($this->$name);
}
}
// --------------------------------------------------------------------------
/**
* Convenience function to load config files
*
* @param string $name
*/
public function load_config($name)
{
$path = MM_APP_PATH . "config/{$name}.php";
if (is_file($path))
{
require_once($path);
}
}
}
// End of miniMVC.php

View File

@ -1,87 +0,0 @@
<?php
/**
* MiniMVC
*
* Convention-based micro-framework for PHP
*
* @package miniMVC
* @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
namespace miniMVC;
/**
* Simple Trait to include most useful default methods
*
* @package miniMVC
* @subpackage System
*/
trait Generic {
/**
* 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] : [];
if (empty($data))
{
$data =& $this;
}
$output = '<pre>';
if ($method == "var_dump")
{
ob_start();
var_dump($data);
$output .= ob_get_contents();
ob_end_clean();
}
elseif ($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 '';
}
}
// --------------------------------------------------------------------------
/**
* PHP magic method that is called when an object is treated as a function
*
* @param array $args
*/
public static function __invoke($args = [])
{
$class = __CLASS__;
return new $class($args);
}
}
// End of Generic.php

View File

@ -1,61 +0,0 @@
<?php
/**
* MiniMVC
*
* Convention-based micro-framework for PHP
*
* @package miniMVC
* @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
namespace miniMVC;
/**
* Parent trait of base class, contains much of the magic
*
* @package miniMVC
* @subpackage System
*/
trait JSObject {
use Generic;
/**
* Constructor for creating the objects
*
* @param array $members
* @return void
*/
public function __construct($members = [])
{
// Add the passed parameters to the object
foreach($members as $name => &$value)
{
$this->$name = $value;
}
}
// --------------------------------------------------------------------------
/**
* PHP magic method to facilitate dynamic methods
*
* @param string $name
* @param array $params
*/
public function __call($name, $params = [])
{
if (is_callable($this->$name))
{
//Call the dynamic function
return call_user_func_array($this->$name, $params);
}
}
}
// End of JSObject.php

View File

@ -1,81 +0,0 @@
<?php
/**
* MiniMVC
*
* Convention-based micro-framework for PHP
*
* @package miniMVC
* @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
namespace miniMVC;
/**
* Singleton pattern
*
* @package miniMVC
* @subpackage System
*/
trait Singleton {
use Generic;
/**
* Singleton object
*
* @var self
*/
protected static $instance;
/**
* Protected constructor for creating the one instance
*/
abstract protected function __construct();
/**
* PHP magic method that is called when an object is treated as a function
*
* @param array $params
* @return self
*/
public static function __invoke($params = [])
{
return self::get_instance($params);
}
// --------------------------------------------------------------------------
/**
* Singleton getter function
*
* @return self
*/
public static function &get_instance()
{
if ( ! isset(self::$instance))
{
$class = __CLASS__;
self::$instance = new $class;
}
return self::$instance;
}
// --------------------------------------------------------------------------
/**
* Magic function called when cloning an object
*/
public function __clone()
{
trigger_error('Clone is not allowed.', E_USER_ERROR);
}
}
// End of Singleton.php

201
sys/libraries/Bcrypt.php Normal file
View File

@ -0,0 +1,201 @@
<?php
/**
* MiniMVC
*
* Convention-based micro-framework for PHP
*
* @package miniMVC
* @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
/**
* Class to simplify dealing with bcrypt for password handling
*
* @see
* @package miniMVC
* @subpackage libraries
*/
class Bcrypt {
/**
* Number of times to recurse
*
* @var int
*/
private $rounds;
/**
* Stores random seed
*
* @var mixed
*/
private $randomState;
/**
* Create a new Bcrypt object
*
* @param int $rounds
*/
public function __construct($rounds = 12)
{
if (CRYPT_BLOWFISH != 1)
{
throw new Exception("bcrypt not supported in this installation. See http://php.net/crypt");
}
$this->rounds = $rounds;
}
// --------------------------------------------------------------------------
/**
* Returns a has for the input string
*
* @param string
* @return string
*/
public function hash($input)
{
$hash = crypt($input, $this->getSalt());
if (strlen($hash) > 13)
return $hash;
return false;
}
// --------------------------------------------------------------------------
/**
* Check if a password hash is valid
*
* @param string
* @param string
* @return bool
*/
public function verify($input, $existingHash)
{
$hash = crypt($input, $existingHash);
return $hash === $existingHash;
}
// --------------------------------------------------------------------------
/**
* Private function to generate the random salt
*
* @return string
*/
private function getSalt()
{
$salt = sprintf('$2a$%02d$', $this->rounds);
$bytes = $this->getRandomBytes(16);
$salt .= $this->encodeBytes($bytes);
return $salt;
}
// --------------------------------------------------------------------------
/**
* Private method to generate random characters for salt
*
* @param int
* @return string
*/
private function getRandomBytes($count)
{
$bytes = '';
if (function_exists('openssl_random_pseudo_bytes') && (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN')) // OpenSSL slow on Win
{
$bytes = openssl_random_pseudo_bytes($count);
}
if ($bytes === '' && is_readable('/dev/urandom') && ($hRand = @fopen('/dev/urandom', 'rb')) !== FALSE)
{
$bytes = fread($hRand, $count);
fclose($hRand);
}
if (strlen($bytes) < $count)
{
$bytes = '';
if ($this->randomState === null)
{
$this->randomState = microtime();
if (function_exists('getmypid'))
{
$this->randomState .= getmypid();
}
}
for ($i = 0; $i < $count; $i += 16)
{
$this->randomState = md5(microtime() . $this->randomState);
if (PHP_VERSION >= '5')
{
$bytes .= md5($this->randomState, true);
}
else
{
$bytes .= pack('H*', md5($this->randomState));
}
}
$bytes = substr($bytes, 0, $count);
}
return $bytes;
}
// --------------------------------------------------------------------------
/**
* Further randomizes salt?
*
* @param string
* @return string
*/
private function encodeBytes($input)
{
// The following is code from the PHP Password Hashing Framework
$itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
$output = '';
$i = 0;
do
{
$c1 = ord($input[$i++]);
$output .= $itoa64[$c1 >> 2];
$c1 = ($c1 & 0x03) << 4;
if ($i >= 16)
{
$output .= $itoa64[$c1];
break;
}
$c2 = ord($input[$i++]);
$c1 |= $c2 >> 4;
$output .= $itoa64[$c1];
$c1 = ($c2 & 0x0f) << 2;
$c2 = ord($input[$i++]);
$c1 |= $c2 >> 6;
$output .= $itoa64[$c1];
$output .= $itoa64[$c2 & 0x3f];
} while (1);
return $output;
}
}

View File

@ -8,7 +8,7 @@
* @author Timothy J. Warren * @author Timothy J. Warren
* @copyright Copyright (c) 2011 - 2012 * @copyright Copyright (c) 2011 - 2012
* @link https://github.com/aviat4ion/miniMVC * @link https://github.com/aviat4ion/miniMVC
* @license http://philsturgeon.co.uk/code/dbad-license * @license http://philsturgeon.co.uk/code/dbad-license
*/ */
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
@ -23,33 +23,32 @@ namespace miniMVC;
*/ */
class Session { class Session {
// Combine traits for more dynamic behavior
// but use Singleton for __invoke, so calling
// that method does not create a new instance
use JSObject, Singleton
{
Singleton::__invoke insteadof JSObject;
}
/** /**
* Reference to session superglobal * Reference to session superglobal
* *
* @var array * @var array
*/ */
protected $sess = []; protected $sess = array();
/**
* Reference to current instance
*
* @var Session
*/
protected static $instance;
/** /**
* Start a session * Start a session
*/ */
protected function __construct() protected function __construct()
{ {
session_start(); session_start();
// Save a reference to the session for later access // Save a reference to the session for later access
$_SESSION['MM_SESSION'] = (isset($_SESSION['MM_SESSION']) ?: []; $_SESSION['MM_SESSION'] = (isset($_SESSION['MM_SESSION'])) ?: array();
$this->sess =& $_SESSION['MM_SESSION']; $this->sess =& $_SESSION['MM_SESSION'];
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
@ -58,12 +57,12 @@ class Session {
* @param string $key * @param string $key
* @param mixed $val * @param mixed $val
* @return void * @return void
*/ */
public function __set($key, $val) public function __set($key, $val)
{ {
$this->sess[$key] = $val; $this->sess[$key] = $val;
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
@ -76,7 +75,7 @@ class Session {
{ {
return $this->sess[$key]; return $this->sess[$key];
} }
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/** /**
@ -88,6 +87,35 @@ class Session {
{ {
sess_destroy(); sess_destroy();
} }
// --------------------------------------------------------------------------
/**
* Singleton getter function
*
* @return self
*/
public static function &get_instance()
{
if ( ! isset(self::$instance))
{
$class = __CLASS__;
self::$instance = new $class;
}
return self::$instance;
}
// --------------------------------------------------------------------------
/**
* Magic function called when cloning an object
*/
public function __clone()
{
trigger_error('Clone is not allowed.', E_USER_ERROR);
}
} }
// End of session.php // End of session.php

View File

@ -1,37 +0,0 @@
<?php
/**
* Test Class for JSObject class
*/
class MMTest extends UnitTestCase {
function __construct()
{
parent::__construct('MM Class Tests');
}
function setUp()
{
$this->mm = new miniMVC\MM([
'foo' => 54,
'bar' => 'baz',
]);
}
function tearDown()
{
unset($this->mm);
}
function testToStringDevel()
{
// __toString produces same output as print_r by default
$this->assertIdentical($this->mm->__toString(), '<pre>'.print_r($this->mm, TRUE).'</pre>');
}
function testMMIsA()
{
$this->assertIsA($this->mm, 'ArrayObject');
}
}

View File

@ -13,8 +13,8 @@ class commonTest extends UnitTestCase {
function setUp() function setUp()
{ {
$this->empty = array(); $this->empty = array();
$this->object = new miniMVC\MM(); $this->object = new stdClass();
$this->array_like = new miniMVC\MM(['foo' => 'bar']); $this->array_like = new stdClass(array('foo' => 'bar'));
} }
function tearDown() function tearDown()

View File

@ -22,6 +22,4 @@ require_once(MM_SYS_PATH . 'common.php');
//Include test files //Include test files
require_once('commonTest.php'); require_once('commonTest.php');
require_once('MMTest.php');
require_once('miniMVCTest.php');

View File

@ -1,50 +0,0 @@
<?php
/**
* Test class for miniMVC class
*/
class miniMVCTest extends UnitTestCase {
function __construct()
{
parent::__construct('miniMVC Class Tests');
}
function setUp()
{
$this->mm = miniMVC\miniMVC::get_instance();
}
function tearDown()
{
unset($this->mm);
}
function testNoClone()
{
// Expect an error trying to clone the miniMVC object
$this->expectError("Clone is not allowed.");
$mm2 = clone $this->mm;
}
function testReferences()
{
// miniMVC::get_instance returns reference to latest miniMVC object
$this->assertReference($this->mm, miniMVC\miniMVC::get_instance());
// miniMVC extends MM, right?
$this->assertIsA($this->mm, 'miniMVC\MM');
}
function testInvoke()
{
// Invoke function should return the same reference than miniMVC::get_instance() does
$mm = $this->mm;
$this->assertIdentical($mm(), miniMVC\miniMVC::get_instance());
$this->assertIdentical($this->mm->__invoke(), miniMVC\miniMVC::get_instance());
}
}