I want to make query: $this->text = Doctrine::getTable('Texts')->getRandomText(); before each action. And in view use: echo $text->getText();
How can I make this query before each action and pass result to view ? Only solution is to use preExecute() function in each module with this query ? Or maybe I should make this query in filter class but how can I pass then result to view ? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.