PDA

View Full Version : where can i get all info on $userdata ?


buddhabadboy
29 Sep 2008, 20:38
Hello all,
I'm not a programmer, but a Systems Admin, and I have to do some plugin modifying

I have saved some data in the login script: and I need to have the reference to $userdata->set

And I don't know where to find that info. I need to know what fields that the $userdata->set has, so I can change them.

Can anyone point me to this info?

thanks!

Dismounted
30 Sep 2008, 06:16
See /includes/class_dm_user.php, and look at the $validfields array.

buddhabadboy
30 Sep 2008, 15:17
Thanks for your help Dismounted, but I looked in class_dm_user.php, and I don't see any "$userdata". I just see:
userdata_doset
userdata_postsave
userdata_delete
userdata_update_username,

but no userdata.....

Dismounted
30 Sep 2008, 15:53
Just look at line 38 - it lists all the valid fields you can set. $userdata is merely a variable which contains the data manager object...