library/Garp/3rdParty/facebook/src/base_facebook.php
public function getSignedRequest() {
    if (!$this->signedRequest) {
      if (!empty($_REQUEST['signed_request'])) {
        $this->signedRequest = $this->parseSignedRequest(
          $_REQUEST['signed_request']);
      } else if (!empty($_COOKIE[$this->getSignedRequestCookieName()])) {
        $this->signedRequest = $this->parseSignedRequest(
          $_COOKIE[$this->getSignedRequestCookieName()]);
      }
    }
    return $this->signedRequest;
  }
public function getSignedRequest() {
    if (!$this->signedRequest) {
      if (!empty($_REQUEST['signed_request'])) {
        $this->signedRequest = $this->parseSignedRequest(
          $_REQUEST['signed_request']);
      } else if (!empty($_COOKIE[$this->getSignedRequestCookieName()])) {
        $this->signedRequest = $this->parseSignedRequest(
          $_COOKIE[$this->getSignedRequestCookieName()]);
      }
    }
    return $this->signedRequest;
  }
public function getSignedRequest ( ) { if ( ! $ this -> signedRequest ) { if ( ! empty ( $ _REQUEST [ 'signed_request' ] ) ) { $ this -> signedRequest = $ this -> parseSignedRequest ( $ _REQUEST [ 'signed_request' ] ) ; } else if ( ! empty ( $ _COOKIE [ $ this -> getSignedRequestCookieName ( ) ] ) ) { $ this -> signedRequest = $ this -> parseSignedRequest ( $ _COOKIE [ $ this -> getSignedRequestCookieName ( ) ] ) ; } } return $ this -> signedRequest ; }
Retrieve the signed request, either from a request parameter or,
if not present, from a cookie.

@return string the signed request, if available, or null otherwise.
Retrieve the signed request either from a request parameter or if not present from a cookie .