Difference between revisions of "JUser::getInstance"
From Joomla! Documentation
(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JUser::getInstance/11.1 to API17:JUser::getInstance without leaving a redirect: Robot: Moved page)
Revision as of 20:49, 10 May 2013
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
User contributed notes