@@ 769-776 (lines=8) @@ | ||
766 | * @param date $endDate End Date |
|
767 | * @return GetDeletedResult |
|
768 | */ |
|
769 | public function getDeleted($type, $startDate, $endDate) { |
|
770 | $this->setHeaders("getDeleted"); |
|
771 | $arg = new stdClass(); |
|
772 | $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); |
|
773 | $arg->startDate = $startDate; |
|
774 | $arg->endDate = $endDate; |
|
775 | return $this->sforce->getDeleted($arg)->result; |
|
776 | } |
|
777 | ||
778 | /** |
|
779 | * Retrieves the list of individual objects that have been updated (added or |
|
@@ 787-794 (lines=8) @@ | ||
784 | * @param date $endDate End Date |
|
785 | * @return GetUpdatedResult |
|
786 | */ |
|
787 | public function getUpdated($type, $startDate, $endDate) { |
|
788 | $this->setHeaders("getUpdated"); |
|
789 | $arg = new stdClass(); |
|
790 | $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); |
|
791 | $arg->startDate = $startDate; |
|
792 | $arg->endDate = $endDate; |
|
793 | return $this->sforce->getUpdated($arg)->result; |
|
794 | } |
|
795 | ||
796 | /** |
|
797 | * Executes a query against the specified object and returns data that matches |
|
@@ 857-864 (lines=8) @@ | ||
854 | * @param array $ids Array of one or more IDs of the objects to retrieve. |
|
855 | * @return sObject[] |
|
856 | */ |
|
857 | public function retrieve($fieldList, $sObjectType, $ids) { |
|
858 | $this->setHeaders("retrieve"); |
|
859 | $arg = new stdClass(); |
|
860 | $arg->fieldList = $fieldList; |
|
861 | $arg->sObjectType = new SoapVar($sObjectType, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); |
|
862 | $arg->ids = $ids; |
|
863 | return $this->sforce->retrieve($arg)->result; |
|
864 | } |
|
865 | ||
866 | /** |
|
867 | * Executes a text search in your organization's data. |