dolibarr 18.0.6
InterfaceStripe Class Reference

Class of triggers for stripe module. More...

Inheritance diagram for InterfaceStripe:
Collaboration diagram for InterfaceStripe:

Public Member Functions

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

Detailed Description

Class of triggers for stripe module.

Definition at line 36 of file interface_80_modStripe_Stripe.class.php.

Constructor & Destructor Documentation

◆ __construct()

InterfaceStripe::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 43 of file interface_80_modStripe_Stripe.class.php.

References description, and name.

Member Function Documentation

◆ runTrigger()

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

Function called when a Dolibarrr 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 <0 if KO, 0 if no triggered ran, >0 if OK

Reimplemented from DolibarrTriggers.

Definition at line 66 of file interface_80_modStripe_Stripe.class.php.

References dol_syslog(), GETPOST(), isInEEC(), and name.


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