public function getUserId($who)
    {
        $user = $this->users->getUser($who);

        if (isset($user['id'])) {
            return $user['id'];
        }

        return false;
    }
public function getUserId($who)
    {
        $user = $this->users->getUser($who);

        if (isset($user['id'])) {
            return $user['id'];
        }

        return false;
    }
public function getUserId ( $ who ) { $ user = $ this -> users -> getUser ( $ who ) ; if ( isset ( $ user [ 'id' ] ) ) { return $ user [ 'id' ] ; } return false ; }
Get an id number for a user, based on the given name. Returns
an integer id on success, and false otherwise.

@param string $who

@return mixed
Get an id number for a user based on the given name . Returns an integer id on success and false otherwise .