Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
fiktivkod/application/modules/default/controllers/IndexController.php
2010-10-02 14:14:18 +02:00

34 lines
No EOL
625 B
PHP

<?php
class IndexController extends Fiktiv_Controller_Action
{
public function indexAction()
{
// Here be dragons
//$m = new MyModel();
//echo $m->name;
// Quick access
$me = $this->dataService->User->findRandom();
echo $me;
$r = Fiktiv_Performance::benchmark(array('IndexController','test'));
echo '<pre>';
print_r($r);
echo '</pre>';
}
public function aboutAction()
{
}
public function test()
{
$r = rand(100,999);
for ($i=0;$i<$r;$i++) {
$s = $i+$i;
}
}
}