$my object

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
garylyb
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Apr 02, 2006 11:25 pm

$my object

Post by garylyb » Wed Sep 12, 2007 1:51 pm

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

User avatar
Pentacle
Joomla! Intern
Joomla! Intern
Posts: 61
Joined: Wed Oct 25, 2006 12:34 pm
Location: Turkey

Re: $my object

Post by Pentacle » Wed Sep 12, 2007 1:57 pm

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.


Post Reply