JUser
User class. Handles all application interaction with a user
Located in /joomla/user/user.php (line 28)
JObject (Subpackage Base)
![]()
JUser (Subpackage User)
![Method Method](../../media/images/Method.png)
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
Clear password, only available when a new password is set for a user
![](../../media/images/Variable.png)
The email
![](../../media/images/Variable.png)
The group id number
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
Unique id
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
The users real name (or nickname)
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
MD5 encrypted password
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
The login name
![](../../media/images/Variable.png)
Description
![](../../media/images/Variable.png)
Error message
![](../../media/images/Variable.png)
User parameters
Constructor activating the default information of the language
- $identifier
- JObject::__construct()
- Class constructor, overridden in descendant classes.
Method to check JUser object authorization against an access control object and optionally an access extension object
- string $acoSection: The ACO section value
- string $aco: The ACO value
- string $axoSection: The AXO section value [optional]
- string $axo: The AXO value [optional]
Method to set a default parameter if it does not exist
- string $key: Parameter key
- mixed $value: Parameter value
Returns a reference to the global User object, only creating it if it doesn't already exist.
This method must be invoked as:
$user =& JUser::getInstance($id);
- int $id: The user to load - Can be an integer or string - If string, it is converted to ID automatically.
Method to get a parameter value
- string $key: Parameter key
- mixed $default: Parameter default value
Method to load a JUser object by user id number
- mixed $identifier: The user id of the user to load
- string $path: Path to a parameters xml file
- $id
Pass through method to the table for setting the last visit date
- int $timestamp: The timestamp, defaults to 'now'
Method to set a parameter
- string $key: Parameter key
- mixed $value: Parameter value
Method to set the user parameters
- string $data: The paramters string in INI format
- string $path: Path to the parameters xml file [optional]
Binds a named array/hash to this object
- $array $from: mixed Either and associative array or another object
- $ignore $ignore: string Space separated list of fields not to bind
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:30:26 +0000 by phpDocumentor 1.3.1