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
$my object
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
Forum rules
Re: $my object
For 1.5, you can take a look at the JUser class documentation on api.joomla.org.
My Joomla! 1.5 extensions - http://joomla.ercan.us
Progress is made by lazy men looking for easier ways to do things.
Progress is made by lazy men looking for easier ways to do things.