Lots of fixes

This commit is contained in:
Timothy Warren 2012-05-01 16:39:14 -04:00
parent a2fa2d917f
commit 497c7a769f
52 changed files with 166 additions and 351 deletions

View File

@ -58,10 +58,7 @@
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#__call" title="__call :: Override __call in trait to call __call in Query Builder...lol"><span class="description">Override __call in trait to call __call in Query Builder...lol</span><pre>__call()</pre></a></li>
<li class="method public "><a href="#__callStatic" title="__callStatic :: PHP magic methods to call non-static methods statically"><span class="description">PHP magic methods to call non-static methods statically</span><pre>__callStatic()</pre></a></li>
<li class="method public "><a href="#__construct" title="__construct :: Constructor to override PDO constructor - Quercus doesn't seem to override
the parent constructor unless the arguments match."><span class="description">Constructor to override PDO constructor - Quercus doesn't seem to override
the parent constructor unless the arguments match.</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#__construct" title="__construct :: Constructor to override JSObject trait"><span class="description">Constructor to override JSObject trait</span><pre>__construct()</pre></a></li>
<li class="method public inherited"><a href="#count_all" title="count_all :: Retreive the number of rows in the selected table"><span class="description">Retreive the number of rows in the selected table</span><pre>count_all()</pre></a></li>
<li class="method public inherited"><a href="#count_all_results" title="count_all_results :: Retrieve the number of results for the generated query - used
in place of the get() method"><span class="description">Retrieve the number of results for the generated query - used
@ -179,26 +176,8 @@ for complex select queries</span><pre>$query_map</pre></a></li>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="__callStatic" id="__callStatic"></a><div class="element clickable method public __callStatic" data-toggle="collapse" data-target=".__callStatic .collapse">
<h2>PHP magic methods to call non-static methods statically</h2>
<pre>__callStatic(string $name, 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>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$args</h4>
<code>array</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 to override PDO constructor - Quercus doesn't seem to override
the parent constructor unless the arguments match.</h2>
<h2>Constructor to override JSObject trait</h2>
<pre>__construct(array $params) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
@ -1604,7 +1583,7 @@ for complex select queries</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-01T15:21:50-04:00.<br></footer></div>
generated on 2012-05-01T16:39:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -108,9 +108,9 @@
</span><pre>unserialize()</pre></a></li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li>
<li class="property public "><a href="#%24module" title="$module :: Name of the current module"><span class="description">Name of the current module</span><pre>$module</pre></a></li>
<li class="property public inherited"><a href="#%24output" title="$output :: Reference to output class"><span class="description">Reference to output class</span><pre>$output</pre></a></li>
<li class="property public "><a href="#%24page" title="$page :: Instance of Page class"><span class="description">Instance of Page class</span><pre>$page</pre></a></li>
<li class="nav-header protected">» Protected</li>
<li class="property protected "><a href="#%24page" title="$page :: Instance of Page class"><span class="description">Instance of Page class</span><pre>$page</pre></a></li>
</ul>
</div>
<div class="span8">
@ -739,12 +739,6 @@
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24module" id="$module"> </a><div class="element clickable property public $module" data-toggle="collapse" data-target=".$module .collapse">
<h2>Name of the current module</h2>
<pre>$module : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24output" id="$output"> </a><div class="element clickable property public $output" data-toggle="collapse" data-target=".$output .collapse">
<h2>Reference to output class</h2>
<pre>$output : <a href="../classes/MM_Output.html">\MM_Output</a></pre>
@ -757,7 +751,7 @@
</tr></table>
</div></div>
</div>
<a name="%24page" id="$page"> </a><div class="element clickable property public $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">
<h2>Instance of Page class</h2>
<pre>$page : \Page</pre>
<div class="labels"></div>
@ -770,7 +764,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-01T15:21:50-04:00.<br></footer></div>
generated on 2012-05-01T16:39:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -110,9 +110,9 @@
</span><pre>unserialize()</pre></a></li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li>
<li class="property public inherited"><a href="#%24module" title="$module :: Name of the current module"><span class="description">Name of the current module</span><pre>$module</pre></a></li>
<li class="property public inherited"><a href="#%24output" title="$output :: Reference to output class"><span class="description">Reference to output class</span><pre>$output</pre></a></li>
<li class="property public inherited"><a href="#%24page" title="$page :: Instance of Page class"><span class="description">Instance of Page class</span><pre>$page</pre></a></li>
<li class="nav-header protected">» Protected</li>
<li class="property protected inherited"><a href="#%24page" title="$page :: Instance of Page class"><span class="description">Instance of Page class</span><pre>$page</pre></a></li>
</ul>
</div>
<div class="span8">
@ -869,18 +869,6 @@
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24module" id="$module"> </a><div class="element clickable property public $module" data-toggle="collapse" data-target=".$module .collapse">
<h2>Name of the current module</h2>
<pre>$module : string</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>\MM_Controller::$$module</td>
</tr></table>
</div></div>
</div>
<a name="%24output" id="$output"> </a><div class="element clickable property public $output" data-toggle="collapse" data-target=".$output .collapse">
<h2>Reference to output class</h2>
<pre>$output : <a href="../classes/MM_Output.html">\MM_Output</a></pre>
@ -899,7 +887,7 @@
</table>
</div></div>
</div>
<a name="%24page" id="$page"> </a><div class="element clickable property public $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">
<h2>Instance of Page class</h2>
<pre>$page : \Page</pre>
<div class="labels"><span class="label">Inherited</span></div>
@ -918,7 +906,7 @@
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-01T15:21:50-04:00.<br></footer></div>
generated on 2012-05-01T16:39:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -89,23 +89,6 @@
</div>
</div></div>
</div>
<a name="__callStatic" id="__callStatic"></a><div class="element clickable function __callStatic" data-toggle="collapse" data-target=".__callStatic .collapse">
<h2>PHP magic method to facilitate dynamically set static methods</h2>
<pre>__callStatic(string $name, 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>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$args</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>
@ -719,7 +702,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-01T15:21:50-04:00.<br></footer></div>
generated on 2012-05-01T16:39:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -70,7 +70,6 @@
<li class="nav-header">
<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="#__callStatic" title="__callStatic :: PHP magic method to facilitate dynamically set static methods"><span class="description">PHP magic method to facilitate dynamically set static methods</span><pre>__callStatic</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 :: 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>
@ -121,23 +120,6 @@ display them cleanly</span><pre>shutdown</pre></a></li>
</div>
</div></div>
</div>
<a name="__callStatic" id="__callStatic"></a><div class="element clickable function __callStatic" data-toggle="collapse" data-target=".__callStatic .collapse">
<h2>PHP magic method to facilitate dynamically set static methods</h2>
<pre>__callStatic(string $name, 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>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$args</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>
@ -492,7 +474,7 @@ display them cleanly</h2>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-01T15:21:50-04:00.<br></footer></div>
generated on 2012-05-01T16:39:04-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -5271,7 +5271,7 @@ the last query executed]]></description>
</method>
</class>
</file>
<file path="sys/common.php" hash="d476800c4191bdb1534bfce95bf43e6e" package="miniMVC">
<file path="sys/common.php" hash="008c78a048f4b237d520b48b01e42928" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
@ -5539,7 +5539,7 @@ display them cleanly]]></description>
</argument>
</function>
</file>
<file path="sys/db.php" hash="97953782de81d5f6a714ee2cf1756af5" package="miniMVC">
<file path="sys/db.php" hash="fb3bc02ed59a592ed41e961727a63c2a" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
@ -5597,88 +5597,63 @@ display them cleanly]]></description>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="71" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="70" package="">
<name>__construct</name>
<type>function</type>
<docblock line="65">
<description><![CDATA[Constructor to override PDO constructor - Quercus doesn't seem to override
the parent constructor unless the arguments match.]]></description>
<description><![CDATA[Constructor to override JSObject trait]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="65" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="71">
<argument line="70">
<name>$params</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="87" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="86" package="">
<name>__call</name>
<type>function</type>
<docblock line="80">
<docblock line="79">
<description><![CDATA[Override __call in trait to call __call in Query Builder...lol]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="80" name="param" description="" type="string" variable="$name">
<tag line="79" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="80" name="param" description="" type="array" variable="$params">
<tag line="79" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="80" name="return" description="" type="mixed">
<tag line="79" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="87">
<argument line="86">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="87">
<argument line="86">
<name>$params</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="100" package="">
<name>__callStatic</name>
<type>function</type>
<docblock line="94">
<description><![CDATA[PHP magic methods to call non-static methods statically]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="94" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="94" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="100">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="100">
<name>$args</name>
<default><![CDATA[]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
<name>get_last_error</name>
<type>function</type>
<docblock line="110">
<docblock line="93">
<description><![CDATA[Returns the last error from the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<tag line="93" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/miniMVC.php" hash="e3bb6fe5b3bda0a8f345f49331f2aa71" package="miniMVC">
<file path="sys/miniMVC.php" hash="77aa65adfc50df08bae0803ec82a3a7a" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
@ -5731,247 +5706,223 @@ the parent constructor unless the arguments match.]]></description>
<type/>
</argument>
</function>
<function namespace="default" line="66" package="miniMVC">
<name>__callStatic</name>
<type>function</type>
<docblock line="60">
<description><![CDATA[PHP magic method to facilitate dynamically set static methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="60" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="60" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="66">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="66">
<name>$args</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="81" package="miniMVC">
<function namespace="default" line="65" package="miniMVC">
<name>__toString</name>
<type>function</type>
<docblock line="76">
<docblock line="60">
<description><![CDATA[Prints out the contents of the object when used as a string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="76" name="return" description="" type="string">
<tag line="60" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</function>
<function namespace="default" line="160" package="miniMVC">
<function namespace="default" line="144" package="miniMVC">
<name>__invoke</name>
<type>function</type>
<docblock line="154">
<docblock line="138">
<description><![CDATA[PHP magic method that is called when an object is treated as a function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="154" name="param" description="" type="array" variable="$params">
<tag line="138" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="154" name="return" description="" type="\self">
<tag line="138" name="return" description="" type="\self">
<type by_reference="false">\self</type>
</tag>
</docblock>
<argument line="160">
<argument line="144">
<name>$params</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="172" package="miniMVC">
<function namespace="default" line="156" package="miniMVC">
<name>get_instance</name>
<type>function</type>
<docblock line="167">
<docblock line="151">
<description><![CDATA[Singleton getter function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="167" name="return" description="" type="\self">
<tag line="151" name="return" description="" type="\self">
<type by_reference="false">\self</type>
</tag>
</docblock>
</function>
<function namespace="default" line="189" package="miniMVC">
<function namespace="default" line="173" package="miniMVC">
<name>__clone</name>
<type>function</type>
<docblock line="186">
<docblock line="170">
<description><![CDATA[Magic function called when cloning an object]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</function>
<class final="false" abstract="false" namespace="default" line="205" package="miniMVC\System">
<class final="false" abstract="false" namespace="default" line="189" package="miniMVC\System">
<name>MM</name>
<full_name>\MM</full_name>
<extends>\ArrayObject</extends>
<docblock line="199">
<docblock line="183">
<description><![CDATA[Class for standalone JSObject objects]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="199" name="package" description="miniMVC"/>
<tag line="199" name="subpackage" description="System"/>
<tag line="183" name="package" description="miniMVC"/>
<tag line="183" name="subpackage" description="System"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="214" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="198" package="">
<name>__construct</name>
<type>function</type>
<docblock line="209">
<docblock line="193">
<description><![CDATA[Create the ArrayObject/JSObject hybrid object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="209" name="param" description="array" type="" variable="$members"/>
<tag line="193" name="param" description="array" type="" variable="$members"/>
</docblock>
<argument line="214">
<argument line="198">
<name>$members</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="235" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="219" package="">
<name>__call</name>
<type>function</type>
<docblock line="227">
<docblock line="211">
<description><![CDATA[Allow calling of array methods on the object and
dynamic methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="227" name="param" description="" type="string" variable="$name">
<tag line="211" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="227" name="param" description="" type="array" variable="$params">
<tag line="211" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="227" name="return" description="" type="mixed">
<tag line="211" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="235">
<argument line="219">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="235">
<argument line="219">
<name>$params</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
</class>
<class final="false" abstract="false" namespace="default" line="261" package="miniMVC\System">
<class final="false" abstract="false" namespace="default" line="245" package="miniMVC\System">
<name>miniMVC</name>
<full_name>\miniMVC</full_name>
<extends>\MM</extends>
<docblock line="255">
<docblock line="239">
<description><![CDATA[Base class for the framework]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="255" name="package" description="miniMVC"/>
<tag line="255" name="subpackage" description="System"/>
<tag line="239" name="package" description="miniMVC"/>
<tag line="239" name="subpackage" description="System"/>
</docblock>
<property final="false" static="false" visibility="public" line="270" package="Default">
<property final="false" static="false" visibility="public" line="254" package="Default">
<name>$output</name>
<default><![CDATA[]]></default>
<docblock line="265">
<docblock line="249">
<description><![CDATA[Reference to output class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="265" name="var" description="" type="\MM_Output">
<tag line="249" name="var" description="" type="\MM_Output">
<type by_reference="false">\MM_Output</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="277" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="261" package="">
<name>__construct</name>
<type>function</type>
<docblock line="272">
<docblock line="256">
<description><![CDATA[Constructor - Any classes loaded here become subclasses of miniMVC]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="272" name="param" description="" type="array" variable="$members">
<tag line="256" name="param" description="" type="array" variable="$members">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="277">
<argument line="261">
<name>$members</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="293" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="277" package="">
<name>__call</name>
<type>function</type>
<docblock line="287">
<docblock line="271">
<description><![CDATA[PHP magic method to facilitate dynamic methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="287" name="param" description="" type="string" variable="$name">
<tag line="271" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="287" name="param" description="" type="array" variable="$args">
<tag line="271" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="293">
<argument line="277">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="293">
<argument line="277">
<name>$args</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="328" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="312" package="">
<name>load_class</name>
<type>function</type>
<docblock line="321">
<docblock line="305">
<description><![CDATA[Method to load classes into the singleton]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="321" name="param" description="" type="string" variable="$name">
<tag line="305" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="321" name="param" description="" type="string" variable="$type">
<tag line="305" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="321" name="return" description="" type="void">
<tag line="305" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="328">
<argument line="312">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="328">
<argument line="312">
<name>$type</name>
<default><![CDATA['class']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="381" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="365" package="">
<name>unload</name>
<type>function</type>
<docblock line="376">
<docblock line="360">
<description><![CDATA[Convenience function to remove an object from the singleton]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="376" name="param" description="" type="string" variable="$name">
<tag line="360" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="381">
<argument line="365">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="396" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="380" package="">
<name>load_config</name>
<type>function</type>
<docblock line="391">
<docblock line="375">
<description><![CDATA[Convenience function to load config files]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="391" name="param" description="" type="string" variable="$name">
<tag line="375" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="396">
<argument line="380">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
@ -6546,7 +6497,7 @@ page.</p>]]></long-description>
</method>
</class>
</file>
<file path="sys/controller.php" hash="e98a9935e6857cf14b51e781487801d2" package="miniMVC">
<file path="sys/controller.php" hash="765cd2295836720906bdc3a4e3453626" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
@ -6566,7 +6517,7 @@ page.</p>]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="System"/>
</docblock>
<property final="false" static="false" visibility="public" line="29" package="Default">
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$page</name>
<default><![CDATA[]]></default>
<docblock line="24">
@ -6577,85 +6528,74 @@ page.</p>]]></long-description>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="36" package="Default">
<name>$module</name>
<default><![CDATA[]]></default>
<docblock line="31">
<description><![CDATA[Name of the current module]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="43" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="36" package="">
<name>__construct</name>
<type>function</type>
<docblock line="38">
<docblock line="31">
<description><![CDATA[Create the controller object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="38" name="return" description="" type="void">
<tag line="31" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="60" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="53" package="">
<name>load_model</name>
<type>function</type>
<docblock line="53">
<docblock line="46">
<description><![CDATA[Function for loading a model into the current class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="53" name="param" description="" type="string" variable="$file">
<tag line="46" name="param" description="" type="string" variable="$file">
<type by_reference="false">string</type>
</tag>
<tag line="53" name="param" description="" type="array" variable="$args">
<tag line="46" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
<tag line="53" name="return" description="" type="void">
<tag line="46" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="60">
<argument line="53">
<name>$file</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="60">
<argument line="53">
<name>$args</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="92" package="">
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
<name>load_view</name>
<type>function</type>
<docblock line="84">
<docblock line="77">
<description><![CDATA[Function for loading a view]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="84" name="param" description="" type="string" variable="$file">
<tag line="77" name="param" description="" type="string" variable="$file">
<type by_reference="false">string</type>
</tag>
<tag line="84" name="param" description="" type="array" variable="$data">
<tag line="77" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="84" name="param" description="" type="bool" variable="$return">
<tag line="77" name="param" description="" type="bool" variable="$return">
<type by_reference="false">bool</type>
</tag>
<tag line="84" name="return" description="" type="mixed">
<tag line="77" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="92">
<argument line="85">
<name>$file</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="92">
<argument line="85">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="92">
<argument line="85">
<name>$return</name>
<default><![CDATA[FALSE]]></default>
<type/>
@ -6663,7 +6603,7 @@ page.</p>]]></long-description>
</method>
</class>
</file>
<file path="sys/output.php" hash="b63f889fcb7a44a841068c5bde89dc95" package="Default">
<file path="sys/output.php" hash="1b07975fece55642c7db669a97fea88d" package="Default">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>

View File

@ -316,10 +316,10 @@ function route()
if(in_array($func, $methods))
{
$class = new $controller;
$class->module = $module;
define('MM_MOD', $module);
return call_user_func(array($class, $func));
$class = new $controller();
return call_user_func_array([&$class, $func], []);
}
// Function doesn't exist...404

View File

@ -26,14 +26,7 @@ class MM_Controller extends miniMVC {
*
* @var Page
*/
public $page;
/**
* Name of the current module
*
* @var string
*/
public $module;
protected $page;
/**
* Create the controller object
@ -60,15 +53,15 @@ class MM_Controller extends miniMVC {
public function load_model($file, $args=array())
{
// The module is set via the router
$module = strtolower($this->module);
$module = strtolower(MM_MOD);
$path = MM_MOD_PATH . "{$module}/models/{$file}.php";
if(is_file($path))
if (is_file($path))
{
require_once($path);
}
if( ! empty($args))
if ( ! empty($args))
{
$this->$file = new $file($args);
@ -93,18 +86,9 @@ class MM_Controller extends miniMVC {
{
$path = "";
// The module is the lower of the class name
// need to figure out a way to allow multiple controllers
// in one module
$module = strtolower(get_class($this));
$not_modules = array('miniMVC', 'page', 'db', 'output');
// If it's a module, look in the module view folder
if( ! in_array($module, $not_modules))
{
// 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
@ -133,7 +117,6 @@ class MM_Controller extends miniMVC {
{
$this->output->append_output($buffer);
}
}
}
// End of controller.php

View File

@ -63,8 +63,7 @@ class DB extends Query_Builder {
// --------------------------------------------------------------------------
/**
* Constructor to override PDO constructor - Quercus doesn't seem to override
* the parent constructor unless the arguments match.
* Constructor to override JSObject trait
*
* @param array $params
*/
@ -91,22 +90,6 @@ class DB extends Query_Builder {
// --------------------------------------------------------------------------
/**
* PHP magic methods to call non-static methods statically
*
* @param string $name
* @param array $args
*/
public static function __callStatic($name, array $args)
{
if(is_callable(parent::$name))
{
return call_user_func_array(parent::$name, $args);
}
}
// --------------------------------------------------------------------------
/**
* Returns the last error from the database
*

View File

@ -57,22 +57,6 @@ trait JSObject {
// --------------------------------------------------------------------------
/**
* PHP magic method to facilitate dynamically set static methods
*
* @param string $name
* @param array $args
*/
public static function __callStatic($name, $args)
{
if(is_callable(self::$name))
{
return call_user_func_array(self::$name, $args);
}
}
// --------------------------------------------------------------------------
/**
* Prints out the contents of the object when used as a string
*
@ -149,7 +133,7 @@ trait Singleton {
*
* @var self
*/
private static $instance;
protected static $instance;
/**
* PHP magic method that is called when an object is treated as a function
@ -402,7 +386,6 @@ class miniMVC extends MM {
require_once($path);
}
}
}
// End of miniMVC.php

View File

@ -131,7 +131,7 @@ class MM_Output extends MM {
}
else
{
@header("$key: $val");
@header("{$key}: {$val}");
}
}