Such usage is very bug prone in case one mistypes 'post':
if ($request->isMethod('post'))
It's better to use ->isPostMethod() or ->isMethod(sfRequest::POST) and
let the compiler catch bugs early.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---- [symfony-users] Symfony 1.1 Questions Keith
- [symfony-users] Re: Symfony 1.1 Questions Fabien POTENCIER
- [symfony-users] Re: Symfony 1.1 Questions Keith
- [symfony-users] Re: Symfony 1.1 Questions weaverryan
- [symfony-users] Re: Symfony 1.1 Quest... Keith
- [symfony-users] Re: Symfony 1.1 ... rihad
- [symfony-users] Re: Symfony ... Ian P. Christian
- [symfony-users] Thank yo... Andrew von Hoesslin
- [symfony-users] Re: Than... Fabian Lange
- [symfony-users] Re: Than... Andrew von Hoesslin
- [symfony-users] Re: Than... Andrew von Hoesslin
- [symfony-users] Re: Than... Jérôme TEXIER
- [symfony-users] Re: Symfony 1.1 Quest... CaffeineInc
- [symfony-users] Symfony 1.1 Ques... Lee Bolding
- [symfony-users] Re: Symfony ... Tristan Rivoallan
- [symfony-users] Re: Symf... Lee Bolding
