| /trunk/cakephp-1.2.0/app/controllers/benchmark_controller.php r9 | /tags/20081226/cakephp-1.2.0/app/controllers/benchmark_controller.php r14 | ||
| 1 | <?php | 1 | <?php |
|---|---|---|---|
| 2 | class BenchmarkController extends AppController { | 2 | class BenchmarkController extends AppController { |
| 3 | 3 | ||
| 4 | var $helpers = null; //Because the 'Html' and 'Form' helpers are enabled by default | 4 | var $helpers = null; //Because the 'Html' and 'Form' helpers are enabled by default |
| 5 | var $uses = array(); | 5 | var $uses = array(); |
| 6 | var $components = array(); | 6 | var $components = array(); |
| 7 | var $layout = null; | 7 | var $layout = null; |
| 8 | var $autoLayout = false; | 8 | var $autoLayout = false; |
| 9 | 9 | ||
| 10 | 10 | ||
| 11 | function index() { | 11 | function index() { |
| 12 | die("Hello World"); | 12 | die("Hello World"); |
| 13 | } | 13 | } |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | ?> | 16 | ?> |