Beispiel #1
0
 /**
  * Renders a checkbox list for a model attribute.
  * This method is a wrapper of {@link GxHtml::activeCheckBoxList}.
  * #MethodTracker
  * This method is based on {@link CActiveForm::checkBoxList}, from version 1.1.7 (r3135). Changes:
  * <ul>
  * <li>Uses GxHtml.</li>
  * </ul>
  * @see CActiveForm::checkBoxList
  * @param CModel $model The data model.
  * @param string $attribute The attribute.
  * @param array $data Value-label pairs used to generate the check box list.
  * @param array $htmlOptions Addtional HTML options.
  * @return string The generated check box list.
  */
 public function checkBoxList($model, $attribute, $data, $htmlOptions = array())
 {
     return GxHtml::activeCheckBoxList($model, $attribute, $data, $htmlOptions);
 }