3$this->
data[
'header'] = $this->t(
'cron_header');
4$this->includeAtTemplateBase(
'includes/header.php');
6 <p><?
php echo $this->t(
'cron_result_title') ?></p>
7 <pre style=
"color: #444; padding: 1em; border: 1px solid #eee; margin: .4em "><code>
9 echo
'<h1>' .$this->t(
'cron_report_title').
'</h1><p>' .$this->t(
'ran_text').
' ' .$this->data[
'time'] .
'</p>' .
10 '<p>URL: <tt>' . $this->
data[
'url'] .
'</tt></p>' .
11 '<p>Tag: ' . $this->
data[
'tag'] .
"</p>\n\n" .
12 '<ul><li>' . join(
'</li><li>', $this->
data[
'summary']) .
'</li></ul>';
19$this->includeAtTemplateBase(
'includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.