IFeedbackForm::getTheme PHP Метод

getTheme() публичный Метод

public getTheme ( ) : mixed
Результат mixed
    public function getTheme();

Usage Example

Пример #1
0
 /**
  * @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;
 }
All Usage Examples Of IFeedbackForm::getTheme