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 33 of file datapolicy.class.php.

Constructor & Destructor Documentation

◆ __construct()

DataPolicy::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

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

Member Function Documentation

◆ getAllAdherentsNotInformed()

DataPolicy::getAllAdherentsNotInformed ( )

getAllAdherentsNotInformed

Returns
integer

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

References sendMailDataPolicyAdherent().

◆ getAllCompaniesNotInformed()

DataPolicy::getAllCompaniesNotInformed ( )

getAllCompaniesNotInformed

Returns
integer

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

References sendMailDataPolicyCompany().

◆ getAllContactNotInformed()

DataPolicy::getAllContactNotInformed ( )

getAllContactNotInformed

Returns
integer

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

References sendMailDataPolicyContact().

◆ sendMailDataPolicyAdherent()

static DataPolicy::sendMailDataPolicyAdherent ( $adherent)
static

sendMailDataPolicyAdherent

Parameters
Adherent$adherentMember
Returns
void

Definition at line 324 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 249 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
mixed$contactContact
Returns
void

Definition at line 171 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: