<?php
class HelloController extends AppController {
var $layout = null;
var $autoLayout = false;
var $uses = array();
var $helpers = array();
function index()
{
$this->pageTitle = 'Test';
$this->viewVars['body'] = 'Hello World';
}
}
?>
<html>
<head>
<title><?php echo $this->pageTitle?></title>
</head>
<body>
<?php echo $this->viewVars['body'] ?>
</body>
</html>
Response time: 0.19 secs Transaction rate: 25.88 trans/sec