Пример #1
0
 /**
  * Renders the element widget returning html
  *
  * @param array|null $attributes
  * @return string
  * @throws Exception
  */
 public function render($attributes = null)
 {
     if (is_array($attributes) === false && is_null($attributes) === false) {
         throw new Exception('Invalid parameter type.');
     }
     return Tag::emailField($this->fileField($attributes));
 }
Пример #2
0
 public static function emailField($parameters)
 {
     return parent::emailField($parameters);
 }