25use DebugBar\DataCollector\ConfigCollector;
43 $langs->transnoentities(
'Config') => array(
45 "widget" =>
"PhpDebugBar.Widgets.VariableListWidget",
46 "map" => $this->getName(),
61 return parent::collect();
74 $const = get_defined_constants(
true);
78 'const' => $const[
'user'],
83 'version' => PHP_VERSION,
84 'interface' => PHP_SAPI,
103 $_arr = is_object($obj) ? get_object_vars($obj) : $obj;
104 foreach ($_arr as $key => $val) {
105 $val = (is_array($val) || is_object($val)) ? $this->
objectToArray($val) : $val;
DolConfigCollector class.
collect()
Return collected data.
getWidgets()
Return widget settings.
objectToArray($obj)
Convert an object to array.
getConfig()
Returns an array with config data.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...