From: Shaun M. <sh...@ae...> - 2005-02-23 11:44:21
|
On 23 Feb 2005, at 08:02, Ren=E9 C. Kiesler wrote: > > > Also, why is the rememberme-setting encoded that strangely? for = example > "a:1:{s:9:"mod_users";a:1:{s:10:"rememberme";s:2:"-1";}}". Wouldn't a > "rememberme=3D-1" be enough? And maybe a second variable for > "current_language"? > > Any module can add it's own user specific variables to that table. The=20= data is serialized - go look at serialize() on php.net. If you just=20 added extra columns to the table it wouldn't be general purpose or=20 extendable. You set and get them using setUserVar() and getUserVar() This is all in the user module developer docs.=20 /mod/users/docs/devdoc.txt Shaun aegis design - http://www.aegisdesign.co.uk |