dolibarr 21.0.0-alpha
DataPolicy Class Reference

Class DataPolicy. More...

Public Member Functions

 __construct ($db)
 Constructor.
 
 getAllContactNotInformed ()
 getAllContactNotInformed
 
 getAllCompaniesNotInformed ()
 getAllCompaniesNotInformed
 
 getAllAdherentsNotInformed ()
 getAllAdherentsNotInformed
 

Static Public Member Functions

static sendMailDataPolicyContact ($contact)
 sendMailDataPolicyContact
 
static sendMailDataPolicyCompany ($societe)
 sendMailDataPolicyCompany
 
static sendMailDataPolicyAdherent ($adherent)
 sendMailDataPolicyAdherent
 

Detailed Description

Class DataPolicy.

Definition at line 34 of file datapolicy.class.php.

Constructor & Destructor Documentation

◆ __construct()

DataPolicy::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 52 of file datapolicy.class.php.

Member Function Documentation

◆ getAllAdherentsNotInformed()

DataPolicy::getAllAdherentsNotInformed ( )

getAllAdherentsNotInformed

Returns
integer

Definition at line 137 of file datapolicy.class.php.

References sendMailDataPolicyAdherent().

◆ getAllCompaniesNotInformed()

DataPolicy::getAllCompaniesNotInformed ( )

getAllCompaniesNotInformed

Returns
integer

Definition at line 100 of file datapolicy.class.php.

References sendMailDataPolicyCompany().

◆ getAllContactNotInformed()

DataPolicy::getAllContactNotInformed ( )

getAllContactNotInformed

Returns
integer

Definition at line 62 of file datapolicy.class.php.

References sendMailDataPolicyContact().

◆ sendMailDataPolicyAdherent()

static DataPolicy::sendMailDataPolicyAdherent ( $adherent)
static

sendMailDataPolicyAdherent

Parameters
Adherent$adherentMember
Returns
void

Definition at line 328 of file datapolicy.class.php.

References dol_buildpath(), dol_concatdesc(), dol_hash(), dol_print_error(), getDolGlobalString(), make_substitutions(), and setEventMessage().

Referenced by getAllAdherentsNotInformed().

◆ sendMailDataPolicyCompany()

static DataPolicy::sendMailDataPolicyCompany ( $societe)
static

sendMailDataPolicyCompany

Parameters
Societe$societeObject societe
Returns
void

Definition at line 253 of file datapolicy.class.php.

References dol_buildpath(), dol_concatdesc(), dol_hash(), dol_print_error(), getDolGlobalString(), make_substitutions(), and setEventMessage().

Referenced by getAllCompaniesNotInformed().

◆ sendMailDataPolicyContact()

static DataPolicy::sendMailDataPolicyContact ( $contact)
static

sendMailDataPolicyContact

Parameters
Contact$contactContact
Returns
void

Definition at line 175 of file datapolicy.class.php.

References dol_buildpath(), dol_concatdesc(), dol_hash(), dol_print_error(), getDolGlobalString(), make_substitutions(), and setEventMessage().

Referenced by getAllContactNotInformed().


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