library/Garp/3rdParty/facebook/src/base_facebook.php
public function getUser() {
    if ($this->user !== null) {
      // we've already determined this and cached the value.
      return $this->user;
    }

    return $this->user = $this->getUserFromAvailableData();
  }
public function getUser() {
    if ($this->user !== null) {
      // we've already determined this and cached the value.
      return $this->user;
    }

    return $this->user = $this->getUserFromAvailableData();
  }
public function getUser ( ) { if ( $ this -> user !== null ) { // we've already determined this and cached the value. return $ this -> user ; } return $ this -> user = $ this -> getUserFromAvailableData ( ) ; }
Get the UID of the connected user, or 0
if the Facebook user is not connected.

@return string the UID if available.
Get the UID of the connected user or 0 if the Facebook user is not connected .