JFactory::getUser
Get an user object.
Returns the global object, only creating it if it doesn't already exist.
Signature
public function getUser([integer
$id = null] )
Parameters
-
$id
- The user to load - Can be an integer or string - If string, it is converted to ID automatically.
Returns
- JUser
- object