IFeedbackForm::getName PHP Method

getName() public method

public getName ( ) : mixed
return mixed
    public function getName();

Usage Example

Exemplo n.º 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::getName