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>
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>