dolibarr  13.0.2
Public Member Functions | Static Public Member Functions | List of all members
DataPolicy Class Reference

Class DataPolicy. More...

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Class DataPolicy.

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

Constructor & Destructor Documentation

DataPolicy::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

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

References db.

Member Function Documentation

DataPolicy::getAllAdherentsNotInformed ( )

getAllAdherentsNotInformed

Returns
number

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

References $resql, db, and sendMailDataPolicyAdherent().

DataPolicy::getAllCompaniesNotInformed ( )

getAllCompaniesNotInformed

Returns
number

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

References $resql, db, and sendMailDataPolicyCompany().

DataPolicy::getAllContactNotInformed ( )

getAllContactNotInformed

Returns
number

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

References $resql, db, and sendMailDataPolicyContact().

static DataPolicy::sendMailDataPolicyAdherent (   $adherent)
static

sendMailDataPolicyAdherent

Parameters
Adherent$adherentMember
Returns
void

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

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

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

static DataPolicy::sendMailDataPolicyCompany (   $societe)
static

sendMailDataPolicyCompany

Parameters
Societe$societeObject societe
Returns
void

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

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

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

static DataPolicy::sendMailDataPolicyContact (   $contact)
static

sendMailDataPolicyContact

Parameters
mixed$contactContact
Returns
void

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

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

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


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