JUser::getInstance/1.6
From Joomla! Documentation
JUser::getInstance
Description
Returns the global User object, only creating it if it doesn't already exist.
Description:JUser::getInstance [Edit Descripton]
public static function getInstance ($identifier=0)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $identifier | int | 0 | The user to load - Can be an integer or string - If string, it is converted to ID automatically. |
See also
JUser source code on JoomlaCode
Class JUser
Subpackage User- Other versions of JUser::getInstance
SeeAlso:JUser::getInstance [Edit See Also]