Beispiel #1
0
 function init()
 {
     parent::init();
     $this->addCondition('is_active', true);
     $ass_j = $this->join('post_email_association.emailsetting_id');
     $ass_j->addField('post_id');
     $this->addCondition('post_id', $this->app->employee['post_id']);
     $this->addExpression('post_email')->set(function ($m, $q) {
         return $q->getField('email_username');
     });
 }
Beispiel #2
0
 function init()
 {
     parent::init();
     $this->addCondition('mass_mail', true);
 }