dolibarr 18.0.6
|
Parent class of emailing target selectors modules. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
getDesc () | |
Return description of email selector. | |
getNbOfRecords () | |
Return number of records for email selector. | |
getNbOfRecipients ($sql) | |
Retourne nombre de destinataires. | |
formFilter () | |
Affiche formulaire de filtre qui apparait dans page de selection des destinataires de mailings. | |
update_nb ($mailing_id) | |
Met a jour nombre de destinataires. | |
addTargetsToDatabase ($mailing_id, $cibles) | |
Add a list of targets into the database. | |
clear_target ($mailing_id) | |
Supprime tous les destinataires de la table des cibles. | |
Parent class of emailing target selectors modules.
Definition at line 32 of file modules_mailings.php.
MailingTargets::__construct | ( | $db | ) |
Constructor.
Reimplemented in mailing_advthirdparties, mailing_contacts1, mailing_eventorganization, mailing_fraise, mailing_mailinglist_mymodule_myobject, mailing_partnership, mailing_pomme, mailing_thirdparties, mailing_thirdparties_services_expired, mailing_xinputfile, and mailing_xinputuser.
Definition at line 68 of file modules_mailings.php.
MailingTargets::addTargetsToDatabase | ( | $mailing_id, | |
$cibles ) |
Add a list of targets into the database.
int | $mailing_id | Id of emailing |
array | $cibles | Array with targets |
Definition at line 180 of file modules_mailings.php.
References dol_hash(), dol_print_error(), dol_syslog(), getDolGlobalString(), and update_nb().
MailingTargets::clear_target | ( | $mailing_id | ) |
Supprime tous les destinataires de la table des cibles.
int | $mailing_id | Id of emailing |
Definition at line 271 of file modules_mailings.php.
References dol_syslog(), and update_nb().
MailingTargets::formFilter | ( | ) |
Affiche formulaire de filtre qui apparait dans page de selection des destinataires de mailings.
Reimplemented in mailing_advthirdparties, mailing_contacts1, mailing_eventorganization, mailing_fraise, mailing_mailinglist_mymodule_myobject, mailing_partnership, mailing_pomme, mailing_thirdparties, mailing_thirdparties_services_expired, mailing_xinputfile, and mailing_xinputuser.
Definition at line 137 of file modules_mailings.php.
MailingTargets::getDesc | ( | ) |
Return description of email selector.
Definition at line 78 of file modules_mailings.php.
References name.
MailingTargets::getNbOfRecipients | ( | $sql | ) |
Retourne nombre de destinataires.
string | $sql | Sql request to count |
Reimplemented in mailing_advthirdparties, mailing_contacts1, mailing_eventorganization, mailing_fraise, mailing_mailinglist_mymodule_myobject, mailing_partnership, mailing_pomme, mailing_thirdparties, mailing_thirdparties_services_expired, mailing_xinputfile, and mailing_xinputuser.
Definition at line 116 of file modules_mailings.php.
MailingTargets::getNbOfRecords | ( | ) |
Return number of records for email selector.
Definition at line 105 of file modules_mailings.php.
MailingTargets::update_nb | ( | $mailing_id | ) |
Met a jour nombre de destinataires.
int | $mailing_id | Id of emailing |
Definition at line 149 of file modules_mailings.php.
References dol_syslog().
Referenced by addTargetsToDatabase(), and clear_target().