public function read($name = null)
    {
        $name = $name ? $name : $this->name;
        try {
            $params = array('format' => 'xml');
            $request = new RESTRequest('GET', 'config/query/' . $name, $params);
            $response = $this->client->send($request);
            return $response->getBody();
        } catch(Exception $e) {
            echo $e->getMessage() . ' in ' . $e->getFile() . ' on line ' . $e->getLine() . PHP_EOL;
        }
    }
public function read($name = null)
    {
        $name = $name ? $name : $this->name;
        try {
            $params = array('format' => 'xml');
            $request = new RESTRequest('GET', 'config/query/' . $name, $params);
            $response = $this->client->send($request);
            return $response->getBody();
        } catch(Exception $e) {
            echo $e->getMessage() . ' in ' . $e->getFile() . ' on line ' . $e->getLine() . PHP_EOL;
        }
    }
public function read ( $ name = null ) { $ name = $ name ? $ name : $ this -> name ; try { $ params = array ( 'format' => 'xml' ) ; $ request = new RESTRequest ( 'GET' , 'config/query/' . $ name , $ params ) ; $ response = $ this -> client -> send ( $ request ) ; return $ response -> getBody ( ) ; } catch ( Exception $ e ) { echo $ e -> getMessage ( ) . ' in ' . $ e -> getFile ( ) . ' on line ' . $ e -> getLine ( ) . PHP_EOL ; } }
Read the query options from the database.

@param string $name The query options name.
@return string The query options as XML.
Read the query options from the database .