-
Notifications
You must be signed in to change notification settings - Fork 567
Expand file tree
/
Copy pathdump_panel.php
More file actions
35 lines (31 loc) · 1004 Bytes
/
dump_panel.php
File metadata and controls
35 lines (31 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* Debug Panel Element
*
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link https://cakephp.org CakePHP(tm) Project
* @since DebugKit 5.1
* @license https://www.opensource.org/licenses/mit-license.php MIT License
*/
/**
* @var \DebugKit\View\AjaxView $this
* @var array $statements
*/
?>
<div class="c-dump-panel">
<?php
foreach ($statements as $statement) {
echo '<pre class="cake-debug-string">' . h($statement['var']) . '</pre>';
if (!empty($statement['location'])) {
echo '<small>' . h($statement['location']['file']) . ':' . h($statement['location']['line']) . '</small>';
}
}
?>
<h4></h4>
</div>