I don't know what you want to do, but you can try in myUser.class.php
something like

class myUser extends sfBasicSecurityUser
{
  public function initialize(sfEventDispatcher $dispatcher, sfStorage
$storage, $options = array())
  {
    parent::initialize($dispatcher, $storage, $options);
    // your code here
  }
}

It's not a very clean solution, but it should work...

An alternative is to register a listener to an event symfony triggers
somewhere, but you should check the symfony core.


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

Reply via email to