2008. 02. 18, hétfő keltezéssel 01.21-kor [EMAIL PROTECTED] ezt írta: > Hi all, > I would like to redefine preExecute() method of sfAction class. > I have to set an user attribute before each executeXXX method. > sfAction.class.php path is : "myProject/lib/symfony/lib/action/" > How do I redefine it ?
you need that in all your modules? because otherwise just put the new preExecute() in the action.class.php of your module and it's done. if you need it everywhere you can modify the original sfAction class directly, or create a new MyAction class which extends sfAction and have all your action classes extend this MyAction and put preExecute in that. greets Zoltán Németh > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
