dolibarr
21.0.0-beta
Main Page
Related Pages
Topics
Classes
Files
File List
File Members
dolibarr_dev
htdocs
debugbar
class
DataCollector
DolExceptionsCollector.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) 2023 Laurent Destailleur <eldy@users.sourceforge.net>
3
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17
*/
18
25
use DebugBar\DataCollector\ExceptionsCollector;
26
31
class
DolExceptionsCollector
extends
ExceptionsCollector
32
{
38
public
function
getWidgets
()
39
{
40
global $langs;
41
42
$title = $langs->transnoentities(
'Exceptions'
);
43
44
return
array(
45
"$title"
=> array(
46
'icon'
=>
'bug'
,
47
'widget'
=>
'PhpDebugBar.Widgets.ExceptionsWidget'
,
48
'map'
=>
'exceptions.exceptions'
,
49
'default'
=>
'[]'
50
),
51
"$title:badge"
=> array(
52
'map'
=>
'exceptions.count'
,
53
'default'
=>
'null'
54
)
55
);
56
}
57
}
DolExceptionsCollector
DolExceptionsCollector class.
Definition
DolExceptionsCollector.php:32
DolExceptionsCollector\getWidgets
getWidgets()
Return widget settings.
Definition
DolExceptionsCollector.php:38
Generated on Sun Dec 1 2024 01:00:29 for
dolibarr
by Doxygen 1.11.0