예제 #1
0
 /**
  * Renders a list box 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 list box.
  * @see BSHtml::activeListBox
  */
 public function listBox($model, $attribute, $data, $htmlOptions = array())
 {
     return BSHtml::activeListBox($model, $attribute, $data, $htmlOptions);
 }