widgets/TbActiveForm.php
public function numberField($model, $attribute, $htmlOptions = array())
    {
        return $this->createInput(TbHtml::INPUT_TYPE_NUMBER, $model, $attribute, $htmlOptions);
    }
public function numberField($model, $attribute, $htmlOptions = array())
    {
        return $this->createInput(TbHtml::INPUT_TYPE_NUMBER, $model, $attribute, $htmlOptions);
    }
public function numberField ( $ model , $ attribute , $ htmlOptions = array ( ) ) { return $ this -> createInput ( TbHtml :: INPUT_TYPE_NUMBER , $ model , $ attribute , $ htmlOptions ) ; }
Generates a number field for a model attribute.
@param CModel $model the data model.
@param string $attribute the attribute.
@param array $htmlOptions additional HTML attributes.
@return string the generated input field.
@see TbHtml::activeNumberField
Generates a number field for a model attribute .