On 25 Jun 2009, at 15:26, Tom Haskins-Vaughan wrote:

>
> Just come across this problem. What's the best way to test if the  
> model
> class is being called by the cli or not?

Test for the presence of the $_SERVER array. 
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to