Need a little API direction

Permalink
I've been reviewing the API docs, but it isn't working liked I hoped it would. For instance, I'm looking at:

getUserGroups (line 222)
void getUserGroups ()


I believe this method returns an array of strings, but the way it's written here, I can't tell that.

How or where do I find out what a method or property will return?

Darkwater23
 
Darkwater23 replied on at Permalink Reply
Darkwater23
Found out something that I needed. Returns an array with the group ID as the key.

Key: 2, Value: Registered Users
Key: 4, Value: Group1
Key: 1, Value: Guest

Where would I have found the documentation for that? I dissected the object code to find that, but it takes way too long to do that. Is there a better way?
synlag replied on at Permalink Reply
synlag
think it's gettype() in php.


--ron