SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 237 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


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 if the user wishes to receive system emails
username User's username
usertype Name of user group
Extension Design
[ 178 ]
The browsing user is represented by a JUser object; we can access this object using
the getUser() method in the JFactory class. This class has all of the attributes
described here.


Pages:
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6