Hi,

"Customize sfGuardAuth module actions" from
http://www.symfony-project.org/plugins/sfGuardPlugin/3_1_3?tab=plugin_readme

" Create a sfGuardAuth module in your application ... "

class sfGuardAuthActions extends BasesfGuardAuthActions

http://trac.symfony-project.org/wiki/sfGuardPluginExtraDocumentation

since all methods are public and not final, you can overwrite them by
re-declaring in your new class

public function executeSignin($request)
{
   ... different code here ...
}


On Wed, Dec 10, 2008 at 5:06 AM, daskalou <[EMAIL PROTECTED]> wrote:

>
> Hi all,
>
> I want to add in extra methods to the base sfGuardUser class.
>
> I'm afraid/reluctant to change anything in the plugins/sfGuardPlugin
> directory, but that is where the sfGuardUser class exists (in plugins/
> sfGuardPlugin/lib/model/sfGuardUser.php).
>
> What would be the best way to do this? Is the norm to change this file
> directly and deal with the consequences later, or should I add in
> proxy methods to apps/myapp/lib/myUser.class.php?
>
> >
>

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

Reply via email to