dolibarr 21.0.0-alpha
CommonHookActions Class Reference

Parent class of all other hook actions classes. More...

Inheritance diagram for CommonHookActions:

Protected Member Functions

 isContext ($parameters, $allContexts)
 Check context of hook.
 

Detailed Description

Parent class of all other hook actions classes.

Definition at line 29 of file commonhookactions.class.php.

Member Function Documentation

◆ isContext()

CommonHookActions::isContext ( $parameters,
$allContexts )
protected

Check context of hook.

Parameters
array<string,mixed>$parameters Hook parameters.
string[] | string$allContextsContext to check
Returns
bool

Definition at line 57 of file commonhookactions.class.php.

References $context, and isContext().

Referenced by isContext().


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