dolibarr 20.0.0
DolHooksCollector Class Reference

DolRequestDataCollector class. More...

Inheritance diagram for DolHooksCollector:
Collaboration diagram for DolHooksCollector:

Public Member Functions

 collect ()
 Collects the data from the collectors.
 
 getWidgets ()
 Return widget settings.
 
 getName ()
 

Detailed Description

DolRequestDataCollector class.

Definition at line 30 of file DolHooksCollector.php.

Member Function Documentation

◆ collect()

DolHooksCollector::collect ( )

Collects the data from the collectors.

Returns
array{nb_of_hooks:int,hooks:array<string,array{contexts:string}>} Array of collected data

@global $hookmanager HookManager

Definition at line 37 of file DolHooksCollector.php.

◆ getName()

DolHooksCollector::getName ( )
Returns
string

Definition at line 90 of file DolHooksCollector.php.

◆ getWidgets()

DolHooksCollector::getWidgets ( )

Return widget settings.

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

Definition at line 67 of file DolHooksCollector.php.


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