Override eZUser::logoutCurrent

Author Message

Tristan Rivoallan

Thursday 07 July 2005 7:12:28 am

Hi,

i need to perform some actions at logout time. I use a custom eZUser class.

Overriding the logoutCurrent() method from eZUser doesn't seem to have any effect.

What is the way to do this ?

thanx

Tristan Rivoallan

Friday 15 July 2005 7:03:37 am

any takers ?

Ralph Ekekihl

Friday 15 July 2005 7:51:06 am

Hi!

The easiest way I see it, is to create a workflow that does the action you need.
Then you need to create your own trigger in the user module, to trigger the workflow to happen at user logout.

Check this thread out for info on how to add your own triggers:

http://www.ez.no/community/forum/developer/which_is_the_method_to_create
_new_triggers

good luck!

Regards,
Ralph

Contactivity B.V.
http://www.contactivity.com

Tristan Rivoallan

Friday 22 July 2005 2:48:43 am

Thanks for your answer, it looks like the right way to do it :)

i'll implement this next week.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.