widgets/TbActiveForm.php
public function createControlGroup($type, $model, $attribute, $htmlOptions = array(), $data = array())
    {
        $htmlOptions = $this->processControlGroupOptions($model, $attribute, $htmlOptions);
        return TbHtml::activeControlGroup($type, $model, $attribute, $htmlOptions, $data);
    }
public function createControlGroup($type, $model, $attribute, $htmlOptions = array(), $data = array())
    {
        $htmlOptions = $this->processControlGroupOptions($model, $attribute, $htmlOptions);
        return TbHtml::activeControlGroup($type, $model, $attribute, $htmlOptions, $data);
    }
public function createControlGroup ( $ type , $ model , $ attribute , $ htmlOptions = array ( ) , $ data = array ( ) ) { $ htmlOptions = $ this -> processControlGroupOptions ( $ model , $ attribute , $ htmlOptions ) ; return TbHtml :: activeControlGroup ( $ type , $ model , $ attribute , $ htmlOptions , $ data ) ; }
Generates a control group for a model attribute.
@param string $type the input type.
@param CModel $model the data model.
@param string $attribute the attribute name.
@param array $htmlOptions additional HTML attributes.
@param array $data data for generating the list options (value=>display).
@return string the generated control group.
@see TbHtml::activeControlGroup
Generates a control group for a model attribute .