Пример #1
0
 /**
  * Renders a checkbox list for a model attribute.
  * @param CModel $model the data model.
  * @param string $attribute the attribute.
  * @param array $data data for generating the list options (value=>display)
  * @param array $htmlOptions additional HTML attributes.
  * @return string the generated checkbox list.
  * @see BSHtml::activeCheckBoxList
  */
 public function checkBoxList($model, $attribute, $data, $htmlOptions = array())
 {
     return BSHtml::activeCheckBoxList($model, $attribute, $data, $htmlOptions);
 }