Beispiel #1
0
 /**
  * Renders an email field for a model attribute.
  * @param CModel $model the data model.
  * @param string $attribute the attribute.
  * @param array $htmlOptions additional HTML attributes.
  * @return string the generated input field.
  * @see BSHtml::activeEmailField
  */
 public function emailField($model, $attribute, $htmlOptions = array())
 {
     return BSHtml::activeEmailField($model, $attribute, $htmlOptions);
 }