From: Alexandre Emsenhuber Date: Wed, 11 Jun 2008 11:07:34 +0000 (+0000) Subject: Document UserLoadDefaults and UserSetCookies hooks X-Git-Tag: 1.31.0-rc.0~47050 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=de38755f0d154ea38680f1c88900c800f282049d;p=lhc%2Fweb%2Fwiklou.git Document UserLoadDefaults and UserSetCookies hooks --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 8451d61f80..76f080e6e0 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1205,6 +1205,10 @@ $user: User object $user: User to get rights for &$rights: Current rights +'UserLoadDefaults': called when loading a default user +$user: user object +$name: user name + 'UserLoadFromSession': called to authenticate users on external/environmental means $user: user object being loaded &$result: set this to a boolean value to abort the normal authentification process @@ -1236,6 +1240,11 @@ $talks: array of new talks page(s) 'UserSaveSettings': called when saving user settings $user: User object +'UserSetCookies': called when setting user cookies +$user: User object +&$session: session array, will be added to $_SESSION +&$cookies: cookies array mapping cookie name to its value + 'UserSetEmail': called when changing user email address $user: User object &$email: new email, change this to override new email address