public function init()
    {
        $this->comment = array(EmailTemplate::PRODUCTWELCOME => ___('Product welcome email will be automatically sent immediately after payment received.
Product welcome email will not be sent if:
<ul>
    <li>User has unsubscribed from e-mail messages</li>
</ul>'), EmailTemplate::AUTORESPONDER => ___('Autoresponder message will be automatically sent by cron job
when configured conditions met. If you set message to be sent
after payment, it will be sent immediately after payment received.
Auto-responder message will not be sent if:
<ul>
    <li>User has unsubscribed from e-mail messages</li>
</ul>'), EmailTemplate::EXPIRE => ___('Expiration message will be sent when configured conditions met.
Additional restrictions applies to do not sent unnecessary e-mails.
Expiration message will not be sent if:
<ul>
    <li>User has other active products with the same renewal group</li>
    <li>User has unsubscribed from e-mail messages</li>
</ul>'));
        parent::init();
        $this->addCallback(self::CB_VALUES_FROM_FORM, array($this, '_valuesFromForm'));
    }
예제 #2
0
파일: Newsletter.php 프로젝트: grlf/eyedock
 public function init()
 {
     parent::init();
     $this->addCallback(self::CB_VALUES_FROM_FORM, array($this, '_valuesFromForm'));
 }
 public function init()
 {
     $this->comment = array(EmailTemplate::AUTORESPONDER => "Autoresponder message will be automatically sent by cron job \n         when configured conditions met. If you set message to be sent\n         after payment, it will be sent immediately after payment received.\n         Auto-responder message will not be sent if:\n         <ul> \n            <li>User has unsubscribed from e-mail messages</li>\n         </ul>\n        ", EmailTemplate::EXPIRE => "Expiration message will be sent when configured conditions met.\n         Additional restrictions applies to do not sent unnecessary e-mails.\n         Expiration message will not be sent if:\n         <ul> \n            <li>User has other subscriptions that lasts later</li>\n            <li>User has any active recurring subscription</li>\n            <li>User has unsubscribed from e-mail messages</li>\n         </ul>\n        ");
     parent::init();
     $this->addCallback(self::CB_VALUES_FROM_FORM, array($this, '_valuesFromForm'));
 }