dolibarr 21.0.0-beta
DolibarrCollector Class Reference

DolibarrCollector class. More...

Inheritance diagram for DolibarrCollector:
Collaboration diagram for DolibarrCollector:

Public Member Functions

 getName ()
 Return collector name.
 
 collect ()
 Return collected data.
 
 getWidgets ()
 Return widget settings.
 
 getAssets ()
 Return collector assets.
 

Protected Member Functions

 getDatabaseInfo ()
 Return database info as an HTML string.
 
 getDolibarrInfo ()
 Return dolibarr info as an HTML string.
 
 getMailInfo ()
 Return mail info as an HTML string.
 

Detailed Description

DolibarrCollector class.

Definition at line 33 of file DolibarrCollector.php.

Member Function Documentation

◆ collect()

DolibarrCollector::collect ( )

Return collected data.

Returns
array<string,mixed> Array of collected data

Definition at line 50 of file DolibarrCollector.php.

◆ getAssets()

DolibarrCollector::getAssets ( )

Return collector assets.

Returns
array<string,string> Array

Definition at line 171 of file DolibarrCollector.php.

References dol_buildpath().

◆ getDatabaseInfo()

DolibarrCollector::getDatabaseInfo ( )
protected

Return database info as an HTML string.

Returns
string HTML string

Definition at line 60 of file DolibarrCollector.php.

References $conf.

Referenced by getWidgets().

◆ getDolibarrInfo()

DolibarrCollector::getDolibarrInfo ( )
protected

Return dolibarr info as an HTML string.

Returns
string HTML string

Definition at line 81 of file DolibarrCollector.php.

References $conf, and getDolGlobalString().

Referenced by getWidgets().

◆ getMailInfo()

DolibarrCollector::getMailInfo ( )
protected

Return mail info as an HTML string.

Returns
string HTML string

Definition at line 106 of file DolibarrCollector.php.

References $conf, and getDolGlobalString().

Referenced by getWidgets().

◆ getName()

DolibarrCollector::getName ( )

Return collector name.

Returns
string Name

Definition at line 40 of file DolibarrCollector.php.

◆ getWidgets()

DolibarrCollector::getWidgets ( )

Return widget settings.

Returns
array<string,array{icon?:string,indicator?:string,widget?:string,tooltip?:string|array{html:string,class:string},map:string,default:string}> Array

Definition at line 130 of file DolibarrCollector.php.

References getDatabaseInfo(), getDolibarrInfo(), and getMailInfo().


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