O'Reilly logo

Mastering Joomla! 1.5 Extension and Framework Development by Chuck Lanham, James Kennard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The user

Many extensions use the currently logged-in user to determine what to display. A user has several attributes in which we might be interested. This table describes each of the attributes:

Attribute

Description

activation

String used to activate new user accounts

aid

Legacy user group ID

block

True if the user's access is blocked

email

The user's email address

gid

User group ID

guest

True if the user is a guest (not logged in)

id

The user's ID, an integer; this is not the same as their username

lastvisitDate

Date and time at which the user last logged in

name

User's name

params

INI string of parameters

password

Hashed password

registerDate

Date and time at which the user account was registered

sendEmail

True ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required