dolibarr 19.0.3
InterfaceLdapsynchro Class Reference

Class of triggers for ldap module. More...

Inheritance diagram for InterfaceLdapsynchro:
Collaboration diagram for InterfaceLdapsynchro:

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.
 
 setErrorsFromObject ($object)
 setErrorsFromObject
 

Detailed Description

Class of triggers for ldap module.

Definition at line 32 of file interface_50_modLdap_Ldapsynchro.class.php.

Constructor & Destructor Documentation

◆ __construct()

InterfaceLdapsynchro::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 39 of file interface_50_modLdap_Ldapsynchro.class.php.

References description, and name.

Member Function Documentation

◆ runTrigger()

InterfaceLdapsynchro::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 htdocs/core/triggers or htdocs/module/code/triggers (and declared)

Parameters
string$actionEvent action code
Object$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 62 of file interface_50_modLdap_Ldapsynchro.class.php.

References dol_syslog(), getDolGlobalInt(), getDolGlobalString(), name, and Ldap\SYNCHRO_DOLIBARR_TO_LDAP.


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