public function getTheme();
/** * @param IFeedbackForm $form * @return bool */ public function send(IFeedbackForm $form) { $emailBody = Yii::app()->getController()->renderPartial('feedbackEmail', ['model' => $form], true); foreach (explode(',', $this->module->emails) as $email) { $this->mail->send($this->module->notifyEmailFrom, $email, $form->getTheme(), $emailBody, false, [$form->getEmail() => $form->getName()]); } if ($this->module->sendConfirmation) { $this->sendConfirmation($form); } return true; }