How to define alpha or alphanumeric rules for a ORM model using Kohana 3?

krevedko

New Member
I'm doing this in my model....\[code\] protected $_rules = array( 'id' => array( 'not_empty' => NULL, 'numeric' => array(TRUE) )....\[/code\]Am I doing it right for the numeric qualifier?Thanks.
 
Back
Top