From de38755f0d154ea38680f1c88900c800f282049d Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 11 Jun 2008 11:07:34 +0000 Subject: [PATCH] Document UserLoadDefaults and UserSetCookies hooks --- docs/hooks.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.20.1