dolibarr 20.0.2
DolConfigCollector Class Reference

DolConfigCollector class. More...

Inheritance diagram for DolConfigCollector:
Collaboration diagram for DolConfigCollector:

Public Member Functions

 getWidgets ()
 Return widget settings.
 
 collect ()
 Return collected data.
 

Protected Member Functions

 getConfig ()
 Returns an array with config data.
 
 objectToArray ($obj)
 Convert an object to array.
 

Detailed Description

DolConfigCollector class.

Definition at line 30 of file DolConfigCollector.php.

Member Function Documentation

◆ collect()

DolConfigCollector::collect ( )

Return collected data.

Returns
array Array of collected data

Definition at line 56 of file DolConfigCollector.php.

References getConfig().

◆ getConfig()

DolConfigCollector::getConfig ( )
protected

Returns an array with config data.

Returns
array Array of config

Definition at line 68 of file DolConfigCollector.php.

References objectToArray().

Referenced by collect().

◆ getWidgets()

DolConfigCollector::getWidgets ( )

Return widget settings.

Returns
array Array

Definition at line 37 of file DolConfigCollector.php.

◆ objectToArray()

DolConfigCollector::objectToArray ( $obj)
protected

Convert an object to array.

Parameters
mixed$objObject
Returns
array Array

Definition at line 98 of file DolConfigCollector.php.

References objectToArray().

Referenced by getConfig(), and objectToArray().


The documentation for this class was generated from the following file: