dolibarr 21.0.0-beta
DolMemoryCollector Class Reference

DolMemoryCollector class. More...

Inheritance diagram for DolMemoryCollector:
Collaboration diagram for DolMemoryCollector:

Public Member Functions

 collect ()
 Return value of indicator.
 
 getWidgets ()
 Return widget settings.
 

Detailed Description

DolMemoryCollector class.

Definition at line 30 of file DolMemoryCollector.php.

Member Function Documentation

◆ collect()

DolMemoryCollector::collect ( )

Return value of indicator.

Returns
array{peak_usage:string,peak_usage_str:string} Array

Definition at line 37 of file DolMemoryCollector.php.

References $conf, and dol_print_size().

◆ getWidgets()

DolMemoryCollector::getWidgets ( )

Return widget settings.

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

Definition at line 54 of file DolMemoryCollector.php.


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