Example #1
0
 /**
  * Generates a control group with a check box 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::activeCheckBoxControlGroup
  */
 public function checkBoxControlGroup($model, $attribute, $htmlOptions = array())
 {
     $htmlOptions = $this->processRowOptions($model, $attribute, $htmlOptions);
     return BsHtml::activeCheckBoxControlGroup($model, $attribute, $htmlOptions);
 }