Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1205,6 +1205,10 @@ |
1206 | 1206 | $user: User to get rights for |
1207 | 1207 | &$rights: Current rights |
1208 | 1208 | |
| 1209 | +'UserLoadDefaults': called when loading a default user |
| 1210 | +$user: user object |
| 1211 | +$name: user name |
| 1212 | + |
1209 | 1213 | 'UserLoadFromSession': called to authenticate users on external/environmental means |
1210 | 1214 | $user: user object being loaded |
1211 | 1215 | &$result: set this to a boolean value to abort the normal authentification process |
— | — | @@ -1236,6 +1240,11 @@ |
1237 | 1241 | 'UserSaveSettings': called when saving user settings |
1238 | 1242 | $user: User object |
1239 | 1243 | |
| 1244 | +'UserSetCookies': called when setting user cookies |
| 1245 | +$user: User object |
| 1246 | +&$session: session array, will be added to $_SESSION |
| 1247 | +&$cookies: cookies array mapping cookie name to its value |
| 1248 | + |
1240 | 1249 | 'UserSetEmail': called when changing user email address |
1241 | 1250 | $user: User object |
1242 | 1251 | &$email: new email, change this to override new email address |