dolibarr 24.0.0-beta
ActionsBlockedlog Class Reference

Class ActionsBlockedlog. More...

Inheritance diagram for ActionsBlockedlog:
Collaboration diagram for ActionsBlockedlog:

Public Member Functions

 __construct ($db)
 Constructor.
 
 beforePDFCreation ($parameters, &$object, &$action)
 Execute action before PDF (document) creation.
 
 afterPDFCreation ($parameters, &$pdfhandler, &$action)
 Execute action after PDF (document) creation.
 

Additional Inherited Members

- Protected Member Functions inherited from CommonHookActions
 isContext ($parameters, $allContexts)
 Check context of hook.
 

Detailed Description

Class ActionsBlockedlog.

Definition at line 30 of file actions_blockedlog.class.php.

Constructor & Destructor Documentation

◆ __construct()

ActionsBlockedlog::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 69 of file actions_blockedlog.class.php.

Member Function Documentation

◆ afterPDFCreation()

ActionsBlockedlog::afterPDFCreation ( $parameters,
& $pdfhandler,
& $action )

Execute action after PDF (document) creation.

Parameters
array<string,mixed>$parameters Array of parameters
CommonDocGenerator$pdfhandlerPDF builder handler
string$action'add', 'update', 'view'
Returns
int Return integer <0 if KO, =0 if OK but we want to process standard actions too, >0 if OK and we want to replace standard actions.

Definition at line 115 of file actions_blockedlog.class.php.

References $conf, and dol_syslog().

◆ beforePDFCreation()

ActionsBlockedlog::beforePDFCreation ( $parameters,
& $object,
& $action )

Execute action before PDF (document) creation.

Parameters
array<string,mixed>$parameters Array of parameters
CommonObject$objectObject output on PDF
string$action'add', 'update', 'view'
Returns
int Return integer <0 if KO, =0 if OK but we want to process standard actions too, >0 if OK and we want to replace standard actions.

Definition at line 85 of file actions_blockedlog.class.php.

References $conf, and dol_syslog().


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