Miscellaneous improvements
This commit is contained in:
parent
0979a4bb9f
commit
e817a47769
@ -84,11 +84,11 @@ while($i < $pia_len)
|
||||
};
|
||||
|
||||
$css = '';
|
||||
$modified = array();
|
||||
$modified = [];
|
||||
|
||||
if (isset($groups[$_GET['g']]))
|
||||
{
|
||||
foreach($groups[$_GET['g']] as $file)
|
||||
foreach($groups[$_GET['g']] as &$file)
|
||||
{
|
||||
$new_file = $css_root.$file;
|
||||
$css .= file_get_contents($new_file);
|
||||
|
@ -45,7 +45,7 @@ function get_files()
|
||||
|
||||
$js = '';
|
||||
|
||||
foreach($groups[$_GET['g']] as $file)
|
||||
foreach($groups[$_GET['g']] as &$file)
|
||||
{
|
||||
$new_file = realpath($js_root.$file);
|
||||
$js .= file_get_contents($new_file);
|
||||
@ -95,7 +95,7 @@ while($i < $pia_len)
|
||||
};
|
||||
|
||||
$js = '';
|
||||
$modified = array();
|
||||
$modified = [];
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
@ -104,7 +104,7 @@ if (isset($groups[$_GET['g']]))
|
||||
{
|
||||
$cache_file = $js_root.'cache/'.$_GET['g'];
|
||||
|
||||
foreach($groups[$_GET['g']] as $file)
|
||||
foreach($groups[$_GET['g']] as &$file)
|
||||
{
|
||||
$new_file = realpath($js_root.$file);
|
||||
$modified[] = filemtime($new_file);
|
||||
|
@ -1585,7 +1585,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -708,7 +708,7 @@ the connection/database</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -154,7 +154,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -300,7 +300,7 @@ specified table</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -211,7 +211,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -870,7 +870,7 @@ the last query executed</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -506,7 +506,7 @@ the query</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -310,7 +310,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -214,7 +214,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -436,7 +436,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -762,7 +762,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -726,7 +726,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -642,7 +642,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -974,7 +974,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -146,7 +146,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -906,7 +906,7 @@ the connection/database</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -315,7 +315,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -210,7 +210,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -908,7 +908,7 @@ the connection/database</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -310,7 +310,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -205,7 +205,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -908,7 +908,7 @@ the connection/database</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -310,7 +310,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -210,7 +210,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1224,7 +1224,7 @@ for complex select queries</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -923,7 +923,7 @@ method if the database does not support 'TRUNCATE';</h2>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -310,7 +310,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -210,7 +210,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -246,7 +246,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -904,7 +904,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -844,7 +844,7 @@
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -613,7 +613,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -109,7 +109,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -66,7 +66,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -84,7 +84,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -183,7 +183,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:13-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -698,13 +698,19 @@ instantiates the specific db driver</p>
|
||||
<div class="labels"></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
|
||||
</div>
|
||||
<a name="Unknown" id="Unknown"> </a><div class="element clickable constant Unknown" data-toggle="collapse" data-target=".Unknown .collapse">
|
||||
<h2>Define a session id to namespace sessions</h2>
|
||||
<pre>Unknown </pre>
|
||||
<div class="labels"></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -79,6 +79,7 @@
|
||||
<li class="constant "><a href="#STATIC_LIB_PATH" title="STATIC_LIB_PATH :: "><span class="description">STATIC_LIB_PATH</span><pre>STATIC_LIB_PATH</pre></a></li>
|
||||
<li class="constant "><a href="#STYLE_PATH" title="STYLE_PATH :: "><span class="description">STYLE_PATH</span><pre>STYLE_PATH</pre></a></li>
|
||||
<li class="constant "><a href="#URL_INDEX_FILE" title="URL_INDEX_FILE :: "><span class="description">URL_INDEX_FILE</span><pre>URL_INDEX_FILE</pre></a></li>
|
||||
<li class="constant "><a href="#Unknown" title="Unknown :: Define a session id to namespace sessions"><span class="description">Define a session id to namespace sessions</span><pre>Unknown</pre></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span8 package-contents">
|
||||
@ -181,13 +182,19 @@
|
||||
<div class="labels"></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
|
||||
</div>
|
||||
<a name="Unknown" id="Unknown"> </a><div class="element clickable constant Unknown" data-toggle="collapse" data-target=".Unknown .collapse">
|
||||
<h2>Define a session id to namespace sessions</h2>
|
||||
<pre>Unknown </pre>
|
||||
<div class="labels"></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row"><footer class="span12">
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -213,7 +213,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -99,7 +99,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -117,7 +117,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -318,7 +318,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -141,7 +141,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -91,7 +91,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -490,7 +490,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-14T14:05:53-04:00.<br></footer></div>
|
||||
generated on 2012-05-14T14:35:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5468,7 +5468,7 @@ the last query executed]]></description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/core/db.php" hash="2dd4b1ad5928f6f27318c77b6f4a130e" package="miniMVC">
|
||||
<file path="sys/core/db.php" hash="027d422e7ac6d5d1d61b63b059629a92" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -5490,7 +5490,7 @@ the last query executed]]></description>
|
||||
</docblock>
|
||||
<property final="false" static="true" visibility="private" line="31" package="Default">
|
||||
<name>$instance</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<docblock line="26">
|
||||
<description><![CDATA[DB connection instances]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
@ -5522,7 +5522,7 @@ the last query executed]]></description>
|
||||
</argument>
|
||||
<argument line="40">
|
||||
<name>$options</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type>array</type>
|
||||
</argument>
|
||||
</method>
|
||||
@ -5538,7 +5538,7 @@ the last query executed]]></description>
|
||||
</docblock>
|
||||
<argument line="70">
|
||||
<name>$params</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type>array</type>
|
||||
</argument>
|
||||
</method>
|
||||
@ -5565,7 +5565,7 @@ the last query executed]]></description>
|
||||
</argument>
|
||||
<argument line="86">
|
||||
<name>$params</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
@ -5582,7 +5582,7 @@ the last query executed]]></description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/core/miniMVC.php" hash="0ced1a7dc14bcd3be5f686c3cfb9aab5" package="miniMVC">
|
||||
<file path="sys/core/miniMVC.php" hash="95762d96e5f4df13ec8247f9d5b39de1" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -5620,7 +5620,7 @@ the last query executed]]></description>
|
||||
</argument>
|
||||
<argument line="49">
|
||||
<name>$params</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
@ -5650,7 +5650,7 @@ the last query executed]]></description>
|
||||
</docblock>
|
||||
<argument line="151">
|
||||
<name>$params</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
@ -5693,7 +5693,7 @@ the last query executed]]></description>
|
||||
</docblock>
|
||||
<argument line="205">
|
||||
<name>$members</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
@ -5721,7 +5721,7 @@ dynamic methods]]></description>
|
||||
</argument>
|
||||
<argument line="226">
|
||||
<name>$params</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
@ -5759,7 +5759,7 @@ dynamic methods]]></description>
|
||||
</docblock>
|
||||
<argument line="268">
|
||||
<name>$members</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
@ -5783,7 +5783,7 @@ dynamic methods]]></description>
|
||||
</argument>
|
||||
<argument line="284">
|
||||
<name>$args</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
@ -5840,7 +5840,7 @@ dynamic methods]]></description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/core/page.php" hash="fe5e54476f922c47baf2ab9040a55f5b" package="miniMVC">
|
||||
<file path="sys/core/page.php" hash="0763c678214a982e5f6ef215b5e54eb9" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -6345,7 +6345,7 @@ supports</p>]]></long-description>
|
||||
</argument>
|
||||
<argument line="473">
|
||||
<name>$data</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
@ -6407,7 +6407,7 @@ page.</p>]]></long-description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/core/controller.php" hash="eac8dd511fb6b91e187a4749fd619b17" package="miniMVC">
|
||||
<file path="sys/core/controller.php" hash="c51a147d4ddd1ea2a8491d7c7c71f372" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -6472,7 +6472,7 @@ page.</p>]]></long-description>
|
||||
</argument>
|
||||
<argument line="53">
|
||||
<name>$args</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
@ -6502,7 +6502,7 @@ page.</p>]]></long-description>
|
||||
</argument>
|
||||
<argument line="85">
|
||||
<name>$data</name>
|
||||
<default><![CDATA[array()]]></default>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<type>array</type>
|
||||
</argument>
|
||||
<argument line="85">
|
||||
@ -6513,7 +6513,7 @@ page.</p>]]></long-description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/core/output.php" hash="b95af3c4fb386e999b088366cce23044" package="Default">
|
||||
<file path="sys/core/output.php" hash="22c578973d2a335045740f7f8627f73a" package="Default">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -6643,7 +6643,7 @@ Used for outputing HTML]]></description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/libraries/session.php" hash="3ed8d37d9b53e558ecf123a2f4163f0d" package="miniMVC">
|
||||
<file path="sys/libraries/session.php" hash="83299a83c272acd89023a5193e82b80a" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
@ -6653,95 +6653,103 @@ 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>
|
||||
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\Libraries">
|
||||
<constant namespace="default" line="18" package="Default">
|
||||
<name>Unknown</name>
|
||||
<value><![CDATA[]]></value>
|
||||
<docblock line="15">
|
||||
<description><![CDATA[Define a session id to namespace sessions]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
</docblock>
|
||||
</constant>
|
||||
<class final="false" abstract="false" namespace="default" line="27" package="miniMVC\Libraries">
|
||||
<name>MM_Session</name>
|
||||
<full_name>\MM_Session</full_name>
|
||||
<extends/>
|
||||
<docblock line="16">
|
||||
<docblock line="21">
|
||||
<description><![CDATA[Class to improve handling of PHP sessions]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="16" name="package" description="miniMVC"/>
|
||||
<tag line="16" name="subpackage" description="Libraries"/>
|
||||
<tag line="21" name="package" description="miniMVC"/>
|
||||
<tag line="21" name="subpackage" description="Libraries"/>
|
||||
</docblock>
|
||||
<property final="false" static="false" visibility="protected" line="37" package="Default">
|
||||
<property final="false" static="false" visibility="protected" line="42" package="Default">
|
||||
<name>$sess</name>
|
||||
<default><![CDATA[[]]]></default>
|
||||
<docblock line="32">
|
||||
<docblock line="37">
|
||||
<description><![CDATA[Reference to session superglobal]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="32" name="var" description="" type="array">
|
||||
<tag line="37" name="var" description="" type="array">
|
||||
<type by_reference="false">array</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</property>
|
||||
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="42" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="47" package="">
|
||||
<name>__construct</name>
|
||||
<type>function</type>
|
||||
<docblock line="39">
|
||||
<docblock line="44">
|
||||
<description><![CDATA[Start a session]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="63" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="65" package="">
|
||||
<name>__set</name>
|
||||
<type>function</type>
|
||||
<docblock line="56">
|
||||
<docblock line="58">
|
||||
<description><![CDATA[Set a session value]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="56" name="param" description="" type="string" variable="$key">
|
||||
<tag line="58" name="param" description="" type="string" variable="$key">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="56" name="param" description="" type="mixed" variable="$val">
|
||||
<tag line="58" name="param" description="" type="mixed" variable="$val">
|
||||
<type by_reference="false">mixed</type>
|
||||
</tag>
|
||||
<tag line="56" name="return" description="" type="void">
|
||||
<tag line="58" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="63">
|
||||
<argument line="65">
|
||||
<name>$key</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
<argument line="63">
|
||||
<argument line="65">
|
||||
<name>$val</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="76" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="78" package="">
|
||||
<name>__get</name>
|
||||
<type>function</type>
|
||||
<docblock line="70">
|
||||
<docblock line="72">
|
||||
<description><![CDATA[Retreive a session value]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="70" name="param" description="" type="string" variable="$key">
|
||||
<tag line="72" name="param" description="" type="string" variable="$key">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="70" name="return" description="" type="mixed">
|
||||
<tag line="72" name="return" description="" type="mixed">
|
||||
<type by_reference="false">mixed</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="76">
|
||||
<argument line="78">
|
||||
<name>$key</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="88" package="">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
|
||||
<name>destroy</name>
|
||||
<type>function</type>
|
||||
<docblock line="83">
|
||||
<docblock line="85">
|
||||
<description><![CDATA[Destroy a session]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="83" name="return" description="" type="void">
|
||||
<tag line="85" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/common.php" hash="7b65ea36dc6c437809a41068450f5141" package="miniMVC">
|
||||
<file path="sys/common.php" hash="991b411691af7d368914b858a893ab91" package="miniMVC">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[MiniMVC]]></description>
|
||||
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
||||
|
@ -117,7 +117,7 @@ function on_exception($exception)
|
||||
// Contain the content for buffering
|
||||
ob_start();
|
||||
|
||||
include(MM_APP_PATH.'/errors/error_php_exception.php');
|
||||
include(MM_APP_PATH.'/views/errors/error_php_exception.php');
|
||||
|
||||
$buffer = ob_get_contents();
|
||||
ob_end_clean();
|
||||
@ -159,7 +159,7 @@ function show_404()
|
||||
// This is passed to the error template
|
||||
$message = '404 Not Found';
|
||||
|
||||
include(MM_APP_PATH.'/errors/error_404.php');
|
||||
include(MM_APP_PATH.'/views/errors/error_404.php');
|
||||
|
||||
$buffer = ob_get_contents();
|
||||
ob_end_clean();
|
||||
@ -184,7 +184,7 @@ function show_error($message, $status_code=null)
|
||||
// Contain the content for buffering
|
||||
ob_start();
|
||||
|
||||
include(MM_APP_PATH.'/errors/error_general.php');
|
||||
include(MM_APP_PATH.'/views/errors/error_general.php');
|
||||
|
||||
$buffer = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
@ -50,7 +50,7 @@ class MM_Controller extends miniMVC {
|
||||
* @param array $args
|
||||
* @return void
|
||||
*/
|
||||
public function load_model($file, $args=array())
|
||||
public function load_model($file, $args=[])
|
||||
{
|
||||
// The module is set via the router
|
||||
$module = strtolower(MM_MOD);
|
||||
@ -82,7 +82,7 @@ class MM_Controller extends miniMVC {
|
||||
* @param bool $return
|
||||
* @return mixed
|
||||
*/
|
||||
public function load_view($file, array $data=array(), $return=FALSE)
|
||||
public function load_view($file, array $data=[], $return=FALSE)
|
||||
{
|
||||
$path = "";
|
||||
|
||||
|
@ -28,7 +28,7 @@ class DB extends Query_Builder {
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private static $instance = array();
|
||||
private static $instance = [];
|
||||
|
||||
/**
|
||||
* Indexed singleton method
|
||||
@ -37,7 +37,7 @@ class DB extends Query_Builder {
|
||||
* @param array $options
|
||||
* @return DB
|
||||
*/
|
||||
public static function &get_instance($dbname="default", array $options=array())
|
||||
public static function &get_instance($dbname="default", array $options=[])
|
||||
{
|
||||
if ( ! isset(self::$instance[$dbname]))
|
||||
{
|
||||
@ -67,7 +67,7 @@ class DB extends Query_Builder {
|
||||
*
|
||||
* @param array $params
|
||||
*/
|
||||
function __construct(array $params=array())
|
||||
function __construct(array $params=[])
|
||||
{
|
||||
// Let's try connecting now!
|
||||
parent::__construct($params);
|
||||
@ -83,7 +83,7 @@ class DB extends Query_Builder {
|
||||
* @param array $params
|
||||
* @return mixed
|
||||
*/
|
||||
public function __call($name, $params=array())
|
||||
public function __call($name, $params=[])
|
||||
{
|
||||
return parent::__call($name, $params);
|
||||
}
|
||||
@ -97,7 +97,7 @@ class DB extends Query_Builder {
|
||||
*/
|
||||
public function get_last_error()
|
||||
{
|
||||
$error = array();
|
||||
$error = [];
|
||||
|
||||
if (isset($this->statement))
|
||||
{
|
||||
|
@ -29,10 +29,10 @@ trait JSObject {
|
||||
* @param array $members
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($members = array())
|
||||
public function __construct($members = [])
|
||||
{
|
||||
// Add the passed parameters to the object
|
||||
foreach($members as $name => $value)
|
||||
foreach($members as $name => &$value)
|
||||
{
|
||||
$this->$name = $value;
|
||||
}
|
||||
@ -46,7 +46,7 @@ trait JSObject {
|
||||
* @param string $name
|
||||
* @param array $params
|
||||
*/
|
||||
public function __call($name, $params = array())
|
||||
public function __call($name, $params = [])
|
||||
{
|
||||
if(is_callable($this->$name))
|
||||
{
|
||||
@ -68,7 +68,7 @@ trait JSObject {
|
||||
{
|
||||
$args = func_get_args();
|
||||
$method = ( ! empty($args)) ? $args[0] : "print_r";
|
||||
$data = (isset($args[1])) ? $args[1] : array();
|
||||
$data = (isset($args[1])) ? $args[1] : [];
|
||||
|
||||
if(empty($data))
|
||||
{
|
||||
@ -111,7 +111,7 @@ trait JSObject {
|
||||
*
|
||||
* @param array $args
|
||||
*/
|
||||
public static function __invoke($args = array())
|
||||
public static function __invoke($args = [])
|
||||
{
|
||||
$class = __CLASS__;
|
||||
return new $class($args);
|
||||
@ -148,7 +148,7 @@ trait Singleton {
|
||||
* @param array $params
|
||||
* @return self
|
||||
*/
|
||||
public static function __invoke($params = array())
|
||||
public static function __invoke($params = [])
|
||||
{
|
||||
return self::get_instance($params);
|
||||
}
|
||||
@ -202,12 +202,12 @@ class MM extends ArrayObject {
|
||||
*
|
||||
* @param array
|
||||
*/
|
||||
public function __construct($members = array())
|
||||
public function __construct($members = [])
|
||||
{
|
||||
parent::__construct($members);
|
||||
|
||||
// Add the passed parameters to the object
|
||||
foreach($members as $name => $value)
|
||||
foreach($members as $name => &$value)
|
||||
{
|
||||
$this->$name = $value;
|
||||
}
|
||||
@ -223,7 +223,7 @@ class MM extends ArrayObject {
|
||||
* @param array $params
|
||||
* @return mixed
|
||||
*/
|
||||
public function __call($name, $params = array())
|
||||
public function __call($name, $params = [])
|
||||
{
|
||||
// Allow array operations on the object
|
||||
if (substr($name, 0, 6) === 'array_' && is_callable($name))
|
||||
@ -265,7 +265,7 @@ class miniMVC extends MM {
|
||||
*
|
||||
* @param array $members
|
||||
*/
|
||||
public function __construct($members = array())
|
||||
public function __construct($members = [])
|
||||
{
|
||||
// Allow the class to be used like an array
|
||||
parent::__construct($members);
|
||||
@ -281,7 +281,7 @@ class miniMVC extends MM {
|
||||
* @param string $name
|
||||
* @param array $args
|
||||
*/
|
||||
public function __call($name, $args = array())
|
||||
public function __call($name, $args = [])
|
||||
{
|
||||
// Allow array operations on the object
|
||||
if (substr($name, 0, 6) === 'array_' && is_callable($name))
|
||||
|
@ -42,7 +42,7 @@ class MM_Output extends MM {
|
||||
public function __construct()
|
||||
{
|
||||
$this->buffer = "";
|
||||
$this->headers = array();
|
||||
$this->headers = [];
|
||||
}
|
||||
|
||||
/**
|
||||
@ -131,7 +131,7 @@ class MM_Output extends MM {
|
||||
public function flush_headers()
|
||||
{
|
||||
// Set headers
|
||||
foreach($this->headers as $key => $val)
|
||||
foreach($this->headers as $key => &$val)
|
||||
{
|
||||
if ( ! isset($val))
|
||||
{
|
||||
@ -144,7 +144,7 @@ class MM_Output extends MM {
|
||||
}
|
||||
|
||||
// Empty headers
|
||||
$this->headers = array();
|
||||
$this->headers = [];
|
||||
}
|
||||
}
|
||||
// End of Output.php
|
@ -199,11 +199,11 @@ class MM_Page extends MM {
|
||||
*/
|
||||
public function set_css_group($group)
|
||||
{
|
||||
$link = array(
|
||||
$link = [
|
||||
'href' => STYLE_PATH . $group,
|
||||
'rel' => 'stylesheet',
|
||||
'type' => 'text/css'
|
||||
);
|
||||
];
|
||||
$this->css .= $this->_link_tag($link);
|
||||
|
||||
return $this;
|
||||
@ -305,12 +305,12 @@ class MM_Page extends MM {
|
||||
$css_file = $name;
|
||||
}
|
||||
|
||||
$this->css_tags .= $this->_link_tag(array(
|
||||
$this->css_tags .= $this->_link_tag([
|
||||
'rel' => 'stylesheet',
|
||||
'type' => 'text/css',
|
||||
'media' => $media,
|
||||
'href' => $css_file,
|
||||
));
|
||||
]);
|
||||
|
||||
return $this;
|
||||
}
|
||||
@ -339,15 +339,15 @@ class MM_Page extends MM {
|
||||
*/
|
||||
public function build_header($html5 = TRUE)
|
||||
{
|
||||
$data = array();
|
||||
$data = [];
|
||||
|
||||
//Set Meta Tags
|
||||
$this->meta = ($html5 == TRUE)
|
||||
? '<meta charset="utf-8" />'. $this->meta
|
||||
: $this->_meta(array(
|
||||
: $this->_meta([
|
||||
'http-equiv' => 'Content-Type',
|
||||
'content' => 'text/html; charset=utf-8',
|
||||
)) . $this->meta;
|
||||
]) . $this->meta;
|
||||
|
||||
$data['meta'] = $this->meta;
|
||||
|
||||
@ -397,7 +397,7 @@ class MM_Page extends MM {
|
||||
*/
|
||||
public function build_footer()
|
||||
{
|
||||
$data = array();
|
||||
$data = [];
|
||||
|
||||
$data['foot_js'] = ($this->foot_js != "") ? $this->foot_js : '';
|
||||
|
||||
@ -470,7 +470,7 @@ class MM_Page extends MM {
|
||||
* @param string $view
|
||||
* @param array $data
|
||||
*/
|
||||
function render($view, $data=array())
|
||||
function render($view, $data=[])
|
||||
{
|
||||
$this->build_header();
|
||||
$this->mm->load_view($view, $data);
|
||||
@ -506,7 +506,7 @@ class MM_Page extends MM {
|
||||
{
|
||||
$string = "<meta ";
|
||||
|
||||
foreach($params as $k => $v)
|
||||
foreach($params as $k => &$v)
|
||||
{
|
||||
$string .= $k.'="'.$v.'" ';
|
||||
}
|
||||
@ -528,7 +528,7 @@ class MM_Page extends MM {
|
||||
{
|
||||
$string = "<link ";
|
||||
|
||||
foreach($params as $k => $v)
|
||||
foreach($params as $k => &$v)
|
||||
{
|
||||
$string .= $k . '="'.$v.'" ';
|
||||
}
|
||||
|
@ -12,6 +12,11 @@
|
||||
*/
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
/**
|
||||
* Define a session id to namespace sessions
|
||||
*/
|
||||
define(SESS_ID, 'MM_SESSION');
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Class to improve handling of PHP sessions
|
||||
@ -42,13 +47,10 @@ class MM_Session{
|
||||
protected function __construct()
|
||||
{
|
||||
session_start();
|
||||
|
||||
// Create a unique session id to prevent collisions
|
||||
$sess_id = uniqid(uniqid(), TRUE);
|
||||
|
||||
// Save a reference to the session for later access
|
||||
$_SESSION[$sess_id] = [];
|
||||
$this->sess =& $_SESSION[$sess_id];
|
||||
$_SESSION[SESS_ID] = (isset($_SESSION[SESS_ID]) ?: [];
|
||||
$this->sess =& $_SESSION[SESS_ID];
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Database class testing class
|
||||
*/
|
||||
class DBTest extends UnitTestCase {
|
||||
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function setUp()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function tearDown()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function testCreation()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user