Example #1
0
 public function onSend($recordId = null, $context = null)
 {
     $result = $this->asExtension('FormController')->update_onSave($recordId, $context);
     if ($model = $this->formGetModel()) {
         CampaignManager::instance()->confirmReady($model);
     }
     return $result;
 }
 /**
  * Initialize this singleton.
  */
 protected function init()
 {
     $this->campaignManager = CampaignManager::instance();
 }