code/libraries/joomlatools/library/user/provider/abstract.php
public function load($identifier, $refresh = false)
    {
        //Fetch a user from the backend
        if($refresh || !$this->isLoaded($identifier))
        {
            $user = $this->fetch($identifier);
            $this->_users[$identifier] = $user;
        }

        return $this->_users[$identifier];
    }
public function load($identifier, $refresh = false)
    {
        //Fetch a user from the backend
        if($refresh || !$this->isLoaded($identifier))
        {
            $user = $this->fetch($identifier);
            $this->_users[$identifier] = $user;
        }

        return $this->_users[$identifier];
    }
public function load ( $ identifier , $ refresh = false ) { //Fetch a user from the backend if ( $ refresh || ! $ this -> isLoaded ( $ identifier ) ) { $ user = $ this -> fetch ( $ identifier ) ; $ this -> _users [ $ identifier ] = $ user ; } return $ this -> _users [ $ identifier ] ; }
Loads the user for the given user identifier

@param string $identifier A unique user identifier, (i.e a username or email address)
@param bool  $refresh     If TRUE and the user has already been loaded it will be re-loaded.
@return KUserInterface Returns a UserInterface object
Loads the user for the given user identifier