function salesforce::getDeleted in Salesforce Suite 5
Same name and namespace in other branches
- 5.2 includes/salesforce.php \salesforce::getDeleted()
- 7.3 includes/salesforce.inc \Salesforce::getDeleted()
get ids of sObjects deleted during a specified interval
@access public
Parameters
string: $sObjectType type of sObject $startDate $endDate
Return value
mixed GetDeletedResult complex type. (See WSDL.)
File
- includes/
salesforce.php, line 292
Class
- salesforce
- salesforce
Code
function getDeleted($sObjectType, $startDate, $endDate) {
$param = array(
'sObjectType' => $sObjectType,
'startDate' => $startDate,
'endDate' => $endDate,
);
$this->result = $this->client
->call('getDeleted', array(
'parameters' => $param,
), '', '', false, true);
return $this->result['result'];
}