| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function getWidgets() |
||
| 41 | { |
||
| 42 | global $langs; |
||
| 43 | |||
| 44 | $title = $langs->transnoentities('Exceptions'); |
||
| 45 | |||
| 46 | return array( |
||
| 47 | "$title" => array( |
||
| 48 | 'icon' => 'bug', |
||
| 49 | 'widget' => 'PhpDebugBar.Widgets.ExceptionsWidget', |
||
| 50 | 'map' => 'exceptions.exceptions', |
||
| 51 | 'default' => '[]' |
||
| 52 | ), |
||
| 53 | "$title:badge" => array( |
||
| 54 | 'map' => 'exceptions.count', |
||
| 55 | 'default' => 'null' |
||
| 56 | ) |
||
| 60 |