Go to the documentation of this file.
17 include_once DOL_DOCUMENT_ROOT.
'/core/modules/mailings/modules_mailings.php';
29 public $name =
'example';
32 public $desc =
'Put here a description';
34 public $require_admin = 0;
36 public $tooltip =
'MyTooltipLangKey';
38 public $require_module = array();
87 return parent::addTargetsToDatabase($mailing_id, $target);
$conf db
API class for accounts.
url($id)
Can include an URL link on each record provided by selector shown on target page.
Parent class of emailing target selectors modules.
getNbOfRecipients($sql='')
Return here number of distinct emails returned by your selector.
formFilter()
This is to add a form filter to provide variant of selector If used, the HTML select must be called "...
Class to manage a list of personalised recipients for mailing feature.
add_to_target($mailing_id)
This is the main function that returns the array of emails.
getSqlArrayForStats()
On the main mailing area, there is a box with statistics.
__construct($db)
Constructor.