PDA

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


buddhabadboy
09-29-2008, 07:38 PM
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
09-30-2008, 05:16 AM
See /includes/class_dm_user.php, and look at the $validfields array.

buddhabadboy
09-30-2008, 02:17 PM
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
09-30-2008, 02:53 PM
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...