3 use \DebugBar\DataCollector\RequestDataCollector;
18 $vars = array(
'_GET',
'_POST',
'_SESSION',
'_COOKIE',
'_SERVER');
21 foreach ($vars as $var) {
22 if (isset($GLOBALS[$var])) {
23 $arrayofvalues = $GLOBALS[$var];
25 if ($var ==
'_COOKIE') {
26 foreach ($arrayofvalues as $key => $val) {
27 if (preg_match(
'/^DOLSESSID_/', $key)) {
28 $arrayofvalues[$key] =
'*****hidden*****';
34 $data[
"$".$var] = $this->getDataFormatter()->formatVar($arrayofvalues);
50 $langs->load(
"other");
53 $langs->transnoentities(
'Variables') => array(
55 "widget" =>
"PhpDebugBar.Widgets.VariableListWidget",
DolRequestDataCollector class.
collect()
Collects the data from the collectors.
getWidgets()
Return widget settings.