/** * 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)); }
public static function emailField($parameters) { return parent::emailField($parameters); }