widgets/TbActiveForm.php
public function dropDownList($model, $attribute, $data, $htmlOptions = array())
    {
        return $this->createInput(TbHtml::INPUT_TYPE_DROPDOWNLIST, $model, $attribute, $htmlOptions, $data);
    }
public function dropDownList($model, $attribute, $data, $htmlOptions = array())
    {
        return $this->createInput(TbHtml::INPUT_TYPE_DROPDOWNLIST, $model, $attribute, $htmlOptions, $data);
    }
public function dropDownList ( $ model , $ attribute , $ data , $ htmlOptions = array ( ) ) { return $ this -> createInput ( TbHtml :: INPUT_TYPE_DROPDOWNLIST , $ model , $ attribute , $ htmlOptions , $ data ) ; }
Generates a dropdown 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 drop down list.
@see TbHtml::activeDropDownList
Generates a dropdown list for a model attribute .