Shouldn't those methods return $this, to allow for method chaining ?
Same goes for the sfValidatorBase class;

It'd br much easier to do something like this:
$this->widgetSchema['name']->setLabel('The user name')->setAttribute
('size', 50);
$this->validatorSchema['name']->setOptions(array
('required'=>'false','max_length', 50))->setMessage
('max_length'=>'Username is too long');

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to