From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Returns the global User object, only creating it if it doesn't already exist.
public static function getInstance ($identifier=0)
|$identifier||int||0||The user to load - Can be an integer or string - If string, it is converted to ID automatically.|
- Returns The User object.
- Defined on line 188 of libraries/joomla/user/user.php
- Referenced by
- JUser::getInstance source code on BitBucket
- Class JUser
- Subpackage User
- Other versions of JUser::getInstance