Exemple #1
0
 function init()
 {
     parent::init();
     $this->getElement('status')->defaultValue('Outbox');
     $this->addCondition('communication_type', 'ReminderEmail');
     $this->addCondition('direction', 'Out');
 }
Exemple #2
0
 function init()
 {
     parent::init();
     $this->getElement('status')->defaultValue('Draft');
     $this->addCondition('communication_type', 'Newsletter');
     $this->addCondition('direction', 'Out');
 }
Exemple #3
0
 function init()
 {
     parent::init();
     $this->addCondition('communication_type', 'Email');
     $this->addCondition($this->dsql()->orExpr()->where('from_id', 'not', null)->where('to_id', 'not', null));
 }