Move procedural code from common.php to index.php
This commit is contained in:
parent
89f5194ce7
commit
aa1c024ca1
@ -1583,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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -760,7 +760,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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -724,7 +724,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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -144,7 +144,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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -902,7 +902,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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -842,7 +842,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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -611,7 +611,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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -107,7 +107,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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:24-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -96,17 +96,10 @@
|
||||
<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>
|
||||
<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>
|
||||
<h3>Parameters</h3>
|
||||
<div class="subelement argument">
|
||||
<h4>$members</h4>
|
||||
<code>array</code>
|
||||
</div>
|
||||
</div></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></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>
|
||||
@ -709,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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -89,7 +89,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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -74,7 +74,7 @@
|
||||
<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 :: Constructor for creating the objects"><span class="description">Constructor for creating the objects</span><pre>__construct</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="#__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="#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>
|
||||
@ -130,17 +130,10 @@ display them cleanly</span><pre>shutdown</pre></a></li>
|
||||
<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>
|
||||
<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>
|
||||
<h3>Parameters</h3>
|
||||
<div class="subelement argument">
|
||||
<h4>$members</h4>
|
||||
<code>array</code>
|
||||
</div>
|
||||
</div></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></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>
|
||||
@ -495,7 +488,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-03T16:07:23-04:00.<br></footer></div>
|
||||
generated on 2012-05-07T11:27:03-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5385,7 +5385,7 @@ the last query executed]]></description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/core/miniMVC.php" hash="c2a34e78f2511d0be859165251595469" package="miniMVC">
|
||||
<file path="sys/core/miniMVC.php" hash="0ced1a7dc14bcd3be5f686c3cfb9aab5" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -5395,24 +5395,13 @@ the last query executed]]></description>
|
||||
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
||||
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
||||
</docblock>
|
||||
<function namespace="default" line="32" package="miniMVC">
|
||||
<function namespace="default" line="143" package="miniMVC">
|
||||
<name>__construct</name>
|
||||
<type>function</type>
|
||||
<docblock line="26">
|
||||
<description><![CDATA[Constructor for creating the objects]]></description>
|
||||
<docblock line="140">
|
||||
<description><![CDATA[Protected constructor for creating the one instance]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="26" name="param" description="" type="array" variable="$members">
|
||||
<type by_reference="false">array</type>
|
||||
</tag>
|
||||
<tag line="26" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="32">
|
||||
<name>$members</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="default" line="49" package="miniMVC">
|
||||
<name>__call</name>
|
||||
@ -5449,204 +5438,204 @@ the last query executed]]></description>
|
||||
</tag>
|
||||
</docblock>
|
||||
</function>
|
||||
<function namespace="default" line="146" package="miniMVC">
|
||||
<function namespace="default" line="151" package="miniMVC">
|
||||
<name>__invoke</name>
|
||||
<type>function</type>
|
||||
<docblock line="140">
|
||||
<docblock line="145">
|
||||
<description><![CDATA[PHP magic method that is called when an object is treated as a function]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="140" name="param" description="" type="array" variable="$params">
|
||||
<tag line="145" name="param" description="" type="array" variable="$params">
|
||||
<type by_reference="false">array</type>
|
||||
</tag>
|
||||
<tag line="140" name="return" description="" type="\self">
|
||||
<tag line="145" name="return" description="" type="\self">
|
||||
<type by_reference="false">\self</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="146">
|
||||
<argument line="151">
|
||||
<name>$params</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="default" line="158" package="miniMVC">
|
||||
<function namespace="default" line="163" package="miniMVC">
|
||||
<name>get_instance</name>
|
||||
<type>function</type>
|
||||
<docblock line="153">
|
||||
<docblock line="158">
|
||||
<description><![CDATA[Singleton getter function]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="153" name="return" description="" type="\self">
|
||||
<tag line="158" name="return" description="" type="\self">
|
||||
<type by_reference="false">\self</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</function>
|
||||
<function namespace="default" line="175" package="miniMVC">
|
||||
<function namespace="default" line="180" package="miniMVC">
|
||||
<name>__clone</name>
|
||||
<type>function</type>
|
||||
<docblock line="172">
|
||||
<docblock line="177">
|
||||
<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="191" package="miniMVC\System">
|
||||
<class final="false" abstract="false" namespace="default" line="196" package="miniMVC\System">
|
||||
<name>MM</name>
|
||||
<full_name>\MM</full_name>
|
||||
<extends>\ArrayObject</extends>
|
||||
<docblock line="185">
|
||||
<docblock line="190">
|
||||
<description><![CDATA[Class for standalone JSObject objects]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="185" name="package" description="miniMVC"/>
|
||||
<tag line="185" name="subpackage" description="System"/>
|
||||
<tag line="190" name="package" description="miniMVC"/>
|
||||
<tag line="190" name="subpackage" description="System"/>
|
||||
</docblock>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="200" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="205" package="">
|
||||
<name>__construct</name>
|
||||
<type>function</type>
|
||||
<docblock line="195">
|
||||
<docblock line="200">
|
||||
<description><![CDATA[Create the ArrayObject/JSObject hybrid object]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="195" name="param" description="array" type="" variable="$members"/>
|
||||
<tag line="200" name="param" description="array" type="" variable="$members"/>
|
||||
</docblock>
|
||||
<argument line="200">
|
||||
<argument line="205">
|
||||
<name>$members</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="221" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="226" package="">
|
||||
<name>__call</name>
|
||||
<type>function</type>
|
||||
<docblock line="213">
|
||||
<docblock line="218">
|
||||
<description><![CDATA[Allow calling of array methods on the object and
|
||||
dynamic methods]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="213" name="param" description="" type="string" variable="$name">
|
||||
<tag line="218" name="param" description="" type="string" variable="$name">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="213" name="param" description="" type="array" variable="$params">
|
||||
<tag line="218" name="param" description="" type="array" variable="$params">
|
||||
<type by_reference="false">array</type>
|
||||
</tag>
|
||||
<tag line="213" name="return" description="" type="mixed">
|
||||
<tag line="218" name="return" description="" type="mixed">
|
||||
<type by_reference="false">mixed</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="221">
|
||||
<argument line="226">
|
||||
<name>$name</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
<argument line="221">
|
||||
<argument line="226">
|
||||
<name>$params</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
</class>
|
||||
<class final="false" abstract="false" namespace="default" line="247" package="miniMVC\System">
|
||||
<class final="false" abstract="false" namespace="default" line="252" package="miniMVC\System">
|
||||
<name>miniMVC</name>
|
||||
<full_name>\miniMVC</full_name>
|
||||
<extends>\MM</extends>
|
||||
<docblock line="241">
|
||||
<docblock line="246">
|
||||
<description><![CDATA[Base class for the framework]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="241" name="package" description="miniMVC"/>
|
||||
<tag line="241" name="subpackage" description="System"/>
|
||||
<tag line="246" name="package" description="miniMVC"/>
|
||||
<tag line="246" name="subpackage" description="System"/>
|
||||
</docblock>
|
||||
<property final="false" static="false" visibility="public" line="256" package="Default">
|
||||
<property final="false" static="false" visibility="public" line="261" package="Default">
|
||||
<name>$output</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<docblock line="251">
|
||||
<docblock line="256">
|
||||
<description><![CDATA[Reference to output class]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="251" name="var" description="" type="\MM_Output">
|
||||
<tag line="256" 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="263" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="268" package="">
|
||||
<name>__construct</name>
|
||||
<type>function</type>
|
||||
<docblock line="258">
|
||||
<docblock line="263">
|
||||
<description><![CDATA[Constructor - Any classes loaded here become subclasses of miniMVC]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="258" name="param" description="" type="array" variable="$members">
|
||||
<tag line="263" name="param" description="" type="array" variable="$members">
|
||||
<type by_reference="false">array</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="263">
|
||||
<argument line="268">
|
||||
<name>$members</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="279" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="284" package="">
|
||||
<name>__call</name>
|
||||
<type>function</type>
|
||||
<docblock line="273">
|
||||
<docblock line="278">
|
||||
<description><![CDATA[PHP magic method to facilitate dynamic methods]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="273" name="param" description="" type="string" variable="$name">
|
||||
<tag line="278" name="param" description="" type="string" variable="$name">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="273" name="param" description="" type="array" variable="$args">
|
||||
<tag line="278" name="param" description="" type="array" variable="$args">
|
||||
<type by_reference="false">array</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="279">
|
||||
<argument line="284">
|
||||
<name>$name</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
<argument line="279">
|
||||
<argument line="284">
|
||||
<name>$args</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="313" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="318" package="">
|
||||
<name>load_class</name>
|
||||
<type>function</type>
|
||||
<docblock line="307">
|
||||
<docblock line="312">
|
||||
<description><![CDATA[Method to load classes into the singleton]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="307" name="param" description="" type="string" variable="$name">
|
||||
<tag line="312" name="param" description="" type="string" variable="$name">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="307" name="return" description="" type="void">
|
||||
<tag line="312" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="313">
|
||||
<argument line="318">
|
||||
<name>$name</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="371" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="376" package="">
|
||||
<name>unload</name>
|
||||
<type>function</type>
|
||||
<docblock line="366">
|
||||
<docblock line="371">
|
||||
<description><![CDATA[Convenience function to remove an object from the singleton]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="366" name="param" description="" type="string" variable="$name">
|
||||
<tag line="371" name="param" description="" type="string" variable="$name">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="371">
|
||||
<argument line="376">
|
||||
<name>$name</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="386" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="391" package="">
|
||||
<name>load_config</name>
|
||||
<type>function</type>
|
||||
<docblock line="381">
|
||||
<docblock line="386">
|
||||
<description><![CDATA[Convenience function to load config files]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="381" name="param" description="" type="string" variable="$name">
|
||||
<tag line="386" name="param" description="" type="string" variable="$name">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="386">
|
||||
<argument line="391">
|
||||
<name>$name</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
@ -6555,7 +6544,7 @@ Used for outputing HTML]]></description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/common.php" hash="c4342203d1f8cc49ff444580ee71dfdf" package="miniMVC">
|
||||
<file path="sys/common.php" hash="7b65ea36dc6c437809a41068450f5141" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -6565,12 +6554,6 @@ Used for outputing HTML]]></description>
|
||||
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
||||
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
||||
</docblock>
|
||||
<include line="396" type="Require Once" package="Default">
|
||||
<name>db/autoload.php</name>
|
||||
</include>
|
||||
<include line="399" type="Require Once" package="Default">
|
||||
<name>core/miniMVC.php</name>
|
||||
</include>
|
||||
<function namespace="default" line="32" package="miniMVC">
|
||||
<name>shutdown</name>
|
||||
<type>function</type>
|
||||
@ -6673,157 +6656,157 @@ display them cleanly]]></description>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="default" line="134" package="miniMVC">
|
||||
<function namespace="default" line="135" package="miniMVC">
|
||||
<name>is_like_array</name>
|
||||
<type>function</type>
|
||||
<docblock line="128">
|
||||
<docblock line="129">
|
||||
<description><![CDATA[Utility function to check if a variable is set, and is an array or object]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="128" name="param" description="" type="mixed" variable="$var">
|
||||
<tag line="129" name="param" description="" type="mixed" variable="$var">
|
||||
<type by_reference="false">mixed</type>
|
||||
</tag>
|
||||
<tag line="128" name="return" description="" type="bool">
|
||||
<tag line="129" name="return" description="" type="bool">
|
||||
<type by_reference="false">bool</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="134">
|
||||
<argument line="135">
|
||||
<name>$var</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="default" line="151" package="miniMVC">
|
||||
<function namespace="default" line="152" package="miniMVC">
|
||||
<name>show_404</name>
|
||||
<type>function</type>
|
||||
<docblock line="146">
|
||||
<docblock line="147">
|
||||
<description><![CDATA[General 404 function]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="146" name="return" description="" type="void">
|
||||
<tag line="147" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</function>
|
||||
<function namespace="default" line="175" package="miniMVC">
|
||||
<function namespace="default" line="177" package="miniMVC">
|
||||
<name>show_error</name>
|
||||
<type>function</type>
|
||||
<docblock line="169">
|
||||
<docblock line="171">
|
||||
<description><![CDATA[Fatal Error page function]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="169" name="param" description="" type="string" variable="$message">
|
||||
<tag line="171" name="param" description="" type="string" variable="$message">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="169" name="param" description="" type="int" variable="$status_code">
|
||||
<tag line="171" name="param" description="" type="int" variable="$status_code">
|
||||
<type by_reference="false">int</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="175">
|
||||
<argument line="177">
|
||||
<name>$message</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
<argument line="175">
|
||||
<argument line="177">
|
||||
<name>$status_code</name>
|
||||
<default><![CDATA[null]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="default" line="200" package="miniMVC">
|
||||
<function namespace="default" line="202" package="miniMVC">
|
||||
<name>controller_methods</name>
|
||||
<type>function</type>
|
||||
<docblock line="194">
|
||||
<docblock line="196">
|
||||
<description><![CDATA[Returns routable methods for the specified controller class]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="194" name="param" description="" type="string" variable="$controller">
|
||||
<tag line="196" name="param" description="" type="string" variable="$controller">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="194" name="return" description="" type="array">
|
||||
<tag line="196" name="return" description="" type="array">
|
||||
<type by_reference="false">array</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="200">
|
||||
<argument line="202">
|
||||
<name>$controller</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="default" line="218" package="miniMVC">
|
||||
<function namespace="default" line="220" package="miniMVC">
|
||||
<name>route</name>
|
||||
<type>function</type>
|
||||
<docblock line="213">
|
||||
<docblock line="215">
|
||||
<description><![CDATA[Calls the appropriate module/controller/function based on the url]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="213" name="return" description="" type="void">
|
||||
<tag line="215" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</function>
|
||||
<function namespace="default" line="342" package="miniMVC">
|
||||
<function namespace="default" line="345" package="miniMVC">
|
||||
<name>site_url</name>
|
||||
<type>function</type>
|
||||
<docblock line="336">
|
||||
<docblock line="339">
|
||||
<description><![CDATA[Returns a full url from a url segment]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="336" name="param" description="" type="string" variable="$segment">
|
||||
<tag line="339" name="param" description="" type="string" variable="$segment">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="336" name="return" description="" type="string">
|
||||
<tag line="339" name="return" description="" type="string">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="342">
|
||||
<argument line="345">
|
||||
<name>$segment</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="default" line="356" package="miniMVC">
|
||||
<function namespace="default" line="359" package="miniMVC">
|
||||
<name>to_string</name>
|
||||
<type>function</type>
|
||||
<docblock line="349">
|
||||
<docblock line="352">
|
||||
<description><![CDATA[Prints out the contents of the object]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="349" name="param" description="" type="\object/array" variable="$data">
|
||||
<tag line="352" name="param" description="" type="\object/array" variable="$data">
|
||||
<type by_reference="false">\object/array</type>
|
||||
</tag>
|
||||
<tag line="349" name="param" description="" type="string" variable="$method">
|
||||
<tag line="352" name="param" description="" type="string" variable="$method">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="349" name="return" description="" type="string">
|
||||
<tag line="352" name="return" description="" type="string">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="356">
|
||||
<argument line="359">
|
||||
<name>$data</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
<argument line="356">
|
||||
<argument line="359">
|
||||
<name>$method</name>
|
||||
<default><![CDATA['print_r']]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="default" line="390" package="miniMVC">
|
||||
<function namespace="default" line="393" package="miniMVC">
|
||||
<name>do_include</name>
|
||||
<type>function</type>
|
||||
<docblock line="384">
|
||||
<docblock line="387">
|
||||
<description><![CDATA[Array_map callback to load a folder of classes at once]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="384" name="param" description="" type="string" variable="$path">
|
||||
<tag line="387" name="param" description="" type="string" variable="$path">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="384" name="return" description="" type="void">
|
||||
<tag line="387" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="390">
|
||||
<argument line="393">
|
||||
<name>$path</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
</file>
|
||||
<file path="index.php" hash="ff0f39eb68e70095cd3d5a702e7511b5" package="miniMVC">
|
||||
<file path="index.php" hash="ec4c291649bc651088cf7b4daeddb574" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -6839,6 +6822,12 @@ display them cleanly]]></description>
|
||||
<include line="55" type="Require" package="Default">
|
||||
<name>common.php</name>
|
||||
</include>
|
||||
<include line="58" type="Require Once" package="Default">
|
||||
<name>db/autoload.php</name>
|
||||
</include>
|
||||
<include line="61" type="Require Once" package="Default">
|
||||
<name>core/miniMVC.php</name>
|
||||
</include>
|
||||
<constant namespace="default" line="28" package="miniMVC\App">
|
||||
<name>ENVIRONMENT</name>
|
||||
<value><![CDATA['DEVELOPMENT']]></value>
|
||||
|
@ -42,7 +42,7 @@ define('MM_SYS_PATH', __DIR__.'/sys/');
|
||||
define('MM_APP_PATH', __DIR__.'/app/');
|
||||
define('MM_MOD_PATH', MM_APP_PATH.'modules/');
|
||||
|
||||
|
||||
// Determine the default site url
|
||||
$ri = $_SERVER['REQUEST_URI'];
|
||||
$ind_pos = stripos($ri, "index.php");
|
||||
$default_path = ($ind_pos !== FALSE) ? substr($ri, 0, $ind_pos) : $ri;
|
||||
@ -54,6 +54,13 @@ require(MM_APP_PATH.'config/config.php');
|
||||
// Require the most important files
|
||||
require(MM_SYS_PATH . "common.php");
|
||||
|
||||
// Load Database classes
|
||||
require_once(MM_SYS_PATH.'db/autoload.php');
|
||||
|
||||
// Load system libraries
|
||||
require_once(MM_SYS_PATH.'core/miniMVC.php');
|
||||
array_map('do_include', glob(MM_SYS_PATH.'core/*.php'));
|
||||
|
||||
// Catch fatal errors, don't show them
|
||||
error_reporting((-1) & ~(E_ERROR | E_PARSE));
|
||||
register_shutdown_function('shutdown');
|
||||
|
@ -111,6 +111,7 @@ function on_error($severity, $message, $filepath, $line)
|
||||
*/
|
||||
function on_exception($exception)
|
||||
{
|
||||
// This is passed to the error template
|
||||
$message = $exception->getMessage();
|
||||
|
||||
// Contain the content for buffering
|
||||
@ -155,6 +156,7 @@ function show_404()
|
||||
// Contain the content for buffering
|
||||
ob_start();
|
||||
|
||||
// This is passed to the error template
|
||||
$message = '404 Not Found';
|
||||
|
||||
include(MM_APP_PATH.'/errors/error_404.php');
|
||||
@ -316,6 +318,7 @@ function route()
|
||||
|
||||
if (in_array($func, $methods))
|
||||
{
|
||||
// Define the name of the current module for file loading
|
||||
define('MM_MOD', $module);
|
||||
|
||||
$class = new $controller();
|
||||
@ -392,11 +395,4 @@ function do_include($path)
|
||||
require_once($path);
|
||||
}
|
||||
|
||||
// Load Database classes
|
||||
require_once(MM_SYS_PATH.'db/autoload.php');
|
||||
|
||||
// Load system libraries
|
||||
require_once(MM_SYS_PATH.'core/miniMVC.php');
|
||||
array_map('do_include', glob(MM_SYS_PATH.'core/*.php'));
|
||||
|
||||
// End of common.php
|
@ -136,6 +136,11 @@ trait Singleton {
|
||||
* @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
|
||||
|
Loading…
Reference in New Issue
Block a user