do a var_dump($this->getTrainings()) it will print directly to output
so it will probably mess up the output in the browser see the tip in
http://www.php.net/manual/en/function.var-dump.php if this a problem.
If it is an array current($this->getTrainings())->__toString() should
work. If it is an array you should have the same problem in 5.2 though.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to