Numberfieldrow , Possible?

Hi, I’m newbie, well I try to make this in my form


<?php echo $form->numberFieldRow($model,'edad',array('class'=>'span1','min'=>0,'max'=>10)); ?>

and in TbActiveForm


	public function numberFieldRow($model, $attribute, $htmlOptions = array())

	{

		return $this->inputRow(TbInput::TYPE_NUMBER, $model, $attribute, null, $htmlOptions);

	}

, then in TbInput


const TYPE_NUMBER = 'number';....case self::TYPE_NUMBER:

				$this->numberField();

				break;

, that doesn´t work why?

I do not understand what you want to do