> Whoa! why is X allowed to use the same tone and Y is not?
I suppose I was seeing it as new member vs older member, and saw a
little difference in expectations that may not really be there.
Your response isn't as harsh as I made it out to be -- sorry to jump
on you like that, no hard feelings.
Anyhow,
I was playing around with recent model code:
var $validate = array(
'field_name' => array(
array('rule' => 'validationMethod1',
'message'=>'validationMethod1
failed.'),
array('rule' => 'validationMethod2',
'message'=>'validationMethod2
failed.'),
),
);
Rule can be an array as to pass parameters to the method (i'm bet
mariano is covering all this though).
There doesn't appear to be good control of ordering yet it just uses
the last one in -- 'last' isn't being used as far as I can tell.
Pretty slick nonetheless.
Regards,
Travis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---