Example #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);
 }