function salesforce::query in Salesforce Suite 5
Same name and namespace in other branches
- 5.2 includes/salesforce.php \salesforce::query()
- 7.3 includes/salesforce.inc \Salesforce::query()
perform query using SOQL command.
@access public
Parameters
string: $queryString SOQL query request
Return value
mixed QueryResult complex type. (See WSDL.)
File
- includes/
salesforce.php, line 222
Class
- salesforce
- salesforce
Code
function query($queryString) {
$param = array(
'queryString' => $queryString,
);
$this->result = $this->client
->call('query', array(
'parameters' => $param,
), '', '', false, true);
return $this->result['result'];
}