On 18 Feb 2008, at 10:21, [EMAIL PROTECTED] wrote:
> 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 ?
class myActions extends sfActions
{
public function preExecute()
{
// blah blah
}
}
Drop this in a lib filder somewhere and use it in your actions...
Alexander
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---