Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: A basic question about the methods of XoopsUser class
by skalpa on 2003/11/28 17:37:02

Well, I can't find this message in my version so I'm not sure what methods you're talking about.
Now if these are the vars related ones, the solution is in front of you
This one is deprecated:
le="color: #000000"><?php function uid() { return $this->getVar("uid"); }


So don't use $myobj->uid();
but $myobj->getVar('uid');
instead....

And this generally applies to all the deprecated methods: the "old one" has been kept for compatibility reasons, but the alternate way of doing things is in the function body.

Skalpa.>
A basic question about the methods of XoopsUser class
by jitao on 2003/11/28 17:11:21

Hi, Just start learning to extend the xoops, but have a basic question about the methods in XoopsUser class. There is a line saying
"//### Methods from here below will be deprecated. ###"
What are the better ways/ methods to use if those methods are depreciated? I can not find any clue in the API documents. Please help me.
Thank you,
Ji Tao

Who's Online

107 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 107


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits