You are here

function salesforce::getUpdated in Salesforce Suite 5

Same name and namespace in other branches
  1. 5.2 includes/salesforce.php \salesforce::getUpdated()
  2. 7.3 includes/salesforce.inc \Salesforce::getUpdated()

get sObjects updated during a specified interval

@access public

Parameters

string: $sObjectType type of sObject $startDate $endDate

Return value

mixed GetUpdatedResult complex type. (See WSDL.)

File

includes/salesforce.php, line 272

Class

salesforce
salesforce

Code

function getUpdated($sObjectType, $startDate, $endDate) {
  $param = array(
    'sObjectType' => $sObjectType,
    'startDate' => $startDate,
    'endDate' => $endDate,
  );
  $this->result = $this->client
    ->call('getUpdated', array(
    'parameters' => $param,
  ), '', '', false, true);
  return $this->result['result'];
}