I get back: Trainings::__set_state(array( 'id' => 4, 'title' => 'OWL with a New Lens', 'google_id' => NULL, 'type_id' => NULL, 'instructor' => 118, 'created_on' => 1191337811, 'updated_on' => 1193857922, 'aTrainingtype' => NULL, 'aContacts' => NULL, 'collTrainingDayss' => NULL, 'lastTrainingDaysCriteria' => NULL, 'alreadyInSave' => false, 'alreadyInValidation' => false, 'validationFailures' => array ( ), '_new' => false, '_deleted' => false, 'modifiedColumns' => array ( ), ))
On Oct 29, 2:49 pm, Michael Smith <[EMAIL PROTECTED]> wrote: > 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 > inhttp://www.php.net/manual/en/function.var-dump.phpif 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 -~----------~----~----~----~------~----~------~--~---
