dolibarr 19.0.4
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 32 of file datapolicy.class.php.

Constructor & Destructor Documentation

◆ __construct()

DataPolicy::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

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

Member Function Documentation

◆ getAllAdherentsNotInformed()

DataPolicy::getAllAdherentsNotInformed ( )

getAllAdherentsNotInformed

Returns
integer

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

References sendMailDataPolicyAdherent().

◆ getAllCompaniesNotInformed()

DataPolicy::getAllCompaniesNotInformed ( )

getAllCompaniesNotInformed

Returns
integer

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

References sendMailDataPolicyCompany().

◆ getAllContactNotInformed()

DataPolicy::getAllContactNotInformed ( )

getAllContactNotInformed

Returns
integer

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

References Contact(), and sendMailDataPolicyContact().

◆ sendMailDataPolicyAdherent()

static DataPolicy::sendMailDataPolicyAdherent ( $adherent)
static

sendMailDataPolicyAdherent

Parameters
Adherent$adherentMember
Returns
void

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

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

Referenced by ActionsDatapolicy\doActions(), and getAllAdherentsNotInformed().

◆ sendMailDataPolicyCompany()

static DataPolicy::sendMailDataPolicyCompany ( $societe)
static

sendMailDataPolicyCompany

Parameters
Societe$societeObject societe
Returns
void

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

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

Referenced by ActionsDatapolicy\doActions(), and getAllCompaniesNotInformed().

◆ sendMailDataPolicyContact()

static DataPolicy::sendMailDataPolicyContact ( $contact)
static

sendMailDataPolicyContact

Parameters
mixed$contactContact
Returns
void

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

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

Referenced by ActionsDatapolicy\doActions(), and getAllContactNotInformed().


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