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