2$this->
data[
'header'] = $this->t(
'{aggregator:aggregator:aggregator_header}');
3$this->includeAtTemplateBase(
'includes/header.php');
5echo(
'<h1>Metarefresh fetch</h1>');
8if (!empty($this->
data[
'logentries'])) {
10 echo
'<pre style="border: 1px solid #aaa; padding: .5em; overflow: scroll">';
11 foreach($this->
data[
'logentries'] AS
$l) {
17 echo
'No output from metarefresh.';
22$this->includeAtTemplateBase(
'includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.