After a few research, I'm quite sure that you /can't/ specify which class the generator have to use as base action class (possibly a nice improvment in next release!?!).
As Tamcy said, you should try first to write a filter. :-) Nicolas Nicolas Dhomont a écrit : > Hi > > You may extends sfActions class. > > Then, each module get an actions.class.php file where the class within > extends mySfActions instead of sfActions. > > I guess that if you do so, you will also have to specify in one of > your config file that the base action class used by the generators is > mySfActions. > > :-) > > Nicolas > > [EMAIL PROTECTED] a écrit : >> hi >> >> where do i place code which should be executed before any action? >> i try to load a css file by some parameters... and i won't place code >> in every module action. >> layout.php,.. bad idea? filter? >> >> any solutions? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
