Esempio n. 1
0
 /**
  * Renders a checkbox 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 check box.
  * @see BSHtml::activeCheckBox
  */
 public function checkBox($model, $attribute, $htmlOptions = array())
 {
     return BSHtml::activeCheckBox($model, $attribute, $htmlOptions);
 }