ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
env_details.html.php
Go to the documentation of this file.
1<?php /* List data-table values, i.e: $_SERVER, $_GET, .... */ ?>
2<div class="details">
3 <h2 class="details-heading">Environment &amp; details:</h2>
4
5 <div class="data-table-container" id="data-tables">
6 <?php foreach ($tables as $label => $data): ?>
7 <div class="data-table" id="sg-<?php echo $tpl->escape($tpl->slug($label)) ?>">
8 <?php if (!empty($data)): ?>
9 <label><?php echo $tpl->escape($label) ?></label>
10 <table class="data-table">
11 <thead>
12 <tr>
13 <td class="data-table-k">Key</td>
14 <td class="data-table-v">Value</td>
15 </tr>
16 </thead>
17 <?php foreach ($data as $k => $value): ?>
18 <tr>
19 <td><?php echo $tpl->escape($k) ?></td>
20 <td><?php echo $tpl->dump($value) ?></td>
21 </tr>
22 <?php endforeach ?>
23 </table>
24 <?php else: ?>
25 <label class="empty"><?php echo $tpl->escape($label) ?></label>
26 <span class="empty">empty</span>
27 <?php endif ?>
28 </div>
29 <?php endforeach ?>
30 </div>
31
32 <?php /* List registered handlers, in order of first to last registered */ ?>
33 <div class="data-table-container" id="handlers">
34 <label>Registered Handlers</label>
35 <?php foreach ($handlers as $i => $handler): ?>
36 <div class="handler <?php echo ($handler === $handler) ? 'active' : ''?>">
37 <?php echo $i ?>. <?php echo $tpl->escape(get_class($handler)) ?>
38 </div>
39 <?php endforeach ?>
40 </div>
41
42</div>
$tpl
Definition: ilias.php:10
An exception for terminatinating execution or to throw for unit testing.
$i
Definition: disco.tpl.php:19
$handler
$data
Definition: bench.php:6