Example #1
0
 /**
  * Generates a control group with an email field for a model attribute.
  * @param CModel $model the data model.
  * @param string $attribute the attribute name.
  * @param array $htmlOptions additional HTML attributes.
  * @return string the generated row.
  * @see BsHtml::activeEmailFieldControlGroup
  */
 public function emailFieldControlGroup($model, $attribute, $htmlOptions = array())
 {
     $htmlOptions = $this->processRowOptions($model, $attribute, $htmlOptions);
     return BsHtml::activeEmailFieldControlGroup($model, $attribute, $htmlOptions);
 }