<h1>An error occurred</h1>
-<h2><?php echo $this->vars('message') ?></h2>
+<h2><?php echo $this->message ?></h2>
-<?php if (isset($this->vars()->exception)): ?>
+<?php if (isset($this->exception)): ?>
<h3>Exception information:</h3>
<p>
- <b>Message:</b> <?php echo $this->vars('exception')->getMessage() ?>
+ <b>Message:</b> <?php echo $this->exception->getMessage() ?>
</p>
<h3>Stack trace:</h3>
-<pre><?php echo $this->vars('exception')->getTraceAsString() ?></pre>
+<pre><?php echo $this->exception->getTraceAsString() ?></pre>
<?php endif ?>
-<?php echo $this->plugin('doctype') ?>
+<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <?php echo $this->plugin('headTitle') ?>
+ <?php echo $this->headTitle() ?>
</head>
<body>
-<?php echo $this->vars()->getRawValue('content'); ?>
+<?php echo $this->raw('content'); ?>
</body>
</html>