| 148 |
lars |
1 |
<?php /* List file names & line numbers for all stack frames;
|
|
|
2 |
clicking these links/buttons will display the code view
|
|
|
3 |
for that particular frame */ ?>
|
|
|
4 |
<?php foreach ($frames as $i => $frame): ?>
|
|
|
5 |
<div class="frame <?php echo ($i == 0 ? 'active' : '') ?> <?php echo ($frame->isApplication() ? 'frame-application' : '') ?>" id="frame-line-<?php echo $i ?>">
|
|
|
6 |
<span class="frame-index"><?php echo (count($frames) - $i - 1) ?></span>
|
|
|
7 |
<div class="frame-method-info">
|
|
|
8 |
<span class="frame-class"><?php echo $tpl->breakOnDelimiter('\\', $tpl->escape($frame->getClass() ?: '')) ?></span>
|
|
|
9 |
<span class="frame-function"><?php echo $tpl->breakOnDelimiter('\\', $tpl->escape($frame->getFunction() ?: '')) ?></span>
|
|
|
10 |
</div>
|
|
|
11 |
|
|
|
12 |
<div class="frame-file">
|
|
|
13 |
<?php echo $frame->getFile() ? $tpl->breakOnDelimiter('/', $tpl->shorten($tpl->escape($frame->getFile()))) : '<#unknown>' ?><!--
|
|
|
14 |
--><span class="frame-line"><?php echo (int) $frame->getLine() ?></span>
|
|
|
15 |
</div>
|
|
|
16 |
</div>
|
|
|
17 |
<?php endforeach;
|