You should take a look at the symfony Routing Classes if your Criteria is based on the url (sfRoute / sfPropelRoute). There you can catch the url and do your database logic... Note, every defined route should then use that class ;)
Or you should take a look at symfony Filters (sfFilter) http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_sub_the_filter_chain Hope this suites, Gr Evert On Sep 2, 8:56 pm, javo <javom...@gmail.com> wrote: > Hi there, > > I've read many Symfony docs and tried to explore Symfony code but I > can't figure out where can I put some code that will be executed by > every module/action (something like frontendConfiguration.class.php) > Unfortunatelly I can't use Criteria() class there > > // I want to read some settings from my database using Peer object and > use them on my website > > Is there any way how to do that? I'd really appreciate your help > > Thank you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---