Example #1
0
 protected function beforeSaveAction()
 {
     parent::beforeSaveAction();
     if ($this->getCampaignId() != '') {
         $this->setAccountId($this->resolveAccountId($this->getCampaignId()));
     }
 }