NEW Can generate the email selector file

This commit is contained in:
Laurent Destailleur
2024-01-11 02:47:42 +01:00
parent 24fe79b1c6
commit 6b42b48d20
3 changed files with 51 additions and 15 deletions

View File

@@ -15,12 +15,12 @@ dol_include_once("/mymodule/class/myobject.class.php");
/**
* mailing_mailinglist_mymodule
*/
class mailing_mailinglist_mymodule_myobject extends MailingTargets
class mailing_mailing_mymodule_selector1 extends MailingTargets
{
// CHANGE THIS: Put here a name not already used
public $name = 'mailinglist_mymodule_myobject';
public $name = 'mailing_mymodule_selector1';
// CHANGE THIS: Put here a description of your selector module
public $desc = 'My object emailing target selector';
public $desc = 'Emailing target selector1';
// CHANGE THIS: Set to 1 if selector is available for admin users only
public $require_admin = 0;