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

Class of triggers for Zapier module. More...

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

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 runTrigger ($action, $object, User $user, Translate $langs, Conf $conf)
 Function called when a Dolibarr business event is done. More...
 
- Public Member Functions inherited from DolibarrTriggers
 __construct (DoliDB $db)
 Constructor. More...
 
 getName ()
 Returns the name of the trigger file. More...
 
 getDesc ()
 Returns the description of trigger file. More...
 
 getVersion ()
 Returns the version of the trigger file. More...
 
 setErrorsFromObject (CommonObject $object)
 setErrorsFromObject More...
 

Detailed Description

Class of triggers for Zapier module.

Definition at line 31 of file interface_95_modZapier_ZapierTriggers.class.php.

Constructor & Destructor Documentation

◆ __construct()

InterfaceZapierTriggers::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 38 of file interface_95_modZapier_ZapierTriggers.class.php.

References name.

Member Function Documentation

◆ runTrigger()

InterfaceZapierTriggers::runTrigger (   $action,
  $object,
User  $user,
Translate  $langs,
Conf  $conf 
)

Function called when a Dolibarr business event is done.

All functions "runTrigger" are triggered if file is inside directory core/triggers

Parameters
string$actionEvent action code
CommonObject$objectObject
User$userObject user
Translate$langsObject langs
Conf$confObject conf
Returns
int Return integer <0 if KO, 0 if no triggered ran, >0 if OK

Reimplemented from DolibarrTriggers.

Definition at line 61 of file interface_95_modZapier_ZapierTriggers.class.php.


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