Page 1 of 1

$my object

Posted: Wed Sep 12, 2007 1:51 pm
by garylyb
I'm looking at mod_login.php to understand how modules work.

I've looked at the mod_helloworld tutorial, but this is not answered anywhere that I've seen.

What is the $my object? How are the values set?

$my->id

$my->name

$my->username



mod_helloworld.php uses this:

$my->gid

but never documents it.


Thanks,

Gary

Re: $my object

Posted: Wed Sep 12, 2007 1:57 pm
by Pentacle
For 1.5, you can take a look at the JUser class documentation on api.joomla.org.