dolibarr  20.0.0-beta
Public Member Functions | List of all members
DolHooksCollector Class Reference

DolRequestDataCollector class. More...

Inheritance diagram for DolHooksCollector:
Inheritance graph
[legend]
Collaboration diagram for DolHooksCollector:
Collaboration graph
[legend]

Public Member Functions

 collect ()
 Collects the data from the collectors. More...
 
 getWidgets ()
 Return widget settings. More...
 
 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: