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

JUser

extends JObject , located in / joomla/user/user.php

This class handles a site user. If the user is not logged in, $id and $gid will be zero and $usergroup will be null. For further information on using the JUser class refer to Chapter 4, Extension Design.

Properties

string $activation = null

Activation string used to verify account registration.

integer $aid = null

Access group ID.

integer $block = null

Access blocked: 0=not blocked, 1=blocked.

string $email = null

Email address.

integer $gid = null

Group ID; relates to the legacy #__groups table.

boolean $guest = null

Guest user.

integer $id= null

User ID; relates to the $__users.id field.

string $lastvisitdate = null

Date on which the user last visited the site.

string ...

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