On Sat, Dec 20, 2008 at 1:50 PM, zero0x <[email protected]> wrote:
> hey.. how to I $this->validatorSchema['item']->setMessages(array
> ('required'=>'This is required')); for all items.
As of symfony 1.2, you can do
sfValidatorBase::setRequiredMessage('This is required');
And also sfValidatorBase::setInvalidMessage('That is invalid');
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---