views:

18

answers:

1

I'm doing this in my model....

   protected $_rules = array(
      'id' => array(
            'not_empty' => NULL,
            'numeric' => array(TRUE)
             )
....

Am I doing it right for the numeric qualifier?

Thanks.

A: 

Yes, you are doing it right.

egis