13$this->
data[
'cardinality_header'] = $this->t(
'{core:cardinality:cardinality_header}');
14$this->
data[
'cardinality_text'] = $this->t(
'{core:cardinality:cardinality_text}');
15$this->
data[
'problematic_attributes'] = $this->t(
'{core:cardinality:problematic_attributes}');
17$this->includeAtTemplateBase(
'includes/header.php');
19<h1><?
php echo $this->
data[
'cardinality_header']; ?></h1>
20<
p><?
php echo $this->
data[
'cardinality_text']; ?></
p>
21<h3><?
php echo $this->
data[
'problematic_attributes']; ?></h3>
22<dl
class=
"cardinalityErrorAttributes">
23<?
php foreach ($this->
data[
'cardinalityErrorAttributes'] as $attr => $v) { ?>
24 <dt><?
php echo $attr ?></td>
25 <dd><?
php echo $this->t(
'{core:cardinality:got_want}', array(
'%GOT%' => $v[0],
'%WANT%' => htmlspecialchars($v[1]))) ?></dd>
30if (isset($this->
data[
'LogoutURL'])) {
32<
p><a href=
"<?php echo htmlspecialchars($this->data['LogoutURL']); ?>"><?
php echo $this->t(
'{status:logout}'); ?></a></
p>
37$this->includeAtTemplateBase(
'includes/footer.php');
$this data['cardinality_header']
An exception for terminatinating execution or to throw for unit testing.