public function getRecord($id, $raw = false)
    {
        $this->debugPrint("Get Record: $id");

        // Query String Parameters
        $options = array('s.q' => sprintf('ID:"%s"', $id));
        $options['s.role'] = $this->authedUser ? 'authenticated' : 'none';
        return $this->call($options, 'search', 'GET', $raw);
    }
public function getRecord($id, $raw = false)
    {
        $this->debugPrint("Get Record: $id");

        // Query String Parameters
        $options = array('s.q' => sprintf('ID:"%s"', $id));
        $options['s.role'] = $this->authedUser ? 'authenticated' : 'none';
        return $this->call($options, 'search', 'GET', $raw);
    }
public function getRecord ( $ id , $ raw = false ) { $ this -> debugPrint ( "Get Record: $id" ) ; // Query String Parameters $ options = array ( 's.q' => sprintf ( 'ID:"%s"' , $ id ) ) ; $ options [ 's.role' ] = $ this -> authedUser ? 'authenticated' : 'none' ; return $ this -> call ( $ options , 'search' , 'GET' , $ raw ) ; }
Retrieves a document specified by the ID.

@param string $id  The document to retrieve from the Summon API
@param bool   $raw Return raw (true) or processed (false) response?

@return string    The requested resource
Retrieves a document specified by the ID .