From 7fd5122d8d28e74ae65a45e5dcba81189d97733c Mon Sep 17 00:00:00 2001 From: Davis L P Peixoto Date: Mon, 4 May 2015 11:05:37 -0300 Subject: [PATCH] removing garbage --- .gitignore | 6 +- license => LICENSE | 0 apache.html | 40 - .../AssignmentRuleHeader.html | 250 - apidocs/SalesforceSoapClient/CallOptions.html | 250 - apidocs/SalesforceSoapClient/Email.html | 419 -- apidocs/SalesforceSoapClient/EmailHeader.html | 281 - .../LoginScopeHeader.html | 250 - .../MassEmailMessage.html | 310 - apidocs/SalesforceSoapClient/MruHeader.html | 219 - .../SalesforceSoapClient/ProcessRequest.html | 221 - .../ProcessSubmitRequest.html | 193 - .../ProcessWorkitemRequest.html | 218 - .../SalesforceSoapClient/QueryOptions.html | 219 - apidocs/SalesforceSoapClient/QueryResult.html | 294 - apidocs/SalesforceSoapClient/SObject.html | 328 - .../SforceBaseClient.html | 2437 ------- .../SforceCustomField.html | 1183 ---- .../SforceCustomObject.html | 665 -- .../SforceEnterpriseClient.html | 804 --- .../SforceMetadataClient.html | 632 -- .../SforcePartnerClient.html | 866 --- .../SingleEmailMessage.html | 667 -- .../UserTerritoryDeleteHeader.html | 219 - .../_soapclient---SforceBaseClient.php.html | 116 - .../_soapclient---SforceEmail.php.html | 178 - ...apclient---SforceEnterpriseClient.php.html | 113 - .../_soapclient---SforceFieldTypes.php.html | 273 - ..._soapclient---SforceHeaderOptions.php.html | 121 - .../_soapclient---SforceMetaObject.php.html | 115 - ...soapclient---SforceMetadataClient.php.html | 113 - ..._soapclient---SforcePartnerClient.php.html | 118 - ...soapclient---SforceProcessRequest.php.html | 113 - .../SforcePartnerClientTest.html | 859 --- .../_test---SforcePartnerClientTest.php.html | 79 - apidocs/classtrees_SalesforceSoapClient.html | 126 - apidocs/classtrees_SalesforceTest.html | 50 - apidocs/elementindex.html | 786 -- .../elementindex_SalesforceSoapClient.html | 773 -- apidocs/elementindex_SalesforceTest.html | 154 - apidocs/errors.html | 110 - apidocs/index.html | 95 - apidocs/li_SalesforceSoapClient.html | 95 - apidocs/li_SalesforceTest.html | 59 - apidocs/media/Thumbs.db | Bin 3584 -> 0 bytes apidocs/media/background.png | Bin 238 -> 0 bytes apidocs/media/empty.png | Bin 206 -> 0 bytes apidocs/media/style.css | 195 - css/document.css | 25 - css/sforce.css | 722 -- images/adn-blog.gif | Bin 8138 -> 0 bytes images/appexchange_logo_small.gif | Bin 3500 -> 0 bytes instructions.html | 147 - misc/globalconstants.php | 10 - php.html | 33 - samples/userAuth.php | 52 - soapclient/ProxySettings.php | 33 - soapclient/SforceBaseClient.php | 1272 ---- soapclient/SforceEmail.php | 130 - soapclient/SforceEnterpriseClient.php | 159 - soapclient/SforceFieldTypes.php | 45 - soapclient/SforceHeaderOptions.php | 206 - soapclient/SforceMetaObject.php | 204 - soapclient/SforceMetadataClient.php | 175 - soapclient/SforcePartnerClient.php | 226 - soapclient/SforceProcessRequest.php | 40 - soapclient/enterprise.wsdl.xml | 6302 ----------------- soapclient/metadata.wsdl.xml | 3337 --------- soapclient/partner.wsdl.xml | 3131 -------- test/SforcePartnerClientTest.php | 527 -- test/build-phing.xml | 5 - test/build.bat | 1 - test/build.xml | 27 - test/enterprise.php | 24 - test/partner.php | 35 - .../SforcePartnerClientTest.html | 171 - test/report/SalesforceTest/package-frame.html | 12 - .../SalesforceTest/package-summary.html | 36 - test/report/allclasses-frame.html | 11 - test/report/index.html | 19 - test/report/overview-frame.html | 12 - test/report/overview-summary.html | 56 - test/report/stylesheet.css | 66 - test/xsl/coverage-frames.xsl | 636 -- test/xsl/log.xsl | 216 - test/xsl/phpunit2-frames.xsl | 678 -- test/xsl/phpunit2-noframes.xsl | 437 -- test/xsl/str.replace.function.xsl | 105 - tests.html | 39 - unit_test/Lib/Enum/GenericAbstract.php | 60 - unit_test/Lib/Enum/WsdlType.php | 20 - unit_test/Lib/Exception/InvalidResponse.php | 2 - .../Test/Enterprise/AggregateResultTest.php | 29 - .../AllowFieldTruncationHeaderTest.php | 32 - unit_test/Lib/Test/Enterprise/CDUTest.php | 43 - .../Lib/Test/Enterprise/ConvertLeadTest.php | 38 - ...escribeDataCategoryGroupStructuresTest.php | 51 - .../DescribeDataCategoryGroupsTest.php | 22 - .../Test/Enterprise/DescribeGlobalTest.php | 13 - .../Test/Enterprise/DescribeLayoutTest.php | 13 - .../Test/Enterprise/DescribeSObjectTest.php | 13 - .../Test/Enterprise/EmptyRecycleBinTest.php | 24 - .../Lib/Test/Enterprise/FieldsToNullTest.php | 32 - .../Lib/Test/Enterprise/GetDeletedTest.php | 38 - .../Enterprise/GetServerTimestampTest.php | 15 - .../Lib/Test/Enterprise/GetUpdatedTest.php | 40 - .../Lib/Test/Enterprise/GetUserInfoTest.php | 15 - .../Enterprise/InvalidateSessionsTest.php | 32 - .../Lib/Test/Enterprise/LocaleOptionsTest.php | 25 - .../Test/Enterprise/LoginScopeHeaderTest.php | 26 - unit_test/Lib/Test/Enterprise/LoginTest.php | 14 - unit_test/Lib/Test/Enterprise/LogoutTest.php | 32 - unit_test/Lib/Test/Enterprise/MergeTest.php | 45 - .../Enterprise/PackageVersionHeaderTest.php | 38 - .../Enterprise/ProcessSubmitRequestTest.php | 26 - .../Enterprise/ProcessWorkItemRequestTest.php | 27 - .../Lib/Test/Enterprise/QueryMoreTest.php | 39 - .../Lib/Test/Enterprise/QueryOptionsTest.php | 39 - unit_test/Lib/Test/Enterprise/QueryTest.php | 19 - .../Lib/Test/Enterprise/ResetPasswordTest.php | 36 - .../Lib/Test/Enterprise/RetrieveTest.php | 37 - .../Lib/Test/Enterprise/SendEmailTest.php | 32 - .../Enterprise/SendEmailWithAttachTest.php | 38 - unit_test/Lib/Test/Enterprise/UpsertTest.php | 53 - .../AllowFieldTruncationHeaderTest.php | 37 - .../Test/Partner/AssigmentRuleHeaderTest.php | 30 - unit_test/Lib/Test/Partner/CDUTest.php | 48 - .../Lib/Test/Partner/CallOptionsTest.php | 24 - .../Lib/Test/Partner/ConvertLeadTest.php | 44 - ...escribeDataCategoryGroupStructuresTest.php | 51 - .../DescribeDataCategoryGroupsTest.php | 22 - .../Lib/Test/Partner/DescribeGlobalTest.php | 13 - .../Lib/Test/Partner/DescribeLayoutTest.php | 13 - .../Lib/Test/Partner/DescribeSObjectTest.php | 13 - .../Lib/Test/Partner/EmailHeaderTest.php | 34 - .../Lib/Test/Partner/EmptyRecycleBinTest.php | 30 - .../Lib/Test/Partner/FieldsToNullTest.php | 69 - unit_test/Lib/Test/Partner/GetDeletedTest.php | 44 - .../Test/Partner/GetServerTimestampTest.php | 15 - unit_test/Lib/Test/Partner/GetUpdatedTest.php | 46 - .../Lib/Test/Partner/GetUserInfoTest.php | 15 - .../Test/Partner/InvalidateSessionsTest.php | 36 - .../Lib/Test/Partner/LocaleOptionsTest.php | 25 - .../Lib/Test/Partner/LoginScopeHeaderTest.php | 33 - unit_test/Lib/Test/Partner/LoginTest.php | 14 - unit_test/Lib/Test/Partner/LogoutTest.php | 32 - unit_test/Lib/Test/Partner/MergeTest.php | 48 - .../Test/Partner/MetaDataCheckStatusTest.php | 43 - .../Lib/Test/Partner/MetaDataCreateTest.php | 49 - .../Lib/Test/Partner/MetaDataDeleteTest.php | 18 - .../Test/Partner/PackageVersionHeaderTest.php | 43 - .../Test/Partner/ProcessSubmitRequestTest.php | 54 - .../Partner/ProcessWorkItemRequestTest.php | 27 - unit_test/Lib/Test/Partner/QueryMoreTest.php | 46 - .../Lib/Test/Partner/QueryOptionsTest.php | 41 - unit_test/Lib/Test/Partner/QueryTest.php | 21 - .../Lib/Test/Partner/ResetPasswordTest.php | 44 - unit_test/Lib/Test/Partner/RetrieveTest.php | 37 - unit_test/Lib/Test/Partner/SendEmailTest.php | 33 - .../Test/Partner/SendEmailWithAttachTest.php | 38 - unit_test/Lib/Test/Partner/UpdateTest.php | 43 - unit_test/Lib/Test/Partner/UpsertTest.php | 46 - unit_test/Lib/Test/TestAbstract.php | 157 - unit_test/Lib/Test/TestAbstractEnterprise.php | 36 - unit_test/Lib/Test/TestAbstractPartner.php | 35 - unit_test/Lib/Test/TestFactory.php | 47 - unit_test/Lib/Utils/FileLogger.php | 26 - unit_test/index.php | 102 - unit_test/runTest.php | 39 - 169 files changed, 2 insertions(+), 37791 deletions(-) rename license => LICENSE (100%) delete mode 100644 apache.html delete mode 100644 apidocs/SalesforceSoapClient/AssignmentRuleHeader.html delete mode 100644 apidocs/SalesforceSoapClient/CallOptions.html delete mode 100644 apidocs/SalesforceSoapClient/Email.html delete mode 100644 apidocs/SalesforceSoapClient/EmailHeader.html delete mode 100644 apidocs/SalesforceSoapClient/LoginScopeHeader.html delete mode 100644 apidocs/SalesforceSoapClient/MassEmailMessage.html delete mode 100644 apidocs/SalesforceSoapClient/MruHeader.html delete mode 100644 apidocs/SalesforceSoapClient/ProcessRequest.html delete mode 100644 apidocs/SalesforceSoapClient/ProcessSubmitRequest.html delete mode 100644 apidocs/SalesforceSoapClient/ProcessWorkitemRequest.html delete mode 100644 apidocs/SalesforceSoapClient/QueryOptions.html delete mode 100644 apidocs/SalesforceSoapClient/QueryResult.html delete mode 100644 apidocs/SalesforceSoapClient/SObject.html delete mode 100644 apidocs/SalesforceSoapClient/SforceBaseClient.html delete mode 100644 apidocs/SalesforceSoapClient/SforceCustomField.html delete mode 100644 apidocs/SalesforceSoapClient/SforceCustomObject.html delete mode 100644 apidocs/SalesforceSoapClient/SforceEnterpriseClient.html delete mode 100644 apidocs/SalesforceSoapClient/SforceMetadataClient.html delete mode 100644 apidocs/SalesforceSoapClient/SforcePartnerClient.html delete mode 100644 apidocs/SalesforceSoapClient/SingleEmailMessage.html delete mode 100644 apidocs/SalesforceSoapClient/UserTerritoryDeleteHeader.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforceBaseClient.php.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforceEmail.php.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforceEnterpriseClient.php.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforceFieldTypes.php.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforceHeaderOptions.php.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforceMetaObject.php.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforceMetadataClient.php.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforcePartnerClient.php.html delete mode 100644 apidocs/SalesforceSoapClient/_soapclient---SforceProcessRequest.php.html delete mode 100644 apidocs/SalesforceTest/SforcePartnerClientTest.html delete mode 100644 apidocs/SalesforceTest/_test---SforcePartnerClientTest.php.html delete mode 100644 apidocs/classtrees_SalesforceSoapClient.html delete mode 100644 apidocs/classtrees_SalesforceTest.html delete mode 100644 apidocs/elementindex.html delete mode 100644 apidocs/elementindex_SalesforceSoapClient.html delete mode 100644 apidocs/elementindex_SalesforceTest.html delete mode 100644 apidocs/errors.html delete mode 100644 apidocs/index.html delete mode 100644 apidocs/li_SalesforceSoapClient.html delete mode 100644 apidocs/li_SalesforceTest.html delete mode 100644 apidocs/media/Thumbs.db delete mode 100644 apidocs/media/background.png delete mode 100644 apidocs/media/empty.png delete mode 100644 apidocs/media/style.css delete mode 100644 css/document.css delete mode 100644 css/sforce.css delete mode 100644 images/adn-blog.gif delete mode 100644 images/appexchange_logo_small.gif delete mode 100644 instructions.html delete mode 100644 misc/globalconstants.php delete mode 100644 php.html delete mode 100644 samples/userAuth.php delete mode 100644 soapclient/ProxySettings.php delete mode 100644 soapclient/SforceBaseClient.php delete mode 100644 soapclient/SforceEmail.php delete mode 100644 soapclient/SforceEnterpriseClient.php delete mode 100644 soapclient/SforceFieldTypes.php delete mode 100644 soapclient/SforceHeaderOptions.php delete mode 100644 soapclient/SforceMetaObject.php delete mode 100644 soapclient/SforceMetadataClient.php delete mode 100644 soapclient/SforcePartnerClient.php delete mode 100644 soapclient/SforceProcessRequest.php delete mode 100644 soapclient/enterprise.wsdl.xml delete mode 100644 soapclient/metadata.wsdl.xml delete mode 100644 soapclient/partner.wsdl.xml delete mode 100644 test/SforcePartnerClientTest.php delete mode 100644 test/build-phing.xml delete mode 100644 test/build.bat delete mode 100644 test/build.xml delete mode 100644 test/enterprise.php delete mode 100644 test/partner.php delete mode 100644 test/report/SalesforceTest/SforcePartnerClientTest.html delete mode 100644 test/report/SalesforceTest/package-frame.html delete mode 100644 test/report/SalesforceTest/package-summary.html delete mode 100644 test/report/allclasses-frame.html delete mode 100644 test/report/index.html delete mode 100644 test/report/overview-frame.html delete mode 100644 test/report/overview-summary.html delete mode 100644 test/report/stylesheet.css delete mode 100644 test/xsl/coverage-frames.xsl delete mode 100644 test/xsl/log.xsl delete mode 100644 test/xsl/phpunit2-frames.xsl delete mode 100644 test/xsl/phpunit2-noframes.xsl delete mode 100644 test/xsl/str.replace.function.xsl delete mode 100644 tests.html delete mode 100644 unit_test/Lib/Enum/GenericAbstract.php delete mode 100644 unit_test/Lib/Enum/WsdlType.php delete mode 100644 unit_test/Lib/Exception/InvalidResponse.php delete mode 100755 unit_test/Lib/Test/Enterprise/AggregateResultTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/AllowFieldTruncationHeaderTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/CDUTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/ConvertLeadTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/DescribeDataCategoryGroupStructuresTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/DescribeDataCategoryGroupsTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/DescribeGlobalTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/DescribeLayoutTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/DescribeSObjectTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/EmptyRecycleBinTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/FieldsToNullTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/GetDeletedTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/GetServerTimestampTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/GetUpdatedTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/GetUserInfoTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/InvalidateSessionsTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/LocaleOptionsTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/LoginScopeHeaderTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/LoginTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/LogoutTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/MergeTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/PackageVersionHeaderTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/ProcessSubmitRequestTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/ProcessWorkItemRequestTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/QueryMoreTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/QueryOptionsTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/QueryTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/ResetPasswordTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/RetrieveTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/SendEmailTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/SendEmailWithAttachTest.php delete mode 100644 unit_test/Lib/Test/Enterprise/UpsertTest.php delete mode 100644 unit_test/Lib/Test/Partner/AllowFieldTruncationHeaderTest.php delete mode 100644 unit_test/Lib/Test/Partner/AssigmentRuleHeaderTest.php delete mode 100644 unit_test/Lib/Test/Partner/CDUTest.php delete mode 100644 unit_test/Lib/Test/Partner/CallOptionsTest.php delete mode 100644 unit_test/Lib/Test/Partner/ConvertLeadTest.php delete mode 100644 unit_test/Lib/Test/Partner/DescribeDataCategoryGroupStructuresTest.php delete mode 100644 unit_test/Lib/Test/Partner/DescribeDataCategoryGroupsTest.php delete mode 100644 unit_test/Lib/Test/Partner/DescribeGlobalTest.php delete mode 100644 unit_test/Lib/Test/Partner/DescribeLayoutTest.php delete mode 100644 unit_test/Lib/Test/Partner/DescribeSObjectTest.php delete mode 100644 unit_test/Lib/Test/Partner/EmailHeaderTest.php delete mode 100644 unit_test/Lib/Test/Partner/EmptyRecycleBinTest.php delete mode 100644 unit_test/Lib/Test/Partner/FieldsToNullTest.php delete mode 100644 unit_test/Lib/Test/Partner/GetDeletedTest.php delete mode 100644 unit_test/Lib/Test/Partner/GetServerTimestampTest.php delete mode 100644 unit_test/Lib/Test/Partner/GetUpdatedTest.php delete mode 100644 unit_test/Lib/Test/Partner/GetUserInfoTest.php delete mode 100644 unit_test/Lib/Test/Partner/InvalidateSessionsTest.php delete mode 100644 unit_test/Lib/Test/Partner/LocaleOptionsTest.php delete mode 100644 unit_test/Lib/Test/Partner/LoginScopeHeaderTest.php delete mode 100644 unit_test/Lib/Test/Partner/LoginTest.php delete mode 100644 unit_test/Lib/Test/Partner/LogoutTest.php delete mode 100644 unit_test/Lib/Test/Partner/MergeTest.php delete mode 100644 unit_test/Lib/Test/Partner/MetaDataCheckStatusTest.php delete mode 100644 unit_test/Lib/Test/Partner/MetaDataCreateTest.php delete mode 100644 unit_test/Lib/Test/Partner/MetaDataDeleteTest.php delete mode 100644 unit_test/Lib/Test/Partner/PackageVersionHeaderTest.php delete mode 100644 unit_test/Lib/Test/Partner/ProcessSubmitRequestTest.php delete mode 100644 unit_test/Lib/Test/Partner/ProcessWorkItemRequestTest.php delete mode 100644 unit_test/Lib/Test/Partner/QueryMoreTest.php delete mode 100644 unit_test/Lib/Test/Partner/QueryOptionsTest.php delete mode 100644 unit_test/Lib/Test/Partner/QueryTest.php delete mode 100644 unit_test/Lib/Test/Partner/ResetPasswordTest.php delete mode 100644 unit_test/Lib/Test/Partner/RetrieveTest.php delete mode 100644 unit_test/Lib/Test/Partner/SendEmailTest.php delete mode 100644 unit_test/Lib/Test/Partner/SendEmailWithAttachTest.php delete mode 100644 unit_test/Lib/Test/Partner/UpdateTest.php delete mode 100644 unit_test/Lib/Test/Partner/UpsertTest.php delete mode 100644 unit_test/Lib/Test/TestAbstract.php delete mode 100644 unit_test/Lib/Test/TestAbstractEnterprise.php delete mode 100644 unit_test/Lib/Test/TestAbstractPartner.php delete mode 100644 unit_test/Lib/Test/TestFactory.php delete mode 100644 unit_test/Lib/Utils/FileLogger.php delete mode 100644 unit_test/index.php delete mode 100644 unit_test/runTest.php diff --git a/.gitignore b/.gitignore index a31e303..0fdcea6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ /vendor/ -.buildpath -.settings -.project -.idea +composer.lock +composer.phar diff --git a/license b/LICENSE similarity index 100% rename from license rename to LICENSE diff --git a/apache.html b/apache.html deleted file mode 100644 index c370074..0000000 --- a/apache.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - -Apache Setup - - - - - -

-

Apache Setup

-

Instructions | API Docs | Apache Setup | PHP Setup | Unit Tests

-
-

The current version of Apache as this is written is 2.0.55.

-

Installation

-

You can get the current distribution from the download section of the Apache site.

-

This document will assume C:\Apache Group\Apache2 as your Apache base directory. It will assume C:\dev\php5 as your PHP base directory.

-

Configure

-

Apache's configuration is captured in the C:\Apache Group\Apache2\conf\httpd.conf file.

-

Turning on PHP 5 Support

-Edit the configuration file and add the following entries in the appropriate sections: -
# Dynamic Shared Object (DSO) Support
-  LoadModule php5_module "c:/dev/php5/php5apache2.dll"
-
-  # AddType
-  AddType application/x-httpd-php .php
-
-  # Anywhere
-  PHPIniDir "c:/dev/php5"
-

Document Root

-

Search for "DocumentRoot" to locate the directory for your document root. If you decide to change this, please also change the value of <Directory to match the document root.

-

Restart Apache server to have the changes take effect.

-

Tips / Troubleshooting

-

To test whether PHP is properly configured for you web server, create a file, call it phpinfo.php and paste the following in:

-<?php phpinfo(); ?> -

Copy the file to your document root and access it in your browser by navigating to http://localhost:[port]/phpinfo.php where port is your http port. You should be presented with a page of PHP information about the current stage of PHP.

-

 

- - diff --git a/apidocs/SalesforceSoapClient/AssignmentRuleHeader.html b/apidocs/SalesforceSoapClient/AssignmentRuleHeader.html deleted file mode 100644 index f3c5ab8..0000000 --- a/apidocs/SalesforceSoapClient/AssignmentRuleHeader.html +++ /dev/null @@ -1,250 +0,0 @@ - - -Docs For Class AssignmentRuleHeader - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: AssignmentRuleHeader

-Source Location: /soapclient/SforceHeaderOptions.php

- - - - - - - - - - -
- -

Class Overview

-

-
To be used with Create and Update operations.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 52]
-To be used with Create and Update operations.

Only one attribute can be set at a time.




-
[ Top ]

- -
- -

Class Variables

-
- -

-

$assignmentRuleId =

-

[line 54]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$useDefaultRuleFlag =

-

[line 56]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 64]

-
-
-
- AssignmentRuleHeader __construct( -[int -$id = NULL], [boolean -$flag = NULL]) -
-

- - Constructor. Only one param can be set.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
int  $id  AssignmentRuleId
boolean  $flag  UseDefaultRule flag
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:32 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/CallOptions.html b/apidocs/SalesforceSoapClient/CallOptions.html deleted file mode 100644 index e744352..0000000 --- a/apidocs/SalesforceSoapClient/CallOptions.html +++ /dev/null @@ -1,250 +0,0 @@ - - -Docs For Class CallOptions - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: CallOptions

-Source Location: /soapclient/SforceHeaderOptions.php

- - - - - - - - - - -
- -

Class Overview

-

-
This file contains three classes.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 34]
-This file contains three classes.



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$client =

-

[line 35]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$defaultNamespace =

-

[line 36]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 38]

-
-
-
- CallOptions __construct( - -$client, [ -$defaultNamespace = NULL]) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
  $client  
  $defaultNamespace  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:32 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/Email.html b/apidocs/SalesforceSoapClient/Email.html deleted file mode 100644 index 70373cf..0000000 --- a/apidocs/SalesforceSoapClient/Email.html +++ /dev/null @@ -1,419 +0,0 @@ - - -Docs For Class Email - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: Email

-Source Location: /soapclient/SforceEmail.php

- - - - - - - - - -
- -

Class Overview

-

-


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

- -
-
- - -

Class Details

-
-[line 8]
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method setBccSender [line 9]

-
-
-
- void setBccSender( - -$bccSender) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $bccSender  
-

-
[ Top ]
-
-
- -

method setEmailPriority [line 13]

-
-
-
- void setEmailPriority( - -$priority) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $priority  
-

-
[ Top ]
-
-
- -

method setReplyTo [line 25]

-
-
-
- void setReplyTo( - -$replyTo) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $replyTo  
-

-
[ Top ]
-
-
- -

method setSaveAsActivity [line 21]

-
-
-
- void setSaveAsActivity( - -$saveAsActivity) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $saveAsActivity  
-

-
[ Top ]
-
-
- -

method setSenderDisplayName [line 33]

-
-
-
- void setSenderDisplayName( - -$name) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $name  
-

-
[ Top ]
-
-
- -

method setSubject [line 17]

-
-
-
- void setSubject( - -$subject) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $subject  
-

-
[ Top ]
-
-
- -

method setUseSignature [line 29]

-
-
-
- void setUseSignature( - -$useSignature) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $useSignature  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:31 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/EmailHeader.html b/apidocs/SalesforceSoapClient/EmailHeader.html deleted file mode 100644 index dea18fe..0000000 --- a/apidocs/SalesforceSoapClient/EmailHeader.html +++ /dev/null @@ -1,281 +0,0 @@ - - -Docs For Class EmailHeader - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: EmailHeader

-Source Location: /soapclient/SforceHeaderOptions.php

- - - - - - - - - - -
- -

Class Overview

-

-


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 123]
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$triggerAutoResponseEmail =

-

[line 124]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$triggerOtherEmail =

-

[line 125]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$triggerUserEmail =

-

[line 126]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 128]

-
-
-
- EmailHeader __construct( -[ -$triggerAutoResponseEmail = false], [ -$triggerOtherEmail = false], [ -$triggerUserEmail = false]) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $triggerAutoResponseEmail  
  $triggerOtherEmail  
  $triggerUserEmail  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:32 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/LoginScopeHeader.html b/apidocs/SalesforceSoapClient/LoginScopeHeader.html deleted file mode 100644 index af4084d..0000000 --- a/apidocs/SalesforceSoapClient/LoginScopeHeader.html +++ /dev/null @@ -1,250 +0,0 @@ - - -Docs For Class LoginScopeHeader - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: LoginScopeHeader

-Source Location: /soapclient/SforceHeaderOptions.php

- - - - - - - - - - -
- -

Class Overview

-

-
To be used with the Login operation.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 93]
-To be used with the Login operation.



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$organizationId =

-

[line 95]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$portalId =

-

[line 96]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 98]

-
-
-
- LoginScopeHeader __construct( -[ -$orgId = NULL], [ -$portalId = NULL]) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
  $orgId  
  $portalId  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:32 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/MassEmailMessage.html b/apidocs/SalesforceSoapClient/MassEmailMessage.html deleted file mode 100644 index dd26a91..0000000 --- a/apidocs/SalesforceSoapClient/MassEmailMessage.html +++ /dev/null @@ -1,310 +0,0 @@ - - -Docs For Class MassEmailMessage - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: MassEmailMessage

-Source Location: /soapclient/SforceEmail.php

- - - - - - - - - -
- -

Class Overview

-
Email
-   |
-   --MassEmailMessage

-


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

- -
-
- - -

Class Details

-
-[line 88]
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method setTargetObjectIds [line 97]

-
-
-
- void setTargetObjectIds( - -$array) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $array  
-

-
[ Top ]
-
-
- -

method setTemplateId [line 89]

-
-
-
- void setTemplateId( - -$templateId) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $templateId  
-

-
[ Top ]
-
-
- -

method setWhatIds [line 93]

-
-
-
- void setWhatIds( - -$array) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $array  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:31 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/MruHeader.html b/apidocs/SalesforceSoapClient/MruHeader.html deleted file mode 100644 index afe5950..0000000 --- a/apidocs/SalesforceSoapClient/MruHeader.html +++ /dev/null @@ -1,219 +0,0 @@ - - -Docs For Class MruHeader - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: MruHeader

-Source Location: /soapclient/SforceHeaderOptions.php

- - - - - - - - - - -
- -

Class Overview

-

-
To be used with Create and Update operations.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 79]
-To be used with Create and Update operations.



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$updateMruFlag =

-

[line 81]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 83]

-
-
-
- MruHeader __construct( - -$bool) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $bool  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:33 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/ProcessRequest.html b/apidocs/SalesforceSoapClient/ProcessRequest.html deleted file mode 100644 index 6b3a234..0000000 --- a/apidocs/SalesforceSoapClient/ProcessRequest.html +++ /dev/null @@ -1,221 +0,0 @@ - - -Docs For Class ProcessRequest - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: ProcessRequest

-Source Location: /soapclient/SforceProcessRequest.php

- - - - - - - - - -
- -

Class Overview

-

-


-

Author(s):

-
    -
- - - - - - - -
-

Variables

- -
-
- - - - - - - - - -
-

Child classes:

- -
-
- - -

Class Details

-
-[line 2]
-

-

Tags:

-
- - - - -
abstract:  
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$comments =

-

[line 3]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$nextApproverIds =

-

[line 4]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- - - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:35 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/ProcessSubmitRequest.html b/apidocs/SalesforceSoapClient/ProcessSubmitRequest.html deleted file mode 100644 index e8423c8..0000000 --- a/apidocs/SalesforceSoapClient/ProcessSubmitRequest.html +++ /dev/null @@ -1,193 +0,0 @@ - - -Docs For Class ProcessSubmitRequest - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: ProcessSubmitRequest

-Source Location: /soapclient/SforceProcessRequest.php

- - - - - - - - - -
- -

Class Overview

-
ProcessRequest
-   |
-   --ProcessSubmitRequest

-


- - - - - - - -
-

Variables

- -
-
- - - - - - - - - -
-

Inherited Variables

- -
-
- - -

Class Details

-
-[line 7]
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$objectId =

-

[line 8]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- - - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:35 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/ProcessWorkitemRequest.html b/apidocs/SalesforceSoapClient/ProcessWorkitemRequest.html deleted file mode 100644 index 2f18720..0000000 --- a/apidocs/SalesforceSoapClient/ProcessWorkitemRequest.html +++ /dev/null @@ -1,218 +0,0 @@ - - -Docs For Class ProcessWorkitemRequest - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: ProcessWorkitemRequest

-Source Location: /soapclient/SforceProcessRequest.php

- - - - - - - - - -
- -

Class Overview

-
ProcessRequest
-   |
-   --ProcessWorkitemRequest

-


- - - - - - - -
-

Variables

- -
-
- - - - - - - - - -
-

Inherited Variables

- -
-
- - -

Class Details

-
-[line 11]
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$action =

-

[line 12]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$workitemId =

-

[line 13]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- - - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:35 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/QueryOptions.html b/apidocs/SalesforceSoapClient/QueryOptions.html deleted file mode 100644 index c154535..0000000 --- a/apidocs/SalesforceSoapClient/QueryOptions.html +++ /dev/null @@ -1,219 +0,0 @@ - - -Docs For Class QueryOptions - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: QueryOptions

-Source Location: /soapclient/SforceHeaderOptions.php

- - - - - - - - - - -
- -

Class Overview

-

-
To be used with Retrieve, Query, and QueryMore operations.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 109]
-To be used with Retrieve, Query, and QueryMore operations.



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$batchSize =

-

[line 111]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 118]

-
-
-
- QueryOptions __construct( -int -$limit) -
-

- - Constructor



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
int  $limit  Batch size
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:33 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/QueryResult.html b/apidocs/SalesforceSoapClient/QueryResult.html deleted file mode 100644 index 507caef..0000000 --- a/apidocs/SalesforceSoapClient/QueryResult.html +++ /dev/null @@ -1,294 +0,0 @@ - - -Docs For Class QueryResult - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: QueryResult

-Source Location: /soapclient/SforcePartnerClient.php

- - - - - - - - - - -
- -

Class Overview

-

-


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 155]
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$done =

-

[line 157]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$queryLocator =

-

[line 156]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$records =

-

[line 158]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$size =

-

[line 159]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 161]

-
-
-
- QueryResult __construct( - -$response) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $response  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:34 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/SObject.html b/apidocs/SalesforceSoapClient/SObject.html deleted file mode 100644 index 30a54d9..0000000 --- a/apidocs/SalesforceSoapClient/SObject.html +++ /dev/null @@ -1,328 +0,0 @@ - - -Docs For Class SObject - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: SObject

-Source Location: /soapclient/SforcePartnerClient.php

- - - - - - - - - - -
- -

Class Overview

-

-
Salesforce Object


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 187]
-Salesforce Object



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$fields =

-

[line 189]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$type =

-

[line 188]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 192]

-
-
-
- SObject __construct( -[ -$response = NULL]) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $response  
-

-
[ Top ]
-
-
- -

method convertFields [line 284]

-
-
-
- void convertFields( - -$any) -
-

- - Parse the "any" string from an sObject. First strip out the sf: and then enclose string with <Object></Object>. Load the string using simplexml_load_string and return an array that can be traversed.



- - -

Parameters:

-
- - - - - - -
  $any  
-

-
[ Top ]
-
-
- -

method isQueryResult [line 294]

-
-
-
- void isQueryResult( - -$param) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $param  
-

-
[ Top ]
-
-
- -

method isSObject [line 301]

-
-
-
- void isSObject( - -$param) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $param  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:34 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/SforceBaseClient.html b/apidocs/SalesforceSoapClient/SforceBaseClient.html deleted file mode 100644 index dd28b34..0000000 --- a/apidocs/SalesforceSoapClient/SforceBaseClient.html +++ /dev/null @@ -1,2437 +0,0 @@ - - -Docs For Class SforceBaseClient - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: SforceBaseClient

-Source Location: /soapclient/SforceBaseClient.php

- - - - - - - - - - -
- -

Class Overview

-

-
SalesforceSoapClient


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

-
-
-
SforceEnterpriseClient
-
SforceEnterpriseClient class.
-
-
-
SforcePartnerClient
-
SforcePartnerClient class.
-
-
-
-
- - -

Class Details

-
-[line 41]
-SalesforceSoapClient



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$assignmentRuleHeader =

-

[line 51]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$callOptions =

-

[line 50]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$client_id =

-

[line 68]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$emailHeader =

-

[line 52]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$location =

-

[line 44]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$loginScopeHeader =

-

[line 53]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$mruHeader =

-

[line 54]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$namespace =

-

[line 47]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$queryHeader =

-

[line 55]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sessionHeader =

-

[line 57]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sessionId =

-

[line 43]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sforce =

-

[line 42]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$userTerritoryDeleteHeader =

-

[line 56]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$version =  '11.0'

-

[line 45]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

method convertLead [line 441]

-
-
-
- LeadConvertResult convertLead( -array -$leadConverts) -
-

- - Converts a Lead into an Account, Contact, or (optionally) an Opportunity.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $leadConverts  Array of LeadConvert
-

-
[ Top ]
-
-
- -

method createConnection [line 94]

-
-
-
- void createConnection( -string -$wsdl, [ -$proxy = null]) -
-

- - Connect method to www.salesforce.com



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $wsdl  Salesforce.com Partner WSDL
  $proxy  
-

-
[ Top ]
-
-
- -

method delete [line 454]

-
-
-
- DeleteResult delete( -array -$ids) -
-

- - Deletes one or more new individual objects to your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $ids  Array of fields
-

-
[ Top ]
-
-
- -

method describeGlobal [line 530]

-
-
-
- DescribeGlobalResult describeGlobal( -) -
-

- - Retrieves a list of available objects for your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method describeLayout [line 545]

-
-
-
- DescribeLayoutResult describeLayout( -string -$type) -
-

- - Use describeLayout to retrieve information about the layout (presentation

of data to users) for a given object type. The describeLayout call returns metadata about a given page layout, including layouts for edit and display-only views and record type mappings. Note that field-level security and layout editability affects which fields appear in a layout.




-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $type  Type Object Type
-

-
[ Top ]
-
-
- -

method describeSObject [line 559]

-
-
-
- DescribsSObjectResult describeSObject( -string -$type) -
-

- - Describes metadata (field list and object properties) for the specified object.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $type  Object type
-

-
[ Top ]
-
-
- -

method describeSObjects [line 573]

-
-
-
- DescribsSObjectResult describeSObjects( -array -$arrayOfTypes) -
-

- - An array-based version of describeSObject; describes metadata (field list and object properties) for the specified object or array of objects.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $arrayOfTypes  Array of object types.
-

-
[ Top ]
-
-
- -

method describeTabs [line 585]

-
-
-
- DescribeTabSetResult describeTabs( -) -
-

- - The describeTabs call returns information about the standard apps and custom apps, if any, available for the user who sends the call, including the list of tabs defined for each app.



-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method emptyRecycleBin [line 480]

-
-
-
- DeleteResult emptyRecycleBin( -array -$ids) -
-

- - Deletes one or more new individual objects to your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $ids  Array of fields
-

-
[ Top ]
-
-
- -

method getConnection [line 338]

-
-
-
- void getConnection( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getDeleted [line 599]

-
-
-
- GetDeletedResult getDeleted( -string -$type, date -$startDate, date -$endDate) -
-

- - Retrieves the list of individual objects that have been deleted within the given timespan for the specified object.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
string  $type  Ojbect type
date  $startDate  Start date
date  $endDate  End Date
-

-
[ Top ]
-
-
- -

method getFunctions [line 342]

-
-
-
- void getFunctions( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLastRequest [line 350]

-
-
-
- void getLastRequest( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLastRequestHeaders [line 354]

-
-
-
- void getLastRequestHeaders( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLastResponse [line 358]

-
-
-
- void getLastResponse( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLastResponseHeaders [line 362]

-
-
-
- void getLastResponseHeaders( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLocation [line 334]

-
-
-
- void getLocation( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getNamespace [line 59]

-
-
-
- void getNamespace( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getServerTimestamp [line 724]

-
-
-
- timestamp getServerTimestamp( -) -
-

- - Retrieves the current system timestamp (GMT) from the Web service.



-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getSessionId [line 330]

-
-
-
- void getSessionId( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getTypes [line 346]

-
-
-
- void getTypes( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getUpdated [line 617]

-
-
-
- GetUpdatedResult getUpdated( -string -$type, date -$startDate, date -$endDate) -
-

- - Retrieves the list of individual objects that have been updated (added or changed) within the given timespan for the specified object.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
string  $type  Ojbect type
date  $startDate  Start date
date  $endDate  End Date
-

-
[ Top ]
-
-
- -

method getUserInfo [line 729]

-
-
-
- void getUserInfo( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method login [line 144]

-
-
-
- LoginResult login( -string -$username, string -$password) -
-

- - Login to Salesforce.com and starts a client session.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $username  Username
string  $password  Password
-

-
[ Top ]
-
-
- -

method printDebugInfo [line 70]

-
-
-
- void printDebugInfo( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method processSubmitRequest [line 493]

-
-
-
- ProcessResult processSubmitRequest( -array -$processRequestArray) -
-

- - Process Submit Request for Approval



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $processRequestArray  
-

-
[ Top ]
-
-
- -

method processWorkitemRequest [line 512]

-
-
-
- ProcessResult processWorkitemRequest( -array -$processRequestArray) -
-

- - Process Work Item Request for Approval



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $processRequestArray  
-

-
[ Top ]
-
-
- -

method query [line 634]

-
-
-
- QueryResult query( -String -$query, QueryOptions -$queryOptions) -
-

- - Executes a query against the specified object and returns data that matches the specified criteria.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
String  $query  Query String
QueryOptions  $queryOptions  Batch size limit. OPTIONAL
-

-
[ Top ]
-
-
- -

method queryAll [line 666]

-
-
-
- QueryResult queryAll( -String -$query, [QueryOptions -$queryOptions = NULL]) -
-

- - Retrieves data from specified objects, whether or not they have been deleted.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
String  $query  Query String
QueryOptions  $queryOptions  Batch size limit. OPTIONAL
-

-
[ Top ]
-
-
- -

method queryMore [line 650]

-
-
-
- QueryResult queryMore( -QueryLocator -$queryLocator, QueryOptions -$queryOptions) -
-

- - Retrieves the next batch of objects from a query.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
QueryLocator  $queryLocator  Represents the server-side cursor that tracks the current processing location in the query result set.
QueryOptions  $queryOptions  Batch size limit. OPTIONAL
-

-
[ Top ]
-
-
- -

method resetPassword [line 754]

-
-
-
- password resetPassword( -string -$userId) -
-

- - Changes a user's password to a system-generated value.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $userId  Id of the User
-

-
[ Top ]
-
-
- -

method retrieve [line 697]

-
-
-
- sObject[] retrieve( -string -$fieldList, string -$sObjectType, array -$ids) -
-

- - Retrieves one or more objects based on the specified object IDs.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
string  $fieldList  One or more fields separated by commas.
string  $sObjectType  Object from which to retrieve data.
array  $ids  Array of one or more IDs of the objects to retrieve.
-

-
[ Top ]
-
-
- -

method search [line 712]

-
-
-
- SearchResult search( -string -$searchString) -
-

- - Executes a text search in your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $searchString  Search string that specifies the text expression to search for.
-

-
[ Top ]
-
-
- -

method sendMassEmail [line 414]

-
-
-
- void sendMassEmail( - -$request) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- -

Overridden in child classes as:
-

-
SforcePartnerClient::sendMassEmail()
-
-
-

- -

Parameters:

-
- - - - - - -
  $request  
-

-
[ Top ]
-
-
- -

method sendSingleEmail [line 399]

-
-
-
- void sendSingleEmail( - -$request) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- -

Overridden in child classes as:
-

-
SforcePartnerClient::sendSingleEmail()
-
-
-

- -

Parameters:

-
- - - - - - -
  $request  
-

-
[ Top ]
-
-
- -

method setAssignmentRuleHeader [line 253]

-
-
-
- void setAssignmentRuleHeader( - -$header) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $header  
-

-
[ Top ]
-
-
- -

method setCallOptions [line 125]

-
-
-
- void setCallOptions( - -$header) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $header  
-

-
[ Top ]
-
-
- -

method setEmailHeader [line 264]

-
-
-
- void setEmailHeader( - -$header) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $header  
-

-
[ Top ]
-
-
- -

method setEndpoint [line 177]

-
-
-
- void setEndpoint( -string -$location) -
-

- - Set the endpoint.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $location  Location
-

-
[ Top ]
-
-
- -

method setLoginScopeHeader [line 276]

-
-
-
- void setLoginScopeHeader( - -$header) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $header  
-

-
[ Top ]
-
-
- -

method setMruHeader [line 288]

-
-
-
- void setMruHeader( - -$header) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $header  
-

-
[ Top ]
-
-
- -

method setPassword [line 740]

-
-
-
- void setPassword( -string -$userId, string -$password) -
-

- - Sets the specified user's password to the specified value.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $userId  ID of the User.
string  $password  New password
-

-
[ Top ]
-
-
- -

method setQueryOptions [line 320]

-
-
-
- void setQueryOptions( - -$header) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $header  
-

-
[ Top ]
-
-
- -

method setSessionHeader [line 298]

-
-
-
- void setSessionHeader( - -$id) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $id  
-

-
[ Top ]
-
-
- -

method setUserTerritoryDeleteHeader [line 310]

-
-
-
- void setUserTerritoryDeleteHeader( - -$header) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $header  
-

-
[ Top ]
-
-
- -

method undelete [line 467]

-
-
-
- DeleteResult undelete( -array -$ids) -
-

- - Deletes one or more new individual objects to your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $ids  Array of fields
-

-
[ Top ]
-
-
- -

method _convertToAny [line 366]

-
-
-
- void _convertToAny( - -$fields) -
-

- -

-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $fields  
-

-
[ Top ]
-
-
- -

method _create [line 374]

-
-
-
- void _create( - -$arg) -
-

- -

-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $arg  
-

-
[ Top ]
-
-
- -

method _merge [line 379]

-
-
-
- void _merge( - -$arg) -
-

- -

-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $arg  
-

-
[ Top ]
-
-
- -

method _process [line 384]

-
-
-
- void _process( - -$arg) -
-

- -

-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $arg  
-

-
[ Top ]
-
-
- -

method _sendEmail [line 429]

-
-
-
- void _sendEmail( - -$arg) -
-

- -

-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $arg  
-

-
[ Top ]
-
-
- -

method _setLoginHeader [line 165]

-
-
-
- void _setLoginHeader( - -$loginResult) -
-

- - Specifies the session ID returned from the login server after a successful login.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $loginResult  
-

-
[ Top ]
-
-
- -

method _update [line 389]

-
-
-
- void _update( - -$arg) -
-

- -

-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $arg  
-

-
[ Top ]
-
-
- -

method _upsert [line 394]

-
-
-
- void _upsert( - -$arg) -
-

- -

-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $arg  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/SforceCustomField.html b/apidocs/SalesforceSoapClient/SforceCustomField.html deleted file mode 100644 index e5f193c..0000000 --- a/apidocs/SalesforceSoapClient/SforceCustomField.html +++ /dev/null @@ -1,1183 +0,0 @@ - - -Docs For Class SforceCustomField - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: SforceCustomField

-Source Location: /soapclient/SforceMetaObject.php

- - - - - - - - - -
- -

Class Overview

-

-


- - - - - - - -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 62]
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method setCaseSensitive [line 63]

-
-
-
- void setCaseSensitive( - -$caseSensitive) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $caseSensitive  
-

-
[ Top ]
-
-
- -

method setDefaultValue [line 67]

-
-
-
- void setDefaultValue( - -$defaultValue) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $defaultValue  
-

-
[ Top ]
-
-
- -

method setDescription [line 71]

-
-
-
- void setDescription( - -$description) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $description  
-

-
[ Top ]
-
-
- -

method setDisplayFormat [line 75]

-
-
-
- void setDisplayFormat( - -$displayFormat) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $displayFormat  
-

-
[ Top ]
-
-
- -

method setExternalId [line 79]

-
-
-
- void setExternalId( - -$externalId) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $externalId  
-

-
[ Top ]
-
-
- -

method setFormula [line 83]

-
-
-
- void setFormula( - -$formula) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $formula  
-

-
[ Top ]
-
-
- -

method setFormulaTreatBlankAs [line 87]

-
-
-
- void setFormulaTreatBlankAs( - -$formulaTreatBlankAs) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $formulaTreatBlankAs  
-

-
[ Top ]
-
-
- -

method setFullName [line 91]

-
-
-
- void setFullName( - -$fullName) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $fullName  
-

-
[ Top ]
-
-
- -

method setInlineHelpText [line 95]

-
-
-
- void setInlineHelpText( - -$inlineHelpText) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $inlineHelpText  
-

-
[ Top ]
-
-
- -

method setLabel [line 99]

-
-
-
- void setLabel( - -$label) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $label  
-

-
[ Top ]
-
-
- -

method setLength [line 103]

-
-
-
- void setLength( - -$length) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $length  
-

-
[ Top ]
-
-
- -

method setMaskChar [line 107]

-
-
-
- void setMaskChar( - -$maskChar) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $maskChar  
-

-
[ Top ]
-
-
- -

method setMaskType [line 111]

-
-
-
- void setMaskType( - -$maskType) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $maskType  
-

-
[ Top ]
-
-
- -

method setPicklist [line 115]

-
-
-
- void setPicklist( - -$picklist) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $picklist  
-

-
[ Top ]
-
-
- -

method setPopulateExistingRows [line 119]

-
-
-
- void setPopulateExistingRows( - -$populateExistingRows) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $populateExistingRows  
-

-
[ Top ]
-
-
- -

method setPrecision [line 123]

-
-
-
- void setPrecision( - -$precision) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $precision  
-

-
[ Top ]
-
-
- -

method setReferenceTo [line 127]

-
-
-
- void setReferenceTo( - -$referenceTo) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $referenceTo  
-

-
[ Top ]
-
-
- -

method setRelationshipName [line 131]

-
-
-
- void setRelationshipName( - -$relationshipName) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $relationshipName  
-

-
[ Top ]
-
-
- -

method setRequired [line 135]

-
-
-
- void setRequired( - -$required) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $required  
-

-
[ Top ]
-
-
- -

method setScale [line 139]

-
-
-
- void setScale( - -$scale) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $scale  
-

-
[ Top ]
-
-
- -

method setStartingNumber [line 143]

-
-
-
- void setStartingNumber( - -$startingNumber) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $startingNumber  
-

-
[ Top ]
-
-
- -

method setSummarizeField [line 147]

-
-
-
- void setSummarizeField( - -$summarizeField) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $summarizeField  
-

-
[ Top ]
-
-
- -

method setSummaryFilterItems [line 151]

-
-
-
- void setSummaryFilterItems( - -$summaryFilterItems) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $summaryFilterItems  
-

-
[ Top ]
-
-
- -

method setSummaryForeignKey [line 155]

-
-
-
- void setSummaryForeignKey( - -$summaryForeignKey) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $summaryForeignKey  
-

-
[ Top ]
-
-
- -

method setSummaryOperation [line 159]

-
-
-
- void setSummaryOperation( - -$summaryOperation) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $summaryOperation  
-

-
[ Top ]
-
-
- -

method setType [line 163]

-
-
-
- void setType( - -$type) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $type  
-

-
[ Top ]
-
-
- -

method setUnique [line 167]

-
-
-
- void setUnique( - -$unique) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $unique  
-

-
[ Top ]
-
-
- -

method setVisibleLines [line 171]

-
-
-
- void setVisibleLines( - -$visibleLines) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $visibleLines  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:33 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/SforceCustomObject.html b/apidocs/SalesforceSoapClient/SforceCustomObject.html deleted file mode 100644 index d8d16f7..0000000 --- a/apidocs/SalesforceSoapClient/SforceCustomObject.html +++ /dev/null @@ -1,665 +0,0 @@ - - -Docs For Class SforceCustomObject - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: SforceCustomObject

-Source Location: /soapclient/SforceMetaObject.php

- - - - - - - - - -
- -

Class Overview

-

-


- - - - - - - -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 4]
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method setDeploymentStatus [line 5]

-
-
-
- void setDeploymentStatus( - -$deploymentStatus) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $deploymentStatus  
-

-
[ Top ]
-
-
- -

method setDescription [line 9]

-
-
-
- void setDescription( - -$description) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $description  
-

-
[ Top ]
-
-
- -

method setEnableActivities [line 13]

-
-
-
- void setEnableActivities( - -$enableActivities) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $enableActivities  
-

-
[ Top ]
-
-
- -

method setEnableDivisions [line 17]

-
-
-
- void setEnableDivisions( - -$enableDivisions) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $enableDivisions  
-

-
[ Top ]
-
-
- -

method setEnableHistory [line 21]

-
-
-
- void setEnableHistory( - -$enableHistory) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $enableHistory  
-

-
[ Top ]
-
-
- -

method setEnableReports [line 25]

-
-
-
- void setEnableReports( - -$enableReports) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $enableReports  
-

-
[ Top ]
-
-
- -

method setFields [line 29]

-
-
-
- void setFields( - -$fields) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $fields  
-

-
[ Top ]
-
-
- -

method setFullName [line 33]

-
-
-
- void setFullName( - -$fullName) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $fullName  
-

-
[ Top ]
-
-
- -

method setGender [line 37]

-
-
-
- void setGender( - -$gender) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $gender  
-

-
[ Top ]
-
-
- -

method setHousehold [line 41]

-
-
-
- void setHousehold( - -$household) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $household  
-

-
[ Top ]
-
-
- -

method setLabel [line 45]

-
-
-
- void setLabel( - -$label) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $label  
-

-
[ Top ]
-
-
- -

method setNameField [line 49]

-
-
-
- void setNameField( - -$nameField) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $nameField  
-

-
[ Top ]
-
-
- -

method setPluralLabel [line 53]

-
-
-
- void setPluralLabel( - -$pluralLabel) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $pluralLabel  
-

-
[ Top ]
-
-
- -

method setStartsWith [line 57]

-
-
-
- void setStartsWith( - -$startsWith) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $startsWith  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:34 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/SforceEnterpriseClient.html b/apidocs/SalesforceSoapClient/SforceEnterpriseClient.html deleted file mode 100644 index 1289527..0000000 --- a/apidocs/SalesforceSoapClient/SforceEnterpriseClient.html +++ /dev/null @@ -1,804 +0,0 @@ - - -Docs For Class SforceEnterpriseClient - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: SforceEnterpriseClient

-Source Location: /soapclient/SforceEnterpriseClient.php

- - - - - - - - - - -
- -

Class Overview

-
SforceBaseClient
-   |
-   --SforceEnterpriseClient

-
SforceEnterpriseClient class.


- - - - - - - -
-

Constants

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: SforceBaseClient

-
-
- SforceBaseClient::convertLead() -
-
- Converts a Lead into an Account, Contact, or (optionally) an Opportunity. -
-
- SforceBaseClient::createConnection() -
-
- Connect method to www.salesforce.com -
-
- SforceBaseClient::delete() -
-
- Deletes one or more new individual objects to your organization's data. -
-
- SforceBaseClient::describeGlobal() -
-
- Retrieves a list of available objects for your organization's data. -
-
- SforceBaseClient::describeLayout() -
-
- Use describeLayout to retrieve information about the layout (presentation -
-
- SforceBaseClient::describeSObject() -
-
- Describes metadata (field list and object properties) for the specified object. -
-
- SforceBaseClient::describeSObjects() -
-
- An array-based version of describeSObject; describes metadata (field list and object properties) for the specified object or array of objects. -
-
- SforceBaseClient::describeTabs() -
-
- The describeTabs call returns information about the standard apps and custom apps, if any, available for the user who sends the call, including the list of tabs defined for each app. -
-
- SforceBaseClient::emptyRecycleBin() -
-
- Deletes one or more new individual objects to your organization's data. -
-
- SforceBaseClient::getConnection() -
-
- -
-
- SforceBaseClient::getDeleted() -
-
- Retrieves the list of individual objects that have been deleted within the given timespan for the specified object. -
-
- SforceBaseClient::getFunctions() -
-
- -
-
- SforceBaseClient::getLastRequest() -
-
- -
-
- SforceBaseClient::getLastRequestHeaders() -
-
- -
-
- SforceBaseClient::getLastResponse() -
-
- -
-
- SforceBaseClient::getLastResponseHeaders() -
-
- -
-
- SforceBaseClient::getLocation() -
-
- -
-
- SforceBaseClient::getNamespace() -
-
- -
-
- SforceBaseClient::getServerTimestamp() -
-
- Retrieves the current system timestamp (GMT) from the Web service. -
-
- SforceBaseClient::getSessionId() -
-
- -
-
- SforceBaseClient::getTypes() -
-
- -
-
- SforceBaseClient::getUpdated() -
-
- Retrieves the list of individual objects that have been updated (added or changed) within the given timespan for the specified object. -
-
- SforceBaseClient::getUserInfo() -
-
- -
-
- SforceBaseClient::login() -
-
- Login to Salesforce.com and starts a client session. -
-
- SforceBaseClient::printDebugInfo() -
-
- -
-
- SforceBaseClient::processSubmitRequest() -
-
- Process Submit Request for Approval -
-
- SforceBaseClient::processWorkitemRequest() -
-
- Process Work Item Request for Approval -
-
- SforceBaseClient::query() -
-
- Executes a query against the specified object and returns data that matches the specified criteria. -
-
- SforceBaseClient::queryAll() -
-
- Retrieves data from specified objects, whether or not they have been deleted. -
-
- SforceBaseClient::queryMore() -
-
- Retrieves the next batch of objects from a query. -
-
- SforceBaseClient::resetPassword() -
-
- Changes a user's password to a system-generated value. -
-
- SforceBaseClient::retrieve() -
-
- Retrieves one or more objects based on the specified object IDs. -
-
- SforceBaseClient::search() -
-
- Executes a text search in your organization's data. -
-
- SforceBaseClient::sendMassEmail() -
-
- -
-
- SforceBaseClient::sendSingleEmail() -
-
- -
-
- SforceBaseClient::setAssignmentRuleHeader() -
-
- -
-
- SforceBaseClient::setCallOptions() -
-
- -
-
- SforceBaseClient::setEmailHeader() -
-
- -
-
- SforceBaseClient::setEndpoint() -
-
- Set the endpoint. -
-
- SforceBaseClient::setLoginScopeHeader() -
-
- -
-
- SforceBaseClient::setMruHeader() -
-
- -
-
- SforceBaseClient::setPassword() -
-
- Sets the specified user's password to the specified value. -
-
- SforceBaseClient::setQueryOptions() -
-
- -
-
- SforceBaseClient::setSessionHeader() -
-
- -
-
- SforceBaseClient::setUserTerritoryDeleteHeader() -
-
- -
-
- SforceBaseClient::undelete() -
-
- Deletes one or more new individual objects to your organization's data. -
-
- SforceBaseClient::_convertToAny() -
-
- -
-
- SforceBaseClient::_create() -
-
- -
-
- SforceBaseClient::_merge() -
-
- -
-
- SforceBaseClient::_process() -
-
- -
-
- SforceBaseClient::_sendEmail() -
-
- -
-
- SforceBaseClient::_setLoginHeader() -
-
- Specifies the session ID returned from the login server after a successful login. -
-
- SforceBaseClient::_update() -
-
- -
-
- SforceBaseClient::_upsert() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 38]
-SforceEnterpriseClient class.



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor SforceEnterpriseClient [line 41]

-
-
-
- SforceEnterpriseClient SforceEnterpriseClient( -) -
-

- -

- - -
[ Top ]
-
-
- -

method create [line 52]

-
-
-
- SaveResult create( -array -$sObjects, -$type, AssignmentRuleHeader -$assignment_header, MruHeader -$mru_header) -
-

- - Adds one or more new individual objects to your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $sObjects  Array of one or more sObjects (up to 200) to create.
AssignmentRuleHeader  $assignment_header  is optional. Defaults to NULL
MruHeader  $mru_header  is optional. Defaults to NULL
  $type  
-

-
[ Top ]
-
-
- -

method merge [line 103]

-
-
-
- unknown merge( -stdclass -$mergeRequest, String -$type) -
-

- - Merge records



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
stdclass  $mergeRequest  
String  $type  
-

-
[ Top ]
-
-
- -

method update [line 68]

-
-
-
- UpdateResult update( -array -$sObjects, -$type, [AssignmentRuleHeader -$assignment_header = NULL], [MruHeader -$mru_header = NULL]) -
-

- - Updates one or more new individual objects to your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
AssignmentRuleHeader  $assignment_header  is optional. Defaults to NULL
MruHeader  $mru_header  is optional. Defaults to NULL
array  $sObjects  sObjects Array of sObjects
  $type  
-

-
[ Top ]
-
-
- -

method upsert [line 86]

-
-
-
- UpsertResult upsert( -string -$ext_Id, array -$sObjects) -
-

- - Creates new objects and updates existing objects; uses a custom field to determine the presence of existing objects. In most cases, we recommend that you use upsert instead of create because upsert is idempotent.

Available in the API version 7.0 and later.




-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $ext_Id  External Id
array  $sObjects  Array of sObjects
-

-
[ Top ]
-
-

- -
- -

Class Constants

-
- -

-

ENTERPRISE_NAMESPACE =  'urn:enterprise.soap.sforce.com'

-

[line 39]

- -
-
[ Top ]

-

- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:31 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/SforceMetadataClient.html b/apidocs/SalesforceSoapClient/SforceMetadataClient.html deleted file mode 100644 index e612081..0000000 --- a/apidocs/SalesforceSoapClient/SforceMetadataClient.html +++ /dev/null @@ -1,632 +0,0 @@ - - -Docs For Class SforceMetadataClient - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: SforceMetadataClient

-Source Location: /soapclient/SforceMetadataClient.php

- - - - - - - - - - -
- -

Class Overview

-

-


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 4]
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$location =

-

[line 7]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$namespace =  'http://soap.sforce.com/2006/04/metadata'

-

[line 9]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sessionId =

-

[line 6]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sforce =

-

[line 5]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 11]

-
-
-
- SforceMetadataClient __construct( - -$wsdl, -$loginResult, -$sforceConn) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $wsdl  
  $loginResult  
  $sforceConn  
-

-
[ Top ]
-
-
- -

method checkStatus [line 101]

-
-
-
- void checkStatus( - -$ids) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $ids  
-

-
[ Top ]
-
-
- -

method create [line 89]

-
-
-
- void create( - -$obj) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $obj  
-

-
[ Top ]
-
-
- -

method delete [line 95]

-
-
-
- void delete( - -$obj) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $obj  
-

-
[ Top ]
-
-
- -

method getLastRequest [line 105]

-
-
-
- void getLastRequest( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLastRequestHeaders [line 109]

-
-
-
- void getLastRequestHeaders( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLastResponse [line 113]

-
-
-
- void getLastResponse( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLastResponseHeaders [line 117]

-
-
-
- void getLastResponseHeaders( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method setEndpoint [line 66]

-
-
-
- void setEndpoint( -string -$location) -
-

- - Set the endpoint.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $location  Location
-

-
[ Top ]
-
-
- -

method setSessionHeader [line 76]

-
-
-
- void setSessionHeader( -string -$sessionId) -
-

- - Set the Session ID



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $sessionId  Session ID
-

-
[ Top ]
-
-
- -

method _setLoginHeader [line 54]

-
-
-
- void _setLoginHeader( - -$loginResult) -
-

- - Specifies the session ID returned from the login server after a successful login.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
  $loginResult  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:33 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/SforcePartnerClient.html b/apidocs/SalesforceSoapClient/SforcePartnerClient.html deleted file mode 100644 index 11f7009..0000000 --- a/apidocs/SalesforceSoapClient/SforcePartnerClient.html +++ /dev/null @@ -1,866 +0,0 @@ - - -Docs For Class SforcePartnerClient - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: SforcePartnerClient

-Source Location: /soapclient/SforcePartnerClient.php

- - - - - - - - - - -
- -

Class Overview

-
SforceBaseClient
-   |
-   --SforcePartnerClient

-
SforcePartnerClient class.


- - - - - - - -
-

Constants

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: SforceBaseClient

-
-
- SforceBaseClient::convertLead() -
-
- Converts a Lead into an Account, Contact, or (optionally) an Opportunity. -
-
- SforceBaseClient::createConnection() -
-
- Connect method to www.salesforce.com -
-
- SforceBaseClient::delete() -
-
- Deletes one or more new individual objects to your organization's data. -
-
- SforceBaseClient::describeGlobal() -
-
- Retrieves a list of available objects for your organization's data. -
-
- SforceBaseClient::describeLayout() -
-
- Use describeLayout to retrieve information about the layout (presentation -
-
- SforceBaseClient::describeSObject() -
-
- Describes metadata (field list and object properties) for the specified object. -
-
- SforceBaseClient::describeSObjects() -
-
- An array-based version of describeSObject; describes metadata (field list and object properties) for the specified object or array of objects. -
-
- SforceBaseClient::describeTabs() -
-
- The describeTabs call returns information about the standard apps and custom apps, if any, available for the user who sends the call, including the list of tabs defined for each app. -
-
- SforceBaseClient::emptyRecycleBin() -
-
- Deletes one or more new individual objects to your organization's data. -
-
- SforceBaseClient::getConnection() -
-
- -
-
- SforceBaseClient::getDeleted() -
-
- Retrieves the list of individual objects that have been deleted within the given timespan for the specified object. -
-
- SforceBaseClient::getFunctions() -
-
- -
-
- SforceBaseClient::getLastRequest() -
-
- -
-
- SforceBaseClient::getLastRequestHeaders() -
-
- -
-
- SforceBaseClient::getLastResponse() -
-
- -
-
- SforceBaseClient::getLastResponseHeaders() -
-
- -
-
- SforceBaseClient::getLocation() -
-
- -
-
- SforceBaseClient::getNamespace() -
-
- -
-
- SforceBaseClient::getServerTimestamp() -
-
- Retrieves the current system timestamp (GMT) from the Web service. -
-
- SforceBaseClient::getSessionId() -
-
- -
-
- SforceBaseClient::getTypes() -
-
- -
-
- SforceBaseClient::getUpdated() -
-
- Retrieves the list of individual objects that have been updated (added or changed) within the given timespan for the specified object. -
-
- SforceBaseClient::getUserInfo() -
-
- -
-
- SforceBaseClient::login() -
-
- Login to Salesforce.com and starts a client session. -
-
- SforceBaseClient::printDebugInfo() -
-
- -
-
- SforceBaseClient::processSubmitRequest() -
-
- Process Submit Request for Approval -
-
- SforceBaseClient::processWorkitemRequest() -
-
- Process Work Item Request for Approval -
-
- SforceBaseClient::query() -
-
- Executes a query against the specified object and returns data that matches the specified criteria. -
-
- SforceBaseClient::queryAll() -
-
- Retrieves data from specified objects, whether or not they have been deleted. -
-
- SforceBaseClient::queryMore() -
-
- Retrieves the next batch of objects from a query. -
-
- SforceBaseClient::resetPassword() -
-
- Changes a user's password to a system-generated value. -
-
- SforceBaseClient::retrieve() -
-
- Retrieves one or more objects based on the specified object IDs. -
-
- SforceBaseClient::search() -
-
- Executes a text search in your organization's data. -
-
- SforceBaseClient::sendMassEmail() -
-
- -
-
- SforceBaseClient::sendSingleEmail() -
-
- -
-
- SforceBaseClient::setAssignmentRuleHeader() -
-
- -
-
- SforceBaseClient::setCallOptions() -
-
- -
-
- SforceBaseClient::setEmailHeader() -
-
- -
-
- SforceBaseClient::setEndpoint() -
-
- Set the endpoint. -
-
- SforceBaseClient::setLoginScopeHeader() -
-
- -
-
- SforceBaseClient::setMruHeader() -
-
- -
-
- SforceBaseClient::setPassword() -
-
- Sets the specified user's password to the specified value. -
-
- SforceBaseClient::setQueryOptions() -
-
- -
-
- SforceBaseClient::setSessionHeader() -
-
- -
-
- SforceBaseClient::setUserTerritoryDeleteHeader() -
-
- -
-
- SforceBaseClient::undelete() -
-
- Deletes one or more new individual objects to your organization's data. -
-
- SforceBaseClient::_convertToAny() -
-
- -
-
- SforceBaseClient::_create() -
-
- -
-
- SforceBaseClient::_merge() -
-
- -
-
- SforceBaseClient::_process() -
-
- -
-
- SforceBaseClient::_sendEmail() -
-
- -
-
- SforceBaseClient::_setLoginHeader() -
-
- Specifies the session ID returned from the login server after a successful login. -
-
- SforceBaseClient::_update() -
-
- -
-
- SforceBaseClient::_upsert() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 40]
-SforcePartnerClient class.



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor SforcePartnerClient [line 43]

-
-
-
- SforcePartnerClient SforcePartnerClient( -) -
-

- -

- - -
[ Top ]
-
-
- -

method create [line 54]

-
-
-
- SaveResult create( -array -$sObjects, AssignmentRuleHeader -$assignment_header, MruHeader -$mru_header) -
-

- - Adds one or more new individual objects to your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
array  $sObjects  Array of one or more sObjects (up to 200) to create.
AssignmentRuleHeader  $assignment_header  is optional. Defaults to NULL
MruHeader  $mru_header  is optional. Defaults to NULL
-

-
[ Top ]
-
-
- -

method merge [line 72]

-
-
-
- unknown merge( -stdclass -$mergeRequest, String -$type) -
-

- - Merge records



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
stdclass  $mergeRequest  
String  $type  
-

-
[ Top ]
-
-
- -

method sendMassEmail [line 98]

-
-
-
- void sendMassEmail( - -$request) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - Overrides SforceBaseClient::sendMassEmail() (parent method not documented)

-

Parameters:

-
- - - - - - -
  $request  
-

-
[ Top ]
-
-
- -

method sendSingleEmail [line 83]

-
-
-
- void sendSingleEmail( - -$request) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - Overrides SforceBaseClient::sendSingleEmail() (parent method not documented)

-

Parameters:

-
- - - - - - -
  $request  
-

-
[ Top ]
-
-
- -

method update [line 120]

-
-
-
- UpdateResult update( -array -$sObjects, AssignmentRuleHeader -$assignment_header, MruHeader -$mru_header) -
-

- - Updates one or more new individual objects to your organization's data.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
AssignmentRuleHeader  $assignment_header  is optional. Defaults to NULL
MruHeader  $mru_header  is optional. Defaults to NULL
array  $sObjects  sObjects Array of sObjects
-

-
[ Top ]
-
-
- -

method upsert [line 141]

-
-
-
- UpsertResult upsert( -string -$ext_Id, array -$sObjects) -
-

- - Creates new objects and updates existing objects; uses a custom field to determine the presence of existing objects. In most cases, we recommend that you use upsert instead of create because upsert is idempotent.

Available in the API version 7.0 and later.




-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $ext_Id  External Id
array  $sObjects  Array of sObjects
-

-
[ Top ]
-
-

- -
- -

Class Constants

-
- -

-

PARTNER_NAMESPACE =  'urn:partner.soap.sforce.com'

-

[line 41]

- -
-
[ Top ]

-

- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:34 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/SingleEmailMessage.html b/apidocs/SalesforceSoapClient/SingleEmailMessage.html deleted file mode 100644 index 760d7c5..0000000 --- a/apidocs/SalesforceSoapClient/SingleEmailMessage.html +++ /dev/null @@ -1,667 +0,0 @@ - - -Docs For Class SingleEmailMessage - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: SingleEmailMessage

-Source Location: /soapclient/SforceEmail.php

- - - - - - - - - - -
- -

Class Overview

-
Email
-   |
-   --SingleEmailMessage

-


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

- -
-
- - -

Class Details

-
-[line 38]
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$ccAddresses =

-

[line 45]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 39]

-
-
-
- SingleEmailMessage __construct( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method setBccAddresses [line 42]

-
-
-
- void setBccAddresses( - -$addresses) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $addresses  
-

-
[ Top ]
-
-
- -

method setCcAddresses [line 47]

-
-
-
- void setCcAddresses( - -$addresses) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $addresses  
-

-
[ Top ]
-
-
- -

method setCharset [line 51]

-
-
-
- void setCharset( - -$charset) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $charset  
-

-
[ Top ]
-
-
- -

method setDocumentAttachments [line 83]

-
-
-
- void setDocumentAttachments( - -$array) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $array  
-

-
[ Top ]
-
-
- -

method setFileAttachments [line 79]

-
-
-
- void setFileAttachments( - -$array) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $array  
-

-
[ Top ]
-
-
- -

method setHtmlBody [line 55]

-
-
-
- void setHtmlBody( - -$htmlBody) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $htmlBody  
-

-
[ Top ]
-
-
- -

method setPlainTextBody [line 59]

-
-
-
- void setPlainTextBody( - -$plainTextBody) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $plainTextBody  
-

-
[ Top ]
-
-
- -

method setTargetObjectId [line 63]

-
-
-
- void setTargetObjectId( - -$targetObjectId) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $targetObjectId  
-

-
[ Top ]
-
-
- -

method setTemplateId [line 67]

-
-
-
- void setTemplateId( - -$templateId) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $templateId  
-

-
[ Top ]
-
-
- -

method setToAddresses [line 71]

-
-
-
- void setToAddresses( - -$array) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $array  
-

-
[ Top ]
-
-
- -

method setWhatId [line 75]

-
-
-
- void setWhatId( - -$whatId) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $whatId  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:31 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/UserTerritoryDeleteHeader.html b/apidocs/SalesforceSoapClient/UserTerritoryDeleteHeader.html deleted file mode 100644 index 9f608c2..0000000 --- a/apidocs/SalesforceSoapClient/UserTerritoryDeleteHeader.html +++ /dev/null @@ -1,219 +0,0 @@ - - -Docs For Class UserTerritoryDeleteHeader - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class: UserTerritoryDeleteHeader

-Source Location: /soapclient/SforceHeaderOptions.php

- - - - - - - - - - -
- -

Class Overview

-

-


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 135]
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$transferToUserId =

-

[line 136]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 138]

-
-
-
- UserTerritoryDeleteHeader __construct( - -$transferToUserId) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $transferToUserId  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:33 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforceBaseClient.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforceBaseClient.php.html deleted file mode 100644 index f7b3c43..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforceBaseClient.php.html +++ /dev/null @@ -1,116 +0,0 @@ - - -Docs for page SforceBaseClient.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforceBaseClient.php

-Source Location: /soapclient/SforceBaseClient.php

- -
-
- -
-

Classes:

-
SforceBaseClient
-
SalesforceSoapClient
-


- -

Page Details:

-

-

Includes:

-
-require_once('SforceEmail.php') [line 27]
-require_once('SforceProcessRequest.php') [line 28]
-require_once('ProxySettings.php') [line 29]
-require_once('SforceHeaderOptions.php') [line 30]
-
-

-

-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforceEmail.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforceEmail.php.html deleted file mode 100644 index 3656de5..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforceEmail.php.html +++ /dev/null @@ -1,178 +0,0 @@ - - -Docs for page SforceEmail.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforceEmail.php

-Source Location: /soapclient/SforceEmail.php

- -
-
- -

- -

Page Details:

-

-

-

-
- -

EMAIL_PRIORITY_HIGH [line 3]

-
-
-
- EMAIL_PRIORITY_HIGH = 'High' -
-
- -
-
-
[ Top ]


-
- -

EMAIL_PRIORITY_HIGHEST [line 2]

-
-
-
- EMAIL_PRIORITY_HIGHEST = 'Highest' -
-
- -
-
-
[ Top ]


-
- -

EMAIL_PRIORITY_LOW [line 5]

-
-
-
- EMAIL_PRIORITY_LOW = 'Low' -
-
- -
-
-
[ Top ]


-
- -

EMAIL_PRIORITY_LOWEST [line 6]

-
-
-
- EMAIL_PRIORITY_LOWEST = 'Lowest' -
-
- -
-
-
[ Top ]


-
- -

EMAIL_PRIORITY_NORMAL [line 4]

-
-
-
- EMAIL_PRIORITY_NORMAL = 'Normal' -
-
- -
-
-
[ Top ]


-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:31 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforceEnterpriseClient.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforceEnterpriseClient.php.html deleted file mode 100644 index a1b170e..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforceEnterpriseClient.php.html +++ /dev/null @@ -1,113 +0,0 @@ - - -Docs for page SforceEnterpriseClient.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforceEnterpriseClient.php

-Source Location: /soapclient/SforceEnterpriseClient.php

- -
-
- -
-

Classes:

-
SforceEnterpriseClient
-
SforceEnterpriseClient class.
-


- -

Page Details:

-

-

Includes:

-
-require_once('SforceBaseClient.php') [line 27]
-
-

-

-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:31 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforceFieldTypes.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforceFieldTypes.php.html deleted file mode 100644 index 320a419..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforceFieldTypes.php.html +++ /dev/null @@ -1,273 +0,0 @@ - - -Docs for page SforceFieldTypes.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforceFieldTypes.php

-Source Location: /soapclient/SforceFieldTypes.php

- -
-
- - -

Page Details:

-

-

-

-
- -

DEPLOYMENT_STATUS_DEPLOYED [line 3]

-
-
-
- DEPLOYMENT_STATUS_DEPLOYED = 'Deployed' -
-
- -
-
-
[ Top ]


-
- -

DEPLOYMENT_STATUS_INDEVELOPMENT [line 2]

-
-
-
- DEPLOYMENT_STATUS_INDEVELOPMENT = 'InDevelopment' -
-
- -
-
-
[ Top ]


-
- -

GENDER_FEMININE [line 7]

-
-
-
- GENDER_FEMININE = 'Feminine' -
-
- -
-
-
[ Top ]


-
- -

GENDER_MASCULINE [line 6]

-
-
-
- GENDER_MASCULINE = 'Masculine' -
-
- -
-
-
[ Top ]


-
- -

GENDER_NEUTER [line 5]

-
-
-
- GENDER_NEUTER = 'Neuter' -
-
- -
-
-
[ Top ]


-
- -

SHARING_MODEL_PRIVATE [line 9]

-
-
-
- SHARING_MODEL_PRIVATE = 'Private' -
-
- -
-
-
[ Top ]


-
- -

SHARING_MODEL_READ [line 10]

-
-
-
- SHARING_MODEL_READ = 'Read' -
-
- -
-
-
[ Top ]


-
- -

SHARING_MODEL_READWRITE [line 11]

-
-
-
- SHARING_MODEL_READWRITE = 'ReadWrite' -
-
- -
-
-
[ Top ]


-
- -

STARTS_WITH_CONSONANT [line 13]

-
-
-
- STARTS_WITH_CONSONANT = 'Consonant' -
-
- -
-
-
[ Top ]


-
- -

STARTS_WITH_SPECIAL [line 15]

-
-
-
- STARTS_WITH_SPECIAL = 'Special' -
-
- -
-
-
[ Top ]


-
- -

STARTS_WITH_VOWEL [line 14]

-
-
-
- STARTS_WITH_VOWEL = 'Vowel' -
-
- -
-
-
[ Top ]


-
- -

TREAT_BLANKS_AS_BLANK [line 17]

-
-
-
- TREAT_BLANKS_AS_BLANK = 'BlankAsBlank' -
-
- -
-
-
[ Top ]


-
- -

TREAT_BLANKS_AS_ZERO [line 18]

-
-
-
- TREAT_BLANKS_AS_ZERO = 'BlankAsZero' -
-
- -
-
-
[ Top ]


-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:32 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforceHeaderOptions.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforceHeaderOptions.php.html deleted file mode 100644 index a476db1..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforceHeaderOptions.php.html +++ /dev/null @@ -1,121 +0,0 @@ - - -Docs for page SforceHeaderOptions.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforceHeaderOptions.php

-Source Location: /soapclient/SforceHeaderOptions.php

- -
-
- -
-

Classes:

-
CallOptions
-
This file contains three classes.
-
AssignmentRuleHeader
-
To be used with Create and Update operations.
-
MruHeader
-
To be used with Create and Update operations.
-
LoginScopeHeader
-
To be used with the Login operation.
-
QueryOptions
-
To be used with Retrieve, Query, and QueryMore operations.
-
EmailHeader
-
-
UserTerritoryDeleteHeader
-
-


- -

Page Details:

-

-

-

-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:32 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforceMetaObject.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforceMetaObject.php.html deleted file mode 100644 index 55ffa72..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforceMetaObject.php.html +++ /dev/null @@ -1,115 +0,0 @@ - - -Docs for page SforceMetaObject.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforceMetaObject.php

-Source Location: /soapclient/SforceMetaObject.php

- -
-
- -

- -

Page Details:

-

-

Includes:

-
-require_once('SforceFieldTypes.php') [line 2]
-
-

-

-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:33 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforceMetadataClient.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforceMetadataClient.php.html deleted file mode 100644 index a1bf935..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforceMetadataClient.php.html +++ /dev/null @@ -1,113 +0,0 @@ - - -Docs for page SforceMetadataClient.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforceMetadataClient.php

-Source Location: /soapclient/SforceMetadataClient.php

- -
-
- -
-

Classes:

-
SforceMetadataClient
-
-


- -

Page Details:

-

-

Includes:

-
-require_once('SforceMetaObject.php') [line 2]
-
-

-

-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:33 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforcePartnerClient.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforcePartnerClient.php.html deleted file mode 100644 index d004328..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforcePartnerClient.php.html +++ /dev/null @@ -1,118 +0,0 @@ - - -Docs for page SforcePartnerClient.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforcePartnerClient.php

-Source Location: /soapclient/SforcePartnerClient.php

- -
-
- -
-

Classes:

-
SforcePartnerClient
-
SforcePartnerClient class.
-
QueryResult
-
-
SObject
-
Salesforce Object
-


- -

Page Details:

-

-

Includes:

-
-require_once('SforceBaseClient.php') [line 27]
-require_once('SforceEmail.php') [line 28]
-
-

-

-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:34 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceSoapClient/_soapclient---SforceProcessRequest.php.html b/apidocs/SalesforceSoapClient/_soapclient---SforceProcessRequest.php.html deleted file mode 100644 index f46a06b..0000000 --- a/apidocs/SalesforceSoapClient/_soapclient---SforceProcessRequest.php.html +++ /dev/null @@ -1,113 +0,0 @@ - - -Docs for page SforceProcessRequest.php - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforceProcessRequest.php

-Source Location: /soapclient/SforceProcessRequest.php

- -
-
- -

- -

Page Details:

-

-

-

-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:35 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceTest/SforcePartnerClientTest.html b/apidocs/SalesforceTest/SforcePartnerClientTest.html deleted file mode 100644 index aeadf41..0000000 --- a/apidocs/SalesforceTest/SforcePartnerClientTest.html +++ /dev/null @@ -1,859 +0,0 @@ - - -Docs For Class SforcePartnerClientTest - - - - - - - - - - - - - -
SalesforceTest
- [ class tree: SalesforceTest ] - [ index: SalesforceTest ] - [ all elements ] -
- - - - - - -
-
- -

Class: SforcePartnerClientTest

-Source Location: /test/SforcePartnerClientTest.php

- - - - - - - - - - -
- -

Class Overview

-
PHPUnit_Framework_TestCase
-   |
-   --SforcePartnerClientTest

-
SforcePartnerClientTest class.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 41]
-SforcePartnerClientTest class.



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$mylogin =  null

-

[line 46]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$mySforceConnection =  null

-

[line 45]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$theId =  null

-

[line 47]

-

-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

method deleteAll [line 49]

-
-
-
- void deleteAll( - -$queryResult) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
  $queryResult  
-

-
[ Top ]
-
-
- -

method setUp [line 75]

-
-
-
- void setUp( -) -
-

- -

-

Tags:

-
- - - - -
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method testAssignmentRuleHeaderFlag [line 401]

-
-
-
- void testAssignmentRuleHeaderFlag( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testAssignmentRuleHeaderId [line 379]

-
-
-
- void testAssignmentRuleHeaderId( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testCreate [line 208]

-
-
-
- void testCreate( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testDelete [line 268]

-
-
-
- void testDelete( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testDescribeGlobal [line 175]

-
-
-
- void testDescribeGlobal( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testDescribeLayout [line 186]

-
-
-
- void testDescribeLayout( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testDescribeSObject [line 149]

-
-
-
- void testDescribeSObject( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testDescribeSObjects [line 161]

-
-
-
- void testDescribeSObjects( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testDescribeTabs [line 197]

-
-
-
- void testDescribeTabs( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testEmptyRecycleBin [line 499]

-
-
-
- void testEmptyRecycleBin( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testGetDeleted [line 281]

-
-
-
- void testGetDeleted( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testGetUpdated [line 252]

-
-
-
- void testGetUpdated( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testLogin [line 115]

-
-
-
- void testLogin( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testMruHeader [line 425]

-
-
-
- void testMruHeader( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testQuery [line 299]

-
-
-
- void testQuery( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testRetrieve [line 212]

-
-
-
- void testRetrieve( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testSearch [line 446]

-
-
-
- void testSearch( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testSendMassEmail [line 481]

-
-
-
- void testSendMassEmail( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testSendSingleEmail [line 457]

-
-
-
- void testSendSingleEmail( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testServerTimestamp [line 126]

-
-
-
- void testServerTimestamp( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testUpdate [line 231]

-
-
-
- void testUpdate( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testUpsert [line 348]

-
-
-
- void testUpsert( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method testUserInfo [line 137]

-
-
-
- void testUserInfo( -) -
-

- -

-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:35 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/SalesforceTest/_test---SforcePartnerClientTest.php.html b/apidocs/SalesforceTest/_test---SforcePartnerClientTest.php.html deleted file mode 100644 index ef041fb..0000000 --- a/apidocs/SalesforceTest/_test---SforcePartnerClientTest.php.html +++ /dev/null @@ -1,79 +0,0 @@ - - -Docs for page SforcePartnerClientTest.php - - - - - - - - - - - - - -
SalesforceTest
- [ class tree: SalesforceTest ] - [ index: SalesforceTest ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: SforcePartnerClientTest.php

-Source Location: /test/SforcePartnerClientTest.php

- -
-
- -
-

Classes:

-
SforcePartnerClientTest
-
SforcePartnerClientTest class.
-


- -

Page Details:

-

-

Includes:

-
-require_once('PHPUnit/Framework/TestCase.php') [line 2]
-require_once('../soapclient/SforcePartnerClient.php') [line 3]
-require_once('../soapclient/SforceHeaderOptions.php') [line 4]
-
-

-

-
- -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:35 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/classtrees_SalesforceSoapClient.html b/apidocs/classtrees_SalesforceSoapClient.html deleted file mode 100644 index 2ab1614..0000000 --- a/apidocs/classtrees_SalesforceSoapClient.html +++ /dev/null @@ -1,126 +0,0 @@ - - -Class Trees for Package SalesforceSoapClient - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package SalesforceSoapClient

-
-
Root class AssignmentRuleHeader

- - -
-
Root class CallOptions

- - -
-
Root class Email

- - -
-
Root class EmailHeader

- - -
-
Root class LoginScopeHeader

- - -
-
Root class MruHeader

- - -
-
Root class ProcessRequest

- - -
-
Root class QueryOptions

- - -
-
Root class QueryResult

- - -
-
Root class SforceBaseClient

- - -
-
Root class SforceCustomField

- - -
-
Root class SforceCustomObject

- - -
-
Root class SforceMetadataClient

- - -
-
Root class SObject

- - -
-
Root class UserTerritoryDeleteHeader

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/classtrees_SalesforceTest.html b/apidocs/classtrees_SalesforceTest.html deleted file mode 100644 index 88ab2e6..0000000 --- a/apidocs/classtrees_SalesforceTest.html +++ /dev/null @@ -1,50 +0,0 @@ - - -Class Trees for Package SalesforceTest - - - - - - - - - - - - - -
SalesforceTest
- [ class tree: SalesforceTest ] - [ index: SalesforceTest ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package SalesforceTest

-
-
Root class PHPUnit_Framework_TestCase

- - -
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/elementindex.html b/apidocs/elementindex.html deleted file mode 100644 index 89b28a6..0000000 --- a/apidocs/elementindex.html +++ /dev/null @@ -1,786 +0,0 @@ - - -Element Index - - - - - - - - - - - - - -
- [ class tree: ] - [ index: ] - [ all elements ] -
- - - - - - -
-
- - -

Index of all elements

- [ a ] - [ b ] - [ c ] - [ d ] - [ e ] - [ f ] - [ g ] - [ i ] - [ l ] - [ m ] - [ n ] - [ o ] - [ p ] - [ q ] - [ r ] - [ s ] - [ t ] - [ u ] - [ v ] - [ w ] - [ _ ] - -
- -
-

a

-
-
$action
-
in file SforceProcessRequest.php, variable ProcessWorkitemRequest::$action
-
$assignmentRuleHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$assignmentRuleHeader
-
$assignmentRuleId
-
in file SforceHeaderOptions.php, variable AssignmentRuleHeader::$assignmentRuleId
-
AssignmentRuleHeader
-
in file SforceHeaderOptions.php, class AssignmentRuleHeader
    To be used with Create and Update operations.
-
PARTNER_NAMESPACE
-
in file SforcePartnerClient.php, class constant SforcePartnerClient::PARTNER_NAMESPACE
-
-
- top
-
- -
-

b

-
-
$batchSize
-
in file SforceHeaderOptions.php, variable QueryOptions::$batchSize
-
-
- top
-
- -
-

c

-
-
$callOptions
-
in file SforceBaseClient.php, variable SforceBaseClient::$callOptions
-
$ccAddresses
-
in file SforceEmail.php, variable SingleEmailMessage::$ccAddresses
-
$client
-
in file SforceHeaderOptions.php, variable CallOptions::$client
-
$client_id
-
in file SforceBaseClient.php, variable SforceBaseClient::$client_id
-
$comments
-
in file SforceProcessRequest.php, variable ProcessRequest::$comments
-
CallOptions
-
in file SforceHeaderOptions.php, class CallOptions
    This file contains three classes.
-
checkStatus
-
in file SforceMetadataClient.php, method SforceMetadataClient::checkStatus()
-
convertFields
-
in file SforcePartnerClient.php, method SObject::convertFields()
    Parse the "any" string from an sObject. First strip out the sf: and then enclose string with <Object></Object>. Load the string using simplexml_load_string and return an array that can be traversed.
-
convertLead
-
in file SforceBaseClient.php, method SforceBaseClient::convertLead()
    Converts a Lead into an Account, Contact, or (optionally) an Opportunity.
-
create
-
in file SforcePartnerClient.php, method SforcePartnerClient::create()
    Adds one or more new individual objects to your organization's data.
-
create
-
in file SforceMetadataClient.php, method SforceMetadataClient::create()
-
create
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::create()
    Adds one or more new individual objects to your organization's data.
-
createConnection
-
in file SforceBaseClient.php, method SforceBaseClient::createConnection()
    Connect method to www.salesforce.com
-
-
- top
-
- -
-

d

-
-
$defaultNamespace
-
in file SforceHeaderOptions.php, variable CallOptions::$defaultNamespace
-
$done
-
in file SforcePartnerClient.php, variable QueryResult::$done
-
delete
-
in file SforceMetadataClient.php, method SforceMetadataClient::delete()
-
delete
-
in file SforceBaseClient.php, method SforceBaseClient::delete()
    Deletes one or more new individual objects to your organization's data.
-
deleteAll
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::deleteAll()
-
DEPLOYMENT_STATUS_DEPLOYED
-
in file SforceFieldTypes.php, constant DEPLOYMENT_STATUS_DEPLOYED
-
DEPLOYMENT_STATUS_INDEVELOPMENT
-
in file SforceFieldTypes.php, constant DEPLOYMENT_STATUS_INDEVELOPMENT
-
describeGlobal
-
in file SforceBaseClient.php, method SforceBaseClient::describeGlobal()
    Retrieves a list of available objects for your organization's data.
-
describeLayout
-
in file SforceBaseClient.php, method SforceBaseClient::describeLayout()
    Use describeLayout to retrieve information about the layout (presentation
-
describeSObject
-
in file SforceBaseClient.php, method SforceBaseClient::describeSObject()
    Describes metadata (field list and object properties) for the specified object.
-
describeSObjects
-
in file SforceBaseClient.php, method SforceBaseClient::describeSObjects()
    An array-based version of describeSObject; describes metadata (field list and object properties) for the specified object or array of objects.
-
describeTabs
-
in file SforceBaseClient.php, method SforceBaseClient::describeTabs()
    The describeTabs call returns information about the standard apps and custom apps, if any, available for the user who sends the call, including the list of tabs defined for each app.
-
-
- top
-
- -
-

e

-
-
$emailHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$emailHeader
-
Email
-
in file SforceEmail.php, class Email
-
EmailHeader
-
in file SforceHeaderOptions.php, class EmailHeader
-
EMAIL_PRIORITY_HIGH
-
in file SforceEmail.php, constant EMAIL_PRIORITY_HIGH
-
EMAIL_PRIORITY_HIGHEST
-
in file SforceEmail.php, constant EMAIL_PRIORITY_HIGHEST
-
EMAIL_PRIORITY_LOW
-
in file SforceEmail.php, constant EMAIL_PRIORITY_LOW
-
EMAIL_PRIORITY_LOWEST
-
in file SforceEmail.php, constant EMAIL_PRIORITY_LOWEST
-
EMAIL_PRIORITY_NORMAL
-
in file SforceEmail.php, constant EMAIL_PRIORITY_NORMAL
-
emptyRecycleBin
-
in file SforceBaseClient.php, method SforceBaseClient::emptyRecycleBin()
    Deletes one or more new individual objects to your organization's data.
-
-
- top
-
- -
-

f

-
-
$fields
-
in file SforcePartnerClient.php, variable SObject::$fields
-
-
- top
-
- -
-

g

-
-
GENDER_FEMININE
-
in file SforceFieldTypes.php, constant GENDER_FEMININE
-
GENDER_MASCULINE
-
in file SforceFieldTypes.php, constant GENDER_MASCULINE
-
GENDER_NEUTER
-
in file SforceFieldTypes.php, constant GENDER_NEUTER
-
getConnection
-
in file SforceBaseClient.php, method SforceBaseClient::getConnection()
-
getDeleted
-
in file SforceBaseClient.php, method SforceBaseClient::getDeleted()
    Retrieves the list of individual objects that have been deleted within the given timespan for the specified object.
-
getFunctions
-
in file SforceBaseClient.php, method SforceBaseClient::getFunctions()
-
getLastRequest
-
in file SforceBaseClient.php, method SforceBaseClient::getLastRequest()
-
getLastRequest
-
in file SforceMetadataClient.php, method SforceMetadataClient::getLastRequest()
-
getLastRequestHeaders
-
in file SforceBaseClient.php, method SforceBaseClient::getLastRequestHeaders()
-
getLastRequestHeaders
-
in file SforceMetadataClient.php, method SforceMetadataClient::getLastRequestHeaders()
-
getLastResponse
-
in file SforceBaseClient.php, method SforceBaseClient::getLastResponse()
-
getLastResponse
-
in file SforceMetadataClient.php, method SforceMetadataClient::getLastResponse()
-
getLastResponseHeaders
-
in file SforceBaseClient.php, method SforceBaseClient::getLastResponseHeaders()
-
getLastResponseHeaders
-
in file SforceMetadataClient.php, method SforceMetadataClient::getLastResponseHeaders()
-
getLocation
-
in file SforceBaseClient.php, method SforceBaseClient::getLocation()
-
getNamespace
-
in file SforceBaseClient.php, method SforceBaseClient::getNamespace()
-
getServerTimestamp
-
in file SforceBaseClient.php, method SforceBaseClient::getServerTimestamp()
    Retrieves the current system timestamp (GMT) from the Web service.
-
getSessionId
-
in file SforceBaseClient.php, method SforceBaseClient::getSessionId()
-
getTypes
-
in file SforceBaseClient.php, method SforceBaseClient::getTypes()
-
getUpdated
-
in file SforceBaseClient.php, method SforceBaseClient::getUpdated()
    Retrieves the list of individual objects that have been updated (added or changed) within the given timespan for the specified object.
-
getUserInfo
-
in file SforceBaseClient.php, method SforceBaseClient::getUserInfo()
-
-
- top
-
- -
-

i

-
-
isQueryResult
-
in file SforcePartnerClient.php, method SObject::isQueryResult()
-
isSObject
-
in file SforcePartnerClient.php, method SObject::isSObject()
-
-
- top
-
- -
-

l

-
-
$location
-
in file SforceMetadataClient.php, variable SforceMetadataClient::$location
-
$location
-
in file SforceBaseClient.php, variable SforceBaseClient::$location
-
$loginScopeHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$loginScopeHeader
-
login
-
in file SforceBaseClient.php, method SforceBaseClient::login()
    Login to Salesforce.com and starts a client session.
-
LoginScopeHeader
-
in file SforceHeaderOptions.php, class LoginScopeHeader
    To be used with the Login operation.
-
-
- top
-
- -
-

m

-
-
$mruHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$mruHeader
-
$mylogin
-
in file SforcePartnerClientTest.php, variable SforcePartnerClientTest::$mylogin
-
$mySforceConnection
-
in file SforcePartnerClientTest.php, variable SforcePartnerClientTest::$mySforceConnection
-
MassEmailMessage
-
in file SforceEmail.php, class MassEmailMessage
-
merge
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::merge()
    Merge records
-
merge
-
in file SforcePartnerClient.php, method SforcePartnerClient::merge()
    Merge records
-
MruHeader
-
in file SforceHeaderOptions.php, class MruHeader
    To be used with Create and Update operations.
-
-
- top
-
- -
-

n

-
-
$namespace
-
in file SforceMetadataClient.php, variable SforceMetadataClient::$namespace
-
$namespace
-
in file SforceBaseClient.php, variable SforceBaseClient::$namespace
-
$nextApproverIds
-
in file SforceProcessRequest.php, variable ProcessRequest::$nextApproverIds
-
ENTERPRISE_NAMESPACE
-
in file SforceEnterpriseClient.php, class constant SforceEnterpriseClient::ENTERPRISE_NAMESPACE
-
-
- top
-
- -
-

o

-
-
$objectId
-
in file SforceProcessRequest.php, variable ProcessSubmitRequest::$objectId
-
$organizationId
-
in file SforceHeaderOptions.php, variable LoginScopeHeader::$organizationId
-
-
- top
-
- -
-

p

-
-
$portalId
-
in file SforceHeaderOptions.php, variable LoginScopeHeader::$portalId
-
printDebugInfo
-
in file SforceBaseClient.php, method SforceBaseClient::printDebugInfo()
-
ProcessRequest
-
in file SforceProcessRequest.php, class ProcessRequest
-
ProcessSubmitRequest
-
in file SforceProcessRequest.php, class ProcessSubmitRequest
-
processSubmitRequest
-
in file SforceBaseClient.php, method SforceBaseClient::processSubmitRequest()
    Process Submit Request for Approval
-
ProcessWorkitemRequest
-
in file SforceProcessRequest.php, class ProcessWorkitemRequest
-
processWorkitemRequest
-
in file SforceBaseClient.php, method SforceBaseClient::processWorkitemRequest()
    Process Work Item Request for Approval
-
-
- top
-
- -
-

q

-
-
$queryHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$queryHeader
-
$queryLocator
-
in file SforcePartnerClient.php, variable QueryResult::$queryLocator
-
query
-
in file SforceBaseClient.php, method SforceBaseClient::query()
    Executes a query against the specified object and returns data that matches the specified criteria.
-
queryAll
-
in file SforceBaseClient.php, method SforceBaseClient::queryAll()
    Retrieves data from specified objects, whether or not they have been deleted.
-
queryMore
-
in file SforceBaseClient.php, method SforceBaseClient::queryMore()
    Retrieves the next batch of objects from a query.
-
QueryOptions
-
in file SforceHeaderOptions.php, class QueryOptions
    To be used with Retrieve, Query, and QueryMore operations.
-
QueryResult
-
in file SforcePartnerClient.php, class QueryResult
-
-
- top
-
- -
-

r

-
-
$records
-
in file SforcePartnerClient.php, variable QueryResult::$records
-
resetPassword
-
in file SforceBaseClient.php, method SforceBaseClient::resetPassword()
    Changes a user's password to a system-generated value.
-
retrieve
-
in file SforceBaseClient.php, method SforceBaseClient::retrieve()
    Retrieves one or more objects based on the specified object IDs.
-
-
- top
-
- -
-

s

-
-
$sessionHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$sessionHeader
-
$sessionId
-
in file SforceMetadataClient.php, variable SforceMetadataClient::$sessionId
-
$sessionId
-
in file SforceBaseClient.php, variable SforceBaseClient::$sessionId
-
$sforce
-
in file SforceBaseClient.php, variable SforceBaseClient::$sforce
-
$sforce
-
in file SforceMetadataClient.php, variable SforceMetadataClient::$sforce
-
$size
-
in file SforcePartnerClient.php, variable QueryResult::$size
-
search
-
in file SforceBaseClient.php, method SforceBaseClient::search()
    Executes a text search in your organization's data.
-
sendMassEmail
-
in file SforcePartnerClient.php, method SforcePartnerClient::sendMassEmail()
-
sendMassEmail
-
in file SforceBaseClient.php, method SforceBaseClient::sendMassEmail()
-
sendSingleEmail
-
in file SforceBaseClient.php, method SforceBaseClient::sendSingleEmail()
-
sendSingleEmail
-
in file SforcePartnerClient.php, method SforcePartnerClient::sendSingleEmail()
-
setAssignmentRuleHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setAssignmentRuleHeader()
-
setBccAddresses
-
in file SforceEmail.php, method SingleEmailMessage::setBccAddresses()
-
setBccSender
-
in file SforceEmail.php, method Email::setBccSender()
-
setCallOptions
-
in file SforceBaseClient.php, method SforceBaseClient::setCallOptions()
-
setCaseSensitive
-
in file SforceMetaObject.php, method SforceCustomField::setCaseSensitive()
-
setCcAddresses
-
in file SforceEmail.php, method SingleEmailMessage::setCcAddresses()
-
setCharset
-
in file SforceEmail.php, method SingleEmailMessage::setCharset()
-
setDefaultValue
-
in file SforceMetaObject.php, method SforceCustomField::setDefaultValue()
-
setDeploymentStatus
-
in file SforceMetaObject.php, method SforceCustomObject::setDeploymentStatus()
-
setDescription
-
in file SforceMetaObject.php, method SforceCustomObject::setDescription()
-
setDescription
-
in file SforceMetaObject.php, method SforceCustomField::setDescription()
-
setDisplayFormat
-
in file SforceMetaObject.php, method SforceCustomField::setDisplayFormat()
-
setDocumentAttachments
-
in file SforceEmail.php, method SingleEmailMessage::setDocumentAttachments()
-
setEmailHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setEmailHeader()
-
setEmailPriority
-
in file SforceEmail.php, method Email::setEmailPriority()
-
setEnableActivities
-
in file SforceMetaObject.php, method SforceCustomObject::setEnableActivities()
-
setEnableDivisions
-
in file SforceMetaObject.php, method SforceCustomObject::setEnableDivisions()
-
setEnableHistory
-
in file SforceMetaObject.php, method SforceCustomObject::setEnableHistory()
-
setEnableReports
-
in file SforceMetaObject.php, method SforceCustomObject::setEnableReports()
-
setEndpoint
-
in file SforceMetadataClient.php, method SforceMetadataClient::setEndpoint()
    Set the endpoint.
-
setEndpoint
-
in file SforceBaseClient.php, method SforceBaseClient::setEndpoint()
    Set the endpoint.
-
setExternalId
-
in file SforceMetaObject.php, method SforceCustomField::setExternalId()
-
setFields
-
in file SforceMetaObject.php, method SforceCustomObject::setFields()
-
setFileAttachments
-
in file SforceEmail.php, method SingleEmailMessage::setFileAttachments()
-
setFormula
-
in file SforceMetaObject.php, method SforceCustomField::setFormula()
-
setFormulaTreatBlankAs
-
in file SforceMetaObject.php, method SforceCustomField::setFormulaTreatBlankAs()
-
setFullName
-
in file SforceMetaObject.php, method SforceCustomField::setFullName()
-
setFullName
-
in file SforceMetaObject.php, method SforceCustomObject::setFullName()
-
setGender
-
in file SforceMetaObject.php, method SforceCustomObject::setGender()
-
setHousehold
-
in file SforceMetaObject.php, method SforceCustomObject::setHousehold()
-
setHtmlBody
-
in file SforceEmail.php, method SingleEmailMessage::setHtmlBody()
-
setInlineHelpText
-
in file SforceMetaObject.php, method SforceCustomField::setInlineHelpText()
-
setLabel
-
in file SforceMetaObject.php, method SforceCustomObject::setLabel()
-
setLabel
-
in file SforceMetaObject.php, method SforceCustomField::setLabel()
-
setLength
-
in file SforceMetaObject.php, method SforceCustomField::setLength()
-
setLoginScopeHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setLoginScopeHeader()
-
setMaskChar
-
in file SforceMetaObject.php, method SforceCustomField::setMaskChar()
-
setMaskType
-
in file SforceMetaObject.php, method SforceCustomField::setMaskType()
-
setMruHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setMruHeader()
-
setNameField
-
in file SforceMetaObject.php, method SforceCustomObject::setNameField()
-
setPassword
-
in file SforceBaseClient.php, method SforceBaseClient::setPassword()
    Sets the specified user's password to the specified value.
-
setPicklist
-
in file SforceMetaObject.php, method SforceCustomField::setPicklist()
-
setPlainTextBody
-
in file SforceEmail.php, method SingleEmailMessage::setPlainTextBody()
-
setPluralLabel
-
in file SforceMetaObject.php, method SforceCustomObject::setPluralLabel()
-
setPopulateExistingRows
-
in file SforceMetaObject.php, method SforceCustomField::setPopulateExistingRows()
-
setPrecision
-
in file SforceMetaObject.php, method SforceCustomField::setPrecision()
-
setQueryOptions
-
in file SforceBaseClient.php, method SforceBaseClient::setQueryOptions()
-
setReferenceTo
-
in file SforceMetaObject.php, method SforceCustomField::setReferenceTo()
-
setRelationshipName
-
in file SforceMetaObject.php, method SforceCustomField::setRelationshipName()
-
setReplyTo
-
in file SforceEmail.php, method Email::setReplyTo()
-
setRequired
-
in file SforceMetaObject.php, method SforceCustomField::setRequired()
-
setSaveAsActivity
-
in file SforceEmail.php, method Email::setSaveAsActivity()
-
setScale
-
in file SforceMetaObject.php, method SforceCustomField::setScale()
-
setSenderDisplayName
-
in file SforceEmail.php, method Email::setSenderDisplayName()
-
setSessionHeader
-
in file SforceMetadataClient.php, method SforceMetadataClient::setSessionHeader()
    Set the Session ID
-
setSessionHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setSessionHeader()
-
setStartingNumber
-
in file SforceMetaObject.php, method SforceCustomField::setStartingNumber()
-
setStartsWith
-
in file SforceMetaObject.php, method SforceCustomObject::setStartsWith()
-
setSubject
-
in file SforceEmail.php, method Email::setSubject()
-
setSummarizeField
-
in file SforceMetaObject.php, method SforceCustomField::setSummarizeField()
-
setSummaryFilterItems
-
in file SforceMetaObject.php, method SforceCustomField::setSummaryFilterItems()
-
setSummaryForeignKey
-
in file SforceMetaObject.php, method SforceCustomField::setSummaryForeignKey()
-
setSummaryOperation
-
in file SforceMetaObject.php, method SforceCustomField::setSummaryOperation()
-
setTargetObjectId
-
in file SforceEmail.php, method SingleEmailMessage::setTargetObjectId()
-
setTargetObjectIds
-
in file SforceEmail.php, method MassEmailMessage::setTargetObjectIds()
-
setTemplateId
-
in file SforceEmail.php, method SingleEmailMessage::setTemplateId()
-
setTemplateId
-
in file SforceEmail.php, method MassEmailMessage::setTemplateId()
-
setToAddresses
-
in file SforceEmail.php, method SingleEmailMessage::setToAddresses()
-
setType
-
in file SforceMetaObject.php, method SforceCustomField::setType()
-
setUnique
-
in file SforceMetaObject.php, method SforceCustomField::setUnique()
-
setUp
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::setUp()
-
setUserTerritoryDeleteHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setUserTerritoryDeleteHeader()
-
setUseSignature
-
in file SforceEmail.php, method Email::setUseSignature()
-
setVisibleLines
-
in file SforceMetaObject.php, method SforceCustomField::setVisibleLines()
-
setWhatId
-
in file SforceEmail.php, method SingleEmailMessage::setWhatId()
-
setWhatIds
-
in file SforceEmail.php, method MassEmailMessage::setWhatIds()
-
SforceBaseClient
-
in file SforceBaseClient.php, class SforceBaseClient
    SalesforceSoapClient
-
SforceCustomField
-
in file SforceMetaObject.php, class SforceCustomField
-
SforceCustomObject
-
in file SforceMetaObject.php, class SforceCustomObject
-
SforceEnterpriseClient
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::SforceEnterpriseClient()
-
SforceEnterpriseClient
-
in file SforceEnterpriseClient.php, class SforceEnterpriseClient
    SforceEnterpriseClient class.
-
SforceMetadataClient
-
in file SforceMetadataClient.php, class SforceMetadataClient
-
SforcePartnerClient
-
in file SforcePartnerClient.php, class SforcePartnerClient
    SforcePartnerClient class.
-
SforcePartnerClient
-
in file SforcePartnerClient.php, method SforcePartnerClient::SforcePartnerClient()
-
SforcePartnerClientTest
-
in file SforcePartnerClientTest.php, class SforcePartnerClientTest
    SforcePartnerClientTest class.
-
SHARING_MODEL_PRIVATE
-
in file SforceFieldTypes.php, constant SHARING_MODEL_PRIVATE
-
SHARING_MODEL_READ
-
in file SforceFieldTypes.php, constant SHARING_MODEL_READ
-
SHARING_MODEL_READWRITE
-
in file SforceFieldTypes.php, constant SHARING_MODEL_READWRITE
-
SingleEmailMessage
-
in file SforceEmail.php, class SingleEmailMessage
-
SforceBaseClient.php
-
procedural page SforceBaseClient.php
-
SforceEmail.php
-
procedural page SforceEmail.php
-
SforceEnterpriseClient.php
-
procedural page SforceEnterpriseClient.php
-
SforceFieldTypes.php
-
procedural page SforceFieldTypes.php
-
SforceHeaderOptions.php
-
procedural page SforceHeaderOptions.php
-
SforceMetadataClient.php
-
procedural page SforceMetadataClient.php
-
SforceMetaObject.php
-
procedural page SforceMetaObject.php
-
SforcePartnerClient.php
-
procedural page SforcePartnerClient.php
-
SforceProcessRequest.php
-
procedural page SforceProcessRequest.php
-
SObject
-
in file SforcePartnerClient.php, class SObject
    Salesforce Object
-
STARTS_WITH_CONSONANT
-
in file SforceFieldTypes.php, constant STARTS_WITH_CONSONANT
-
STARTS_WITH_SPECIAL
-
in file SforceFieldTypes.php, constant STARTS_WITH_SPECIAL
-
STARTS_WITH_VOWEL
-
in file SforceFieldTypes.php, constant STARTS_WITH_VOWEL
-
SforcePartnerClientTest.php
-
procedural page SforcePartnerClientTest.php
-
-
- top
-
- -
-

t

-
-
$theId
-
in file SforcePartnerClientTest.php, variable SforcePartnerClientTest::$theId
-
$transferToUserId
-
in file SforceHeaderOptions.php, variable UserTerritoryDeleteHeader::$transferToUserId
-
$triggerAutoResponseEmail
-
in file SforceHeaderOptions.php, variable EmailHeader::$triggerAutoResponseEmail
-
$triggerOtherEmail
-
in file SforceHeaderOptions.php, variable EmailHeader::$triggerOtherEmail
-
$triggerUserEmail
-
in file SforceHeaderOptions.php, variable EmailHeader::$triggerUserEmail
-
$type
-
in file SforcePartnerClient.php, variable SObject::$type
-
testAssignmentRuleHeaderFlag
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testAssignmentRuleHeaderFlag()
-
testAssignmentRuleHeaderId
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testAssignmentRuleHeaderId()
-
testCreate
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testCreate()
-
testDelete
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDelete()
-
testDescribeGlobal
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeGlobal()
-
testDescribeLayout
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeLayout()
-
testDescribeSObject
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeSObject()
-
testDescribeSObjects
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeSObjects()
-
testDescribeTabs
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeTabs()
-
testEmptyRecycleBin
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testEmptyRecycleBin()
-
testGetDeleted
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testGetDeleted()
-
testGetUpdated
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testGetUpdated()
-
testLogin
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testLogin()
-
testMruHeader
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testMruHeader()
-
testQuery
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testQuery()
-
testRetrieve
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testRetrieve()
-
testSearch
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testSearch()
-
testSendMassEmail
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testSendMassEmail()
-
testSendSingleEmail
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testSendSingleEmail()
-
testServerTimestamp
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testServerTimestamp()
-
testUpdate
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testUpdate()
-
testUpsert
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testUpsert()
-
testUserInfo
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testUserInfo()
-
TREAT_BLANKS_AS_BLANK
-
in file SforceFieldTypes.php, constant TREAT_BLANKS_AS_BLANK
-
TREAT_BLANKS_AS_ZERO
-
in file SforceFieldTypes.php, constant TREAT_BLANKS_AS_ZERO
-
-
- top
-
- -
-

u

-
-
$updateMruFlag
-
in file SforceHeaderOptions.php, variable MruHeader::$updateMruFlag
-
$useDefaultRuleFlag
-
in file SforceHeaderOptions.php, variable AssignmentRuleHeader::$useDefaultRuleFlag
-
$userTerritoryDeleteHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$userTerritoryDeleteHeader
-
undelete
-
in file SforceBaseClient.php, method SforceBaseClient::undelete()
    Deletes one or more new individual objects to your organization's data.
-
update
-
in file SforcePartnerClient.php, method SforcePartnerClient::update()
    Updates one or more new individual objects to your organization's data.
-
update
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::update()
    Updates one or more new individual objects to your organization's data.
-
upsert
-
in file SforcePartnerClient.php, method SforcePartnerClient::upsert()
    Creates new objects and updates existing objects; uses a custom field to determine the presence of existing objects. In most cases, we recommend that you use upsert instead of create because upsert is idempotent.
-
upsert
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::upsert()
    Creates new objects and updates existing objects; uses a custom field to determine the presence of existing objects. In most cases, we recommend that you use upsert instead of create because upsert is idempotent.
-
UserTerritoryDeleteHeader
-
in file SforceHeaderOptions.php, class UserTerritoryDeleteHeader
-
-
- top
-
- -
-

v

-
-
$version
-
in file SforceBaseClient.php, variable SforceBaseClient::$version
-
-
- top
-
- -
-

w

-
-
$workitemId
-
in file SforceProcessRequest.php, variable ProcessWorkitemRequest::$workitemId
-
-
- top
-
- -
-

_

-
-
_convertToAny
-
in file SforceBaseClient.php, method SforceBaseClient::_convertToAny()
-
_create
-
in file SforceBaseClient.php, method SforceBaseClient::_create()
-
_merge
-
in file SforceBaseClient.php, method SforceBaseClient::_merge()
-
_process
-
in file SforceBaseClient.php, method SforceBaseClient::_process()
-
_sendEmail
-
in file SforceBaseClient.php, method SforceBaseClient::_sendEmail()
-
_setLoginHeader
-
in file SforceMetadataClient.php, method SforceMetadataClient::_setLoginHeader()
    Specifies the session ID returned from the login server after a successful login.
-
_setLoginHeader
-
in file SforceBaseClient.php, method SforceBaseClient::_setLoginHeader()
    Specifies the session ID returned from the login server after a successful login.
-
_update
-
in file SforceBaseClient.php, method SforceBaseClient::_update()
-
_upsert
-
in file SforceBaseClient.php, method SforceBaseClient::_upsert()
-
__construct
-
in file SforceHeaderOptions.php, method UserTerritoryDeleteHeader::__construct()
-
__construct
-
in file SforceMetadataClient.php, method SforceMetadataClient::__construct()
-
__construct
-
in file SforcePartnerClient.php, method QueryResult::__construct()
-
__construct
-
in file SforcePartnerClient.php, method SObject::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method QueryOptions::__construct()
    Constructor
-
__construct
-
in file SforceHeaderOptions.php, method AssignmentRuleHeader::__construct()
    Constructor. Only one param can be set.
-
__construct
-
in file SforceEmail.php, method SingleEmailMessage::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method CallOptions::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method EmailHeader::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method LoginScopeHeader::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method MruHeader::__construct()
-
-
- top
-
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/elementindex_SalesforceSoapClient.html b/apidocs/elementindex_SalesforceSoapClient.html deleted file mode 100644 index ef11d24..0000000 --- a/apidocs/elementindex_SalesforceSoapClient.html +++ /dev/null @@ -1,773 +0,0 @@ - - -Package SalesforceSoapClient Element Index - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package SalesforceSoapClient

- [ a ] - [ b ] - [ c ] - [ d ] - [ e ] - [ f ] - [ g ] - [ i ] - [ l ] - [ m ] - [ n ] - [ o ] - [ p ] - [ q ] - [ r ] - [ s ] - [ t ] - [ u ] - [ v ] - [ w ] - [ _ ] - -
- -
-

_

-
-
_convertToAny
-
in file SforceBaseClient.php, method SforceBaseClient::_convertToAny()
-
_create
-
in file SforceBaseClient.php, method SforceBaseClient::_create()
-
_merge
-
in file SforceBaseClient.php, method SforceBaseClient::_merge()
-
_process
-
in file SforceBaseClient.php, method SforceBaseClient::_process()
-
_sendEmail
-
in file SforceBaseClient.php, method SforceBaseClient::_sendEmail()
-
_setLoginHeader
-
in file SforceMetadataClient.php, method SforceMetadataClient::_setLoginHeader()
    Specifies the session ID returned from the login server after a successful login.
-
_setLoginHeader
-
in file SforceBaseClient.php, method SforceBaseClient::_setLoginHeader()
    Specifies the session ID returned from the login server after a successful login.
-
_update
-
in file SforceBaseClient.php, method SforceBaseClient::_update()
-
_upsert
-
in file SforceBaseClient.php, method SforceBaseClient::_upsert()
-
__construct
-
in file SforceHeaderOptions.php, method UserTerritoryDeleteHeader::__construct()
-
__construct
-
in file SforceMetadataClient.php, method SforceMetadataClient::__construct()
-
__construct
-
in file SforcePartnerClient.php, method QueryResult::__construct()
-
__construct
-
in file SforcePartnerClient.php, method SObject::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method QueryOptions::__construct()
    Constructor
-
__construct
-
in file SforceHeaderOptions.php, method AssignmentRuleHeader::__construct()
    Constructor. Only one param can be set.
-
__construct
-
in file SforceEmail.php, method SingleEmailMessage::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method CallOptions::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method EmailHeader::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method LoginScopeHeader::__construct()
-
__construct
-
in file SforceHeaderOptions.php, method MruHeader::__construct()
-
-
- top
-
- -
-

a

-
-
$action
-
in file SforceProcessRequest.php, variable ProcessWorkitemRequest::$action
-
$assignmentRuleHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$assignmentRuleHeader
-
$assignmentRuleId
-
in file SforceHeaderOptions.php, variable AssignmentRuleHeader::$assignmentRuleId
-
AssignmentRuleHeader
-
in file SforceHeaderOptions.php, class AssignmentRuleHeader
    To be used with Create and Update operations.
-
PARTNER_NAMESPACE
-
in file SforcePartnerClient.php, class constant SforcePartnerClient::PARTNER_NAMESPACE
-
-
- top
-
- -
-

b

-
-
$batchSize
-
in file SforceHeaderOptions.php, variable QueryOptions::$batchSize
-
-
- top
-
- -
-

c

-
-
$callOptions
-
in file SforceBaseClient.php, variable SforceBaseClient::$callOptions
-
$ccAddresses
-
in file SforceEmail.php, variable SingleEmailMessage::$ccAddresses
-
$client
-
in file SforceHeaderOptions.php, variable CallOptions::$client
-
$client_id
-
in file SforceBaseClient.php, variable SforceBaseClient::$client_id
-
$comments
-
in file SforceProcessRequest.php, variable ProcessRequest::$comments
-
CallOptions
-
in file SforceHeaderOptions.php, class CallOptions
    This file contains three classes.
-
checkStatus
-
in file SforceMetadataClient.php, method SforceMetadataClient::checkStatus()
-
convertFields
-
in file SforcePartnerClient.php, method SObject::convertFields()
    Parse the "any" string from an sObject. First strip out the sf: and then enclose string with <Object></Object>. Load the string using simplexml_load_string and return an array that can be traversed.
-
convertLead
-
in file SforceBaseClient.php, method SforceBaseClient::convertLead()
    Converts a Lead into an Account, Contact, or (optionally) an Opportunity.
-
create
-
in file SforcePartnerClient.php, method SforcePartnerClient::create()
    Adds one or more new individual objects to your organization's data.
-
create
-
in file SforceMetadataClient.php, method SforceMetadataClient::create()
-
create
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::create()
    Adds one or more new individual objects to your organization's data.
-
createConnection
-
in file SforceBaseClient.php, method SforceBaseClient::createConnection()
    Connect method to www.salesforce.com
-
-
- top
-
- -
-

d

-
-
$defaultNamespace
-
in file SforceHeaderOptions.php, variable CallOptions::$defaultNamespace
-
$done
-
in file SforcePartnerClient.php, variable QueryResult::$done
-
delete
-
in file SforceMetadataClient.php, method SforceMetadataClient::delete()
-
delete
-
in file SforceBaseClient.php, method SforceBaseClient::delete()
    Deletes one or more new individual objects to your organization's data.
-
DEPLOYMENT_STATUS_DEPLOYED
-
in file SforceFieldTypes.php, constant DEPLOYMENT_STATUS_DEPLOYED
-
DEPLOYMENT_STATUS_INDEVELOPMENT
-
in file SforceFieldTypes.php, constant DEPLOYMENT_STATUS_INDEVELOPMENT
-
describeGlobal
-
in file SforceBaseClient.php, method SforceBaseClient::describeGlobal()
    Retrieves a list of available objects for your organization's data.
-
describeLayout
-
in file SforceBaseClient.php, method SforceBaseClient::describeLayout()
    Use describeLayout to retrieve information about the layout (presentation
-
describeSObject
-
in file SforceBaseClient.php, method SforceBaseClient::describeSObject()
    Describes metadata (field list and object properties) for the specified object.
-
describeSObjects
-
in file SforceBaseClient.php, method SforceBaseClient::describeSObjects()
    An array-based version of describeSObject; describes metadata (field list and object properties) for the specified object or array of objects.
-
describeTabs
-
in file SforceBaseClient.php, method SforceBaseClient::describeTabs()
    The describeTabs call returns information about the standard apps and custom apps, if any, available for the user who sends the call, including the list of tabs defined for each app.
-
-
- top
-
- -
-

e

-
-
$emailHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$emailHeader
-
Email
-
in file SforceEmail.php, class Email
-
EmailHeader
-
in file SforceHeaderOptions.php, class EmailHeader
-
EMAIL_PRIORITY_HIGH
-
in file SforceEmail.php, constant EMAIL_PRIORITY_HIGH
-
EMAIL_PRIORITY_HIGHEST
-
in file SforceEmail.php, constant EMAIL_PRIORITY_HIGHEST
-
EMAIL_PRIORITY_LOW
-
in file SforceEmail.php, constant EMAIL_PRIORITY_LOW
-
EMAIL_PRIORITY_LOWEST
-
in file SforceEmail.php, constant EMAIL_PRIORITY_LOWEST
-
EMAIL_PRIORITY_NORMAL
-
in file SforceEmail.php, constant EMAIL_PRIORITY_NORMAL
-
emptyRecycleBin
-
in file SforceBaseClient.php, method SforceBaseClient::emptyRecycleBin()
    Deletes one or more new individual objects to your organization's data.
-
-
- top
-
- -
-

f

-
-
$fields
-
in file SforcePartnerClient.php, variable SObject::$fields
-
-
- top
-
- -
-

g

-
-
GENDER_FEMININE
-
in file SforceFieldTypes.php, constant GENDER_FEMININE
-
GENDER_MASCULINE
-
in file SforceFieldTypes.php, constant GENDER_MASCULINE
-
GENDER_NEUTER
-
in file SforceFieldTypes.php, constant GENDER_NEUTER
-
getConnection
-
in file SforceBaseClient.php, method SforceBaseClient::getConnection()
-
getDeleted
-
in file SforceBaseClient.php, method SforceBaseClient::getDeleted()
    Retrieves the list of individual objects that have been deleted within the given timespan for the specified object.
-
getFunctions
-
in file SforceBaseClient.php, method SforceBaseClient::getFunctions()
-
getLastRequest
-
in file SforceBaseClient.php, method SforceBaseClient::getLastRequest()
-
getLastRequest
-
in file SforceMetadataClient.php, method SforceMetadataClient::getLastRequest()
-
getLastRequestHeaders
-
in file SforceBaseClient.php, method SforceBaseClient::getLastRequestHeaders()
-
getLastRequestHeaders
-
in file SforceMetadataClient.php, method SforceMetadataClient::getLastRequestHeaders()
-
getLastResponse
-
in file SforceBaseClient.php, method SforceBaseClient::getLastResponse()
-
getLastResponse
-
in file SforceMetadataClient.php, method SforceMetadataClient::getLastResponse()
-
getLastResponseHeaders
-
in file SforceBaseClient.php, method SforceBaseClient::getLastResponseHeaders()
-
getLastResponseHeaders
-
in file SforceMetadataClient.php, method SforceMetadataClient::getLastResponseHeaders()
-
getLocation
-
in file SforceBaseClient.php, method SforceBaseClient::getLocation()
-
getNamespace
-
in file SforceBaseClient.php, method SforceBaseClient::getNamespace()
-
getServerTimestamp
-
in file SforceBaseClient.php, method SforceBaseClient::getServerTimestamp()
    Retrieves the current system timestamp (GMT) from the Web service.
-
getSessionId
-
in file SforceBaseClient.php, method SforceBaseClient::getSessionId()
-
getTypes
-
in file SforceBaseClient.php, method SforceBaseClient::getTypes()
-
getUpdated
-
in file SforceBaseClient.php, method SforceBaseClient::getUpdated()
    Retrieves the list of individual objects that have been updated (added or changed) within the given timespan for the specified object.
-
getUserInfo
-
in file SforceBaseClient.php, method SforceBaseClient::getUserInfo()
-
-
- top
-
- -
-

i

-
-
isQueryResult
-
in file SforcePartnerClient.php, method SObject::isQueryResult()
-
isSObject
-
in file SforcePartnerClient.php, method SObject::isSObject()
-
-
- top
-
- -
-

l

-
-
$location
-
in file SforceMetadataClient.php, variable SforceMetadataClient::$location
-
$location
-
in file SforceBaseClient.php, variable SforceBaseClient::$location
-
$loginScopeHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$loginScopeHeader
-
login
-
in file SforceBaseClient.php, method SforceBaseClient::login()
    Login to Salesforce.com and starts a client session.
-
LoginScopeHeader
-
in file SforceHeaderOptions.php, class LoginScopeHeader
    To be used with the Login operation.
-
-
- top
-
- -
-

m

-
-
$mruHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$mruHeader
-
MassEmailMessage
-
in file SforceEmail.php, class MassEmailMessage
-
merge
-
in file SforcePartnerClient.php, method SforcePartnerClient::merge()
    Merge records
-
merge
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::merge()
    Merge records
-
MruHeader
-
in file SforceHeaderOptions.php, class MruHeader
    To be used with Create and Update operations.
-
-
- top
-
- -
-

n

-
-
$namespace
-
in file SforceMetadataClient.php, variable SforceMetadataClient::$namespace
-
$namespace
-
in file SforceBaseClient.php, variable SforceBaseClient::$namespace
-
$nextApproverIds
-
in file SforceProcessRequest.php, variable ProcessRequest::$nextApproverIds
-
ENTERPRISE_NAMESPACE
-
in file SforceEnterpriseClient.php, class constant SforceEnterpriseClient::ENTERPRISE_NAMESPACE
-
-
- top
-
- -
-

o

-
-
$objectId
-
in file SforceProcessRequest.php, variable ProcessSubmitRequest::$objectId
-
$organizationId
-
in file SforceHeaderOptions.php, variable LoginScopeHeader::$organizationId
-
-
- top
-
- -
-

p

-
-
$portalId
-
in file SforceHeaderOptions.php, variable LoginScopeHeader::$portalId
-
printDebugInfo
-
in file SforceBaseClient.php, method SforceBaseClient::printDebugInfo()
-
ProcessRequest
-
in file SforceProcessRequest.php, class ProcessRequest
-
ProcessSubmitRequest
-
in file SforceProcessRequest.php, class ProcessSubmitRequest
-
processSubmitRequest
-
in file SforceBaseClient.php, method SforceBaseClient::processSubmitRequest()
    Process Submit Request for Approval
-
ProcessWorkitemRequest
-
in file SforceProcessRequest.php, class ProcessWorkitemRequest
-
processWorkitemRequest
-
in file SforceBaseClient.php, method SforceBaseClient::processWorkitemRequest()
    Process Work Item Request for Approval
-
-
- top
-
- -
-

q

-
-
$queryHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$queryHeader
-
$queryLocator
-
in file SforcePartnerClient.php, variable QueryResult::$queryLocator
-
query
-
in file SforceBaseClient.php, method SforceBaseClient::query()
    Executes a query against the specified object and returns data that matches the specified criteria.
-
queryAll
-
in file SforceBaseClient.php, method SforceBaseClient::queryAll()
    Retrieves data from specified objects, whether or not they have been deleted.
-
queryMore
-
in file SforceBaseClient.php, method SforceBaseClient::queryMore()
    Retrieves the next batch of objects from a query.
-
QueryOptions
-
in file SforceHeaderOptions.php, class QueryOptions
    To be used with Retrieve, Query, and QueryMore operations.
-
QueryResult
-
in file SforcePartnerClient.php, class QueryResult
-
-
- top
-
- -
-

r

-
-
$records
-
in file SforcePartnerClient.php, variable QueryResult::$records
-
resetPassword
-
in file SforceBaseClient.php, method SforceBaseClient::resetPassword()
    Changes a user's password to a system-generated value.
-
retrieve
-
in file SforceBaseClient.php, method SforceBaseClient::retrieve()
    Retrieves one or more objects based on the specified object IDs.
-
-
- top
-
- -
-

s

-
-
$sessionHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$sessionHeader
-
$sessionId
-
in file SforceBaseClient.php, variable SforceBaseClient::$sessionId
-
$sessionId
-
in file SforceMetadataClient.php, variable SforceMetadataClient::$sessionId
-
$sforce
-
in file SforceBaseClient.php, variable SforceBaseClient::$sforce
-
$sforce
-
in file SforceMetadataClient.php, variable SforceMetadataClient::$sforce
-
$size
-
in file SforcePartnerClient.php, variable QueryResult::$size
-
search
-
in file SforceBaseClient.php, method SforceBaseClient::search()
    Executes a text search in your organization's data.
-
sendMassEmail
-
in file SforceBaseClient.php, method SforceBaseClient::sendMassEmail()
-
sendMassEmail
-
in file SforcePartnerClient.php, method SforcePartnerClient::sendMassEmail()
-
sendSingleEmail
-
in file SforceBaseClient.php, method SforceBaseClient::sendSingleEmail()
-
sendSingleEmail
-
in file SforcePartnerClient.php, method SforcePartnerClient::sendSingleEmail()
-
setAssignmentRuleHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setAssignmentRuleHeader()
-
setBccAddresses
-
in file SforceEmail.php, method SingleEmailMessage::setBccAddresses()
-
setBccSender
-
in file SforceEmail.php, method Email::setBccSender()
-
setCallOptions
-
in file SforceBaseClient.php, method SforceBaseClient::setCallOptions()
-
setCaseSensitive
-
in file SforceMetaObject.php, method SforceCustomField::setCaseSensitive()
-
setCcAddresses
-
in file SforceEmail.php, method SingleEmailMessage::setCcAddresses()
-
setCharset
-
in file SforceEmail.php, method SingleEmailMessage::setCharset()
-
setDefaultValue
-
in file SforceMetaObject.php, method SforceCustomField::setDefaultValue()
-
setDeploymentStatus
-
in file SforceMetaObject.php, method SforceCustomObject::setDeploymentStatus()
-
setDescription
-
in file SforceMetaObject.php, method SforceCustomField::setDescription()
-
setDescription
-
in file SforceMetaObject.php, method SforceCustomObject::setDescription()
-
setDisplayFormat
-
in file SforceMetaObject.php, method SforceCustomField::setDisplayFormat()
-
setDocumentAttachments
-
in file SforceEmail.php, method SingleEmailMessage::setDocumentAttachments()
-
setEmailHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setEmailHeader()
-
setEmailPriority
-
in file SforceEmail.php, method Email::setEmailPriority()
-
setEnableActivities
-
in file SforceMetaObject.php, method SforceCustomObject::setEnableActivities()
-
setEnableDivisions
-
in file SforceMetaObject.php, method SforceCustomObject::setEnableDivisions()
-
setEnableHistory
-
in file SforceMetaObject.php, method SforceCustomObject::setEnableHistory()
-
setEnableReports
-
in file SforceMetaObject.php, method SforceCustomObject::setEnableReports()
-
setEndpoint
-
in file SforceMetadataClient.php, method SforceMetadataClient::setEndpoint()
    Set the endpoint.
-
setEndpoint
-
in file SforceBaseClient.php, method SforceBaseClient::setEndpoint()
    Set the endpoint.
-
setExternalId
-
in file SforceMetaObject.php, method SforceCustomField::setExternalId()
-
setFields
-
in file SforceMetaObject.php, method SforceCustomObject::setFields()
-
setFileAttachments
-
in file SforceEmail.php, method SingleEmailMessage::setFileAttachments()
-
setFormula
-
in file SforceMetaObject.php, method SforceCustomField::setFormula()
-
setFormulaTreatBlankAs
-
in file SforceMetaObject.php, method SforceCustomField::setFormulaTreatBlankAs()
-
setFullName
-
in file SforceMetaObject.php, method SforceCustomField::setFullName()
-
setFullName
-
in file SforceMetaObject.php, method SforceCustomObject::setFullName()
-
setGender
-
in file SforceMetaObject.php, method SforceCustomObject::setGender()
-
setHousehold
-
in file SforceMetaObject.php, method SforceCustomObject::setHousehold()
-
setHtmlBody
-
in file SforceEmail.php, method SingleEmailMessage::setHtmlBody()
-
setInlineHelpText
-
in file SforceMetaObject.php, method SforceCustomField::setInlineHelpText()
-
setLabel
-
in file SforceMetaObject.php, method SforceCustomField::setLabel()
-
setLabel
-
in file SforceMetaObject.php, method SforceCustomObject::setLabel()
-
setLength
-
in file SforceMetaObject.php, method SforceCustomField::setLength()
-
setLoginScopeHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setLoginScopeHeader()
-
setMaskChar
-
in file SforceMetaObject.php, method SforceCustomField::setMaskChar()
-
setMaskType
-
in file SforceMetaObject.php, method SforceCustomField::setMaskType()
-
setMruHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setMruHeader()
-
setNameField
-
in file SforceMetaObject.php, method SforceCustomObject::setNameField()
-
setPassword
-
in file SforceBaseClient.php, method SforceBaseClient::setPassword()
    Sets the specified user's password to the specified value.
-
setPicklist
-
in file SforceMetaObject.php, method SforceCustomField::setPicklist()
-
setPlainTextBody
-
in file SforceEmail.php, method SingleEmailMessage::setPlainTextBody()
-
setPluralLabel
-
in file SforceMetaObject.php, method SforceCustomObject::setPluralLabel()
-
setPopulateExistingRows
-
in file SforceMetaObject.php, method SforceCustomField::setPopulateExistingRows()
-
setPrecision
-
in file SforceMetaObject.php, method SforceCustomField::setPrecision()
-
setQueryOptions
-
in file SforceBaseClient.php, method SforceBaseClient::setQueryOptions()
-
setReferenceTo
-
in file SforceMetaObject.php, method SforceCustomField::setReferenceTo()
-
setRelationshipName
-
in file SforceMetaObject.php, method SforceCustomField::setRelationshipName()
-
setReplyTo
-
in file SforceEmail.php, method Email::setReplyTo()
-
setRequired
-
in file SforceMetaObject.php, method SforceCustomField::setRequired()
-
setSaveAsActivity
-
in file SforceEmail.php, method Email::setSaveAsActivity()
-
setScale
-
in file SforceMetaObject.php, method SforceCustomField::setScale()
-
setSenderDisplayName
-
in file SforceEmail.php, method Email::setSenderDisplayName()
-
setSessionHeader
-
in file SforceMetadataClient.php, method SforceMetadataClient::setSessionHeader()
    Set the Session ID
-
setSessionHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setSessionHeader()
-
setStartingNumber
-
in file SforceMetaObject.php, method SforceCustomField::setStartingNumber()
-
setStartsWith
-
in file SforceMetaObject.php, method SforceCustomObject::setStartsWith()
-
setSubject
-
in file SforceEmail.php, method Email::setSubject()
-
setSummarizeField
-
in file SforceMetaObject.php, method SforceCustomField::setSummarizeField()
-
setSummaryFilterItems
-
in file SforceMetaObject.php, method SforceCustomField::setSummaryFilterItems()
-
setSummaryForeignKey
-
in file SforceMetaObject.php, method SforceCustomField::setSummaryForeignKey()
-
setSummaryOperation
-
in file SforceMetaObject.php, method SforceCustomField::setSummaryOperation()
-
setTargetObjectId
-
in file SforceEmail.php, method SingleEmailMessage::setTargetObjectId()
-
setTargetObjectIds
-
in file SforceEmail.php, method MassEmailMessage::setTargetObjectIds()
-
setTemplateId
-
in file SforceEmail.php, method SingleEmailMessage::setTemplateId()
-
setTemplateId
-
in file SforceEmail.php, method MassEmailMessage::setTemplateId()
-
setToAddresses
-
in file SforceEmail.php, method SingleEmailMessage::setToAddresses()
-
setType
-
in file SforceMetaObject.php, method SforceCustomField::setType()
-
setUnique
-
in file SforceMetaObject.php, method SforceCustomField::setUnique()
-
setUserTerritoryDeleteHeader
-
in file SforceBaseClient.php, method SforceBaseClient::setUserTerritoryDeleteHeader()
-
setUseSignature
-
in file SforceEmail.php, method Email::setUseSignature()
-
setVisibleLines
-
in file SforceMetaObject.php, method SforceCustomField::setVisibleLines()
-
setWhatId
-
in file SforceEmail.php, method SingleEmailMessage::setWhatId()
-
setWhatIds
-
in file SforceEmail.php, method MassEmailMessage::setWhatIds()
-
SforceBaseClient
-
in file SforceBaseClient.php, class SforceBaseClient
    SalesforceSoapClient
-
SforceCustomField
-
in file SforceMetaObject.php, class SforceCustomField
-
SforceCustomObject
-
in file SforceMetaObject.php, class SforceCustomObject
-
SforceEnterpriseClient
-
in file SforceEnterpriseClient.php, class SforceEnterpriseClient
    SforceEnterpriseClient class.
-
SforceEnterpriseClient
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::SforceEnterpriseClient()
-
SforceMetadataClient
-
in file SforceMetadataClient.php, class SforceMetadataClient
-
SforcePartnerClient
-
in file SforcePartnerClient.php, method SforcePartnerClient::SforcePartnerClient()
-
SforcePartnerClient
-
in file SforcePartnerClient.php, class SforcePartnerClient
    SforcePartnerClient class.
-
SHARING_MODEL_PRIVATE
-
in file SforceFieldTypes.php, constant SHARING_MODEL_PRIVATE
-
SHARING_MODEL_READ
-
in file SforceFieldTypes.php, constant SHARING_MODEL_READ
-
SHARING_MODEL_READWRITE
-
in file SforceFieldTypes.php, constant SHARING_MODEL_READWRITE
-
SingleEmailMessage
-
in file SforceEmail.php, class SingleEmailMessage
-
SforceBaseClient.php
-
procedural page SforceBaseClient.php
-
SforceEmail.php
-
procedural page SforceEmail.php
-
SforceEnterpriseClient.php
-
procedural page SforceEnterpriseClient.php
-
SforceFieldTypes.php
-
procedural page SforceFieldTypes.php
-
SforceHeaderOptions.php
-
procedural page SforceHeaderOptions.php
-
SforceMetadataClient.php
-
procedural page SforceMetadataClient.php
-
SforceMetaObject.php
-
procedural page SforceMetaObject.php
-
SforcePartnerClient.php
-
procedural page SforcePartnerClient.php
-
SforceProcessRequest.php
-
procedural page SforceProcessRequest.php
-
SObject
-
in file SforcePartnerClient.php, class SObject
    Salesforce Object
-
STARTS_WITH_CONSONANT
-
in file SforceFieldTypes.php, constant STARTS_WITH_CONSONANT
-
STARTS_WITH_SPECIAL
-
in file SforceFieldTypes.php, constant STARTS_WITH_SPECIAL
-
STARTS_WITH_VOWEL
-
in file SforceFieldTypes.php, constant STARTS_WITH_VOWEL
-
-
- top
-
- -
-

t

-
-
$transferToUserId
-
in file SforceHeaderOptions.php, variable UserTerritoryDeleteHeader::$transferToUserId
-
$triggerAutoResponseEmail
-
in file SforceHeaderOptions.php, variable EmailHeader::$triggerAutoResponseEmail
-
$triggerOtherEmail
-
in file SforceHeaderOptions.php, variable EmailHeader::$triggerOtherEmail
-
$triggerUserEmail
-
in file SforceHeaderOptions.php, variable EmailHeader::$triggerUserEmail
-
$type
-
in file SforcePartnerClient.php, variable SObject::$type
-
TREAT_BLANKS_AS_BLANK
-
in file SforceFieldTypes.php, constant TREAT_BLANKS_AS_BLANK
-
TREAT_BLANKS_AS_ZERO
-
in file SforceFieldTypes.php, constant TREAT_BLANKS_AS_ZERO
-
-
- top
-
- -
-

u

-
-
$updateMruFlag
-
in file SforceHeaderOptions.php, variable MruHeader::$updateMruFlag
-
$useDefaultRuleFlag
-
in file SforceHeaderOptions.php, variable AssignmentRuleHeader::$useDefaultRuleFlag
-
$userTerritoryDeleteHeader
-
in file SforceBaseClient.php, variable SforceBaseClient::$userTerritoryDeleteHeader
-
undelete
-
in file SforceBaseClient.php, method SforceBaseClient::undelete()
    Deletes one or more new individual objects to your organization's data.
-
update
-
in file SforcePartnerClient.php, method SforcePartnerClient::update()
    Updates one or more new individual objects to your organization's data.
-
update
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::update()
    Updates one or more new individual objects to your organization's data.
-
upsert
-
in file SforcePartnerClient.php, method SforcePartnerClient::upsert()
    Creates new objects and updates existing objects; uses a custom field to determine the presence of existing objects. In most cases, we recommend that you use upsert instead of create because upsert is idempotent.
-
upsert
-
in file SforceEnterpriseClient.php, method SforceEnterpriseClient::upsert()
    Creates new objects and updates existing objects; uses a custom field to determine the presence of existing objects. In most cases, we recommend that you use upsert instead of create because upsert is idempotent.
-
UserTerritoryDeleteHeader
-
in file SforceHeaderOptions.php, class UserTerritoryDeleteHeader
-
-
- top
-
- -
-

v

-
-
$version
-
in file SforceBaseClient.php, variable SforceBaseClient::$version
-
-
- top
-
- -
-

w

-
-
$workitemId
-
in file SforceProcessRequest.php, variable ProcessWorkitemRequest::$workitemId
-
-
- top
-
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/elementindex_SalesforceTest.html b/apidocs/elementindex_SalesforceTest.html deleted file mode 100644 index e8078e1..0000000 --- a/apidocs/elementindex_SalesforceTest.html +++ /dev/null @@ -1,154 +0,0 @@ - - -Package SalesforceTest Element Index - - - - - - - - - - - - - -
SalesforceTest
- [ class tree: SalesforceTest ] - [ index: SalesforceTest ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package SalesforceTest

- [ d ] - [ m ] - [ s ] - [ t ] - -
- -
-

d

-
-
deleteAll
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::deleteAll()
-
-
- top
-
- -
-

m

-
-
$mylogin
-
in file SforcePartnerClientTest.php, variable SforcePartnerClientTest::$mylogin
-
$mySforceConnection
-
in file SforcePartnerClientTest.php, variable SforcePartnerClientTest::$mySforceConnection
-
-
- top
-
- -
-

s

-
-
setUp
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::setUp()
-
SforcePartnerClientTest
-
in file SforcePartnerClientTest.php, class SforcePartnerClientTest
    SforcePartnerClientTest class.
-
SforcePartnerClientTest.php
-
procedural page SforcePartnerClientTest.php
-
-
- top
-
- -
-

t

-
-
$theId
-
in file SforcePartnerClientTest.php, variable SforcePartnerClientTest::$theId
-
testAssignmentRuleHeaderFlag
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testAssignmentRuleHeaderFlag()
-
testAssignmentRuleHeaderId
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testAssignmentRuleHeaderId()
-
testCreate
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testCreate()
-
testDelete
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDelete()
-
testDescribeGlobal
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeGlobal()
-
testDescribeLayout
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeLayout()
-
testDescribeSObject
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeSObject()
-
testDescribeSObjects
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeSObjects()
-
testDescribeTabs
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testDescribeTabs()
-
testEmptyRecycleBin
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testEmptyRecycleBin()
-
testGetDeleted
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testGetDeleted()
-
testGetUpdated
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testGetUpdated()
-
testLogin
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testLogin()
-
testMruHeader
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testMruHeader()
-
testQuery
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testQuery()
-
testRetrieve
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testRetrieve()
-
testSearch
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testSearch()
-
testSendMassEmail
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testSendMassEmail()
-
testSendSingleEmail
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testSendSingleEmail()
-
testServerTimestamp
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testServerTimestamp()
-
testUpdate
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testUpdate()
-
testUpsert
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testUpsert()
-
testUserInfo
-
in file SforcePartnerClientTest.php, method SforcePartnerClientTest::testUserInfo()
-
-
- top
-
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/errors.html b/apidocs/errors.html deleted file mode 100644 index 3403626..0000000 --- a/apidocs/errors.html +++ /dev/null @@ -1,110 +0,0 @@ - - -phpDocumentor Parser Errors and Warnings - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -Post-parsing
-SforceEmail.php
-SforceEnterpriseClient.php
-SforceFieldTypes.php
-SforceHeaderOptions.php
-SforceMetadataClient.php
-SforceMetaObject.php
-SforcePartnerClient.php
-SforcePartnerClientTest.php
-SforceProcessRequest.php
- -

Post-parsing

-

Warnings:


-Warning - Class SforcePartnerClientTest parent PHPUnit_Framework_TestCase not found
- -

SforceBaseClient.php

-

Warnings:


-Warning on line 760 - File "C:\sfdc\sforce\internal_repos\API_V10\php\soapclient\SforceBaseClient.php" has no page-level DocBlock, use @package in the first DocBlock to create one
- -

SforceEmail.php

-

Warnings:


-Warning on line 7 - no @package tag was used in a DocBlock for class Email
-Warning on line 37 - no @package tag was used in a DocBlock for class SingleEmailMessage
-Warning on line 87 - no @package tag was used in a DocBlock for class MassEmailMessage
-Warning on line 100 - File "C:\sfdc\sforce\internal_repos\API_V10\php\soapclient\SforceEmail.php" has no page-level DocBlock, use @package in the first DocBlock to create one
- -

SforceEnterpriseClient.php

-

Warnings:


-Warning on line 108 - File "C:\sfdc\sforce\internal_repos\API_V10\php\soapclient\SforceEnterpriseClient.php" has no page-level DocBlock, use @package in the first DocBlock to create one
- -

SforceFieldTypes.php

-

Warnings:


-Warning on line 19 - File "C:\sfdc\sforce\internal_repos\API_V10\php\soapclient\SforceFieldTypes.php" has no page-level DocBlock, use @package in the first DocBlock to create one
- -

SforceHeaderOptions.php

-

Warnings:


-Warning on line 33 - DocBlock would be page-level, but precedes class "CallOptions", use another DocBlock to document the file
-Warning on line 122 - no @package tag was used in a DocBlock for class EmailHeader
-Warning on line 134 - no @package tag was used in a DocBlock for class UserTerritoryDeleteHeader
- -

SforceMetadataClient.php

-

Warnings:


-Warning on line 3 - no @package tag was used in a DocBlock for class SforceMetadataClient
-Warning on line 124 - File "C:\sfdc\sforce\internal_repos\API_V10\php\soapclient\SforceMetadataClient.php" has no page-level DocBlock, use @package in the first DocBlock to create one
- -

SforceMetaObject.php

-

Warnings:


-Warning on line 3 - no @package tag was used in a DocBlock for class SforceCustomObject
-Warning on line 61 - no @package tag was used in a DocBlock for class SforceCustomField
-Warning on line 174 - File "C:\sfdc\sforce\internal_repos\API_V10\php\soapclient\SforceMetaObject.php" has no page-level DocBlock, use @package in the first DocBlock to create one
- -

SforcePartnerClient.php

-

Warnings:


-Warning on line 154 - no @package tag was used in a DocBlock for class QueryResult
-Warning on line 304 - File "C:\sfdc\sforce\internal_repos\API_V10\php\soapclient\SforcePartnerClient.php" has no page-level DocBlock, use @package in the first DocBlock to create one
- -

SforcePartnerClientTest.php

-

Warnings:


-Warning on line 526 - File "C:\sfdc\sforce\internal_repos\API_V10\php\test\SforcePartnerClientTest.php" has no page-level DocBlock, use @package in the first DocBlock to create one
- -

SforceProcessRequest.php

-

Warnings:


-Warning on line 1 - no @package tag was used in a DocBlock for class ProcessRequest
-Warning on line 6 - no @package tag was used in a DocBlock for class ProcessSubmitRequest
-Warning on line 10 - no @package tag was used in a DocBlock for class ProcessWorkitemRequest
-Warning on line 14 - File "C:\sfdc\sforce\internal_repos\API_V10\php\soapclient\SforceProcessRequest.php" has no page-level DocBlock, use @package in the first DocBlock to create one
-
-
- Documentation generated on Fri, 15 Feb 2008 14:42:36 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/index.html b/apidocs/index.html deleted file mode 100644 index fbd7bcf..0000000 --- a/apidocs/index.html +++ /dev/null @@ -1,95 +0,0 @@ - - -Generated Documentation - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Generated Documentation

-Welcome to SalesforceSoapClient!
-
-This documentation was generated by phpDocumentor v1.3.1
-
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/li_SalesforceSoapClient.html b/apidocs/li_SalesforceSoapClient.html deleted file mode 100644 index fbd7bcf..0000000 --- a/apidocs/li_SalesforceSoapClient.html +++ /dev/null @@ -1,95 +0,0 @@ - - -Generated Documentation - - - - - - - - - - - - - -
SalesforceSoapClient
- [ class tree: SalesforceSoapClient ] - [ index: SalesforceSoapClient ] - [ all elements ] -
- - - - - - -
-
- -

Generated Documentation

-Welcome to SalesforceSoapClient!
-
-This documentation was generated by phpDocumentor v1.3.1
-
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/li_SalesforceTest.html b/apidocs/li_SalesforceTest.html deleted file mode 100644 index 7133ebd..0000000 --- a/apidocs/li_SalesforceTest.html +++ /dev/null @@ -1,59 +0,0 @@ - - -Generated Documentation - - - - - - - - - - - - - -
SalesforceTest
- [ class tree: SalesforceTest ] - [ index: SalesforceTest ] - [ all elements ] -
- - - - - - -
-
- -

Generated Documentation

-Welcome to SalesforceTest!
-
-This documentation was generated by phpDocumentor v1.3.1
-
-
- Documentation generated on Fri, 15 Feb 2008 14:42:29 -0800 by phpDocumentor 1.3.1 -
-
-
- - - \ No newline at end of file diff --git a/apidocs/media/Thumbs.db b/apidocs/media/Thumbs.db deleted file mode 100644 index 2ea22d6f15a82fa168aa20f6257e357bdefab309..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3584 zcmeHJNlX+$6#c!;J}^DgGt7_}m0eAYY>FNi=3EKjM3;>b!el zoGb+fhD9aF#*|a|P2dn60F58ye^?a7kwO6cbjviFfg$vj#E*c*AaYVXrx69WtN$HT$lyXkd4|71^!=lDds z(8OUMi6dILAqgJWaS`WQW>%n`d z)jE@oHwZ?fQRC@lHVJ0EU=&Cv6oYM8PRVgfL95mZe=Xuo;1%dA#ZW##^Ay8VVhhYf z_c`>II4lW8qmMGVLa9=tK?AN3ieYG$Azq{PUaSX}=k&9KBV~qoo7^Wy2q`S9Qus#I zH5(J!`u##v>_tkI$;)i<_74aQnlm>neBq*q#Y?QqqhnUAjEzfNy=LvYr1cw8)6z3C zvo>zpk(;+Oe^lXiHKW- xRfcz^bl3{p@rFL41_usi$G7`mY9E|l(K3^3(}Yz5wYCnP1)Tp+R!$e1@pO+j=b55= cOIuv|iyatv1txKu0`)U^y85}Sb4q9e01EU+A^-pY diff --git a/apidocs/media/empty.png b/apidocs/media/empty.png deleted file mode 100644 index a9f29bb161a7b1efd9cc85043bc235e1a5060780..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 206 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx3?wy9o9qTs+9j?LCC){ui6xo&c?uz!xv320 z`3gqn3VHcu3PuJ7Mhb>zR)*$Q#>NWT28IR({)IOifZEtgJbhi+FL6ur3u;#0rMq>1fPyUPj=qiz3>*8o|0J>k`OE=6A+G=b|6hJY`UH^6SQ6wH o%;50sMjDXA<>}%WQgJIe0mx=zV0@~64`c#^r>mdKI;Vst04^Iepa1{> diff --git a/apidocs/media/style.css b/apidocs/media/style.css deleted file mode 100644 index 5859cc8..0000000 --- a/apidocs/media/style.css +++ /dev/null @@ -1,195 +0,0 @@ -.php { - padding: 1em; -} -.php-src { font-family: 'Courier New', Courier, monospace; font-weight: normal; } - -body -{ - color: #000000; - background-color: #ffffff; - background-image: url("background.png"); - background-repeat: repeat-y; - font-family: tahoma, verdana, arial, sans-serif; - font-size: 10pt; - margin: 0; - padding: 0; -} - -a -{ - color: #000099; - background-color: transparent; - text-decoration: none; -} - -a:hover -{ - text-decoration: underline; -} - -a.menu -{ - color: #ffffff; - background-color: transparent; -} - -td -{ - font-size: 10pt; -} - -td.header_top -{ - color: #ffffff; - background-color: #9999cc; - font-size: 16pt; - font-weight: bold; - text-align: right; - padding: 10px; -} - -td.header_line -{ - color: #ffffff; - background-color: #333366; -} - -td.header_menu -{ - color: #ffffff; - background-color: #666699; - font-size: 8pt; - text-align: right; - padding: 2px; - padding-right: 5px; -} - -td.menu -{ - padding: 2px; - padding-left: 5px; -} - -td.code_border -{ - color: #000000; - background-color: #c0c0c0; -} - -td.code -{ - color: #000000; - background-color: #f0f0f0; -} - -td.type -{ - font-style: italic; -} - -div.credit -{ - font-size: 8pt; - text-align: center; -} - -div.package -{ - padding-left: 5px; -} - -div.tags -{ - padding-left: 15px; -} - -div.function -{ - padding-left: 15px; -} - -div.top -{ - font-size: 8pt; -} - -div.warning -{ - color: #ff0000; - background-color: transparent; -} - -div.description -{ - padding-left: 15px; -} - -hr -{ - height: 1px; - border-style: solid; - border-color: #c0c0c0; - margin-top: 10px; - margin-bottom: 10px; -} - -span.smalllinenumber -{ - font-size: 8pt; -} - -ul { - margin-left: 0px; - padding-left: 8px; -} -/* Syntax highlighting */ - -.src-code { background-color: #f5f5f5; border: 1px solid #ccc9a4; padding: 0px; margin : 0px; - font-family: 'Courier New', Courier, monospace; font-weight: normal; } -.src-line { font-family: 'Courier New', Courier, monospace; font-weight: normal; } - -.src-comm { color: green; } -.src-id { } -.src-inc { color: #0000FF; } -.src-key { color: #0000FF; } -.src-num { color: #CC0000; } -.src-str { color: #66cccc; } -.src-sym { font-weight: bold; } -.src-var { } - -.src-php { font-weight: bold; } - -.src-doc { color: #009999 } -.src-doc-close-template { color: #0000FF } -.src-doc-coretag { color: #0099FF; font-weight: bold } -.src-doc-inlinetag { color: #0099FF } -.src-doc-internal { color: #6699cc } -.src-doc-tag { color: #0080CC } -.src-doc-template { color: #0000FF } -.src-doc-type { font-style: italic } -.src-doc-var { font-style: italic } - -.tute-tag { color: #009999 } -.tute-attribute-name { color: #0000FF } -.tute-attribute-value { color: #0099FF } -.tute-entity { font-weight: bold; } -.tute-comment { font-style: italic } -.tute-inline-tag { color: #636311; font-weight: bold } - -/* tutorial */ - -.authors { } -.author { font-style: italic; font-weight: bold } -.author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal } -.example { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; } -.listing { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; white-space: nowrap; } -.release-info { font-size: 85%; font-style: italic; margin: 1em 0em } -.ref-title-box { } -.ref-title { } -.ref-purpose { font-style: italic; color: #666666 } -.ref-synopsis { } -.title { font-weight: bold; margin: 1em 0em 0em 0em; padding: .25em; border: 2px solid #999999; background-color: #9999CC } -.cmd-synopsis { margin: 1em 0em } -.cmd-title { font-weight: bold } -.toc { margin-left: 2em; padding-left: 0em } - diff --git a/css/document.css b/css/document.css deleted file mode 100644 index cf8ca5f..0000000 --- a/css/document.css +++ /dev/null @@ -1,25 +0,0 @@ -/* Default style for links */ -a:active { color: #666666; text-decoration: underline; font-weight:normal; } -a:visited.{ color: #666666; text-decoration: underline; font-weight:normal; } -a:link { color: #666666; text-decoration: underline; font-weight:normal; } -a:hover { color: #CC0000; text-decoration: underline; font-weight:normal; } - -/* Default style */ -body -{ - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; font-weight: normal; font-size: 12px; color: #666666; background-color: #FFFFFF; -} - -/* Use this style for footnote numbers */ -span.Footnote -{ - font-size: small; - vertical-align: super -} - -/* Use this style to control spacing for inline related topics tags */ -div.WWHInlineRelatedTopics -{ - margin-top: 8px; - margin-bottom: 4px; -} diff --git a/css/sforce.css b/css/sforce.css deleted file mode 100644 index 4d1cf3b..0000000 --- a/css/sforce.css +++ /dev/null @@ -1,722 +0,0 @@ -b.cBold -{ - font-weight: bold -} -code.cCode -{ - font-family: Courier New, Courier, mono -} - -.codebox -{ - background: #f1f5f9; - border: 1px solid #c7cfd5; - font-family: Courier New, Courier, mono - margin: 20px 0; - padding: 8px; - text-align: left; -} - -em.cEmphasis -{ - font-style: italic -} -sub.cSubscript -{ - vertical-align: sub -} -sup.cSuperscript -{ - vertical-align: super -} -u.cUnderline -{ - text-decoration: underline -} - -p.pBody -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pBodyRelative -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 6pt; - margin-left: 0em; - margin-right: 0em; - margin-top: 6pt; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pCellBody -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 0em; - margin-left: 0em; - margin-right: 0em; - margin-top: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pCellHeading -{ - color: #FFFFFF; - background-color: #999999; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-bottom: 0em; - margin-left: 0em; - margin-right: 0em; - margin-top: 0em; - text-align: center; - text-decoration: none; - text-indent: 0em; - text-transform: none -} - -p.pCopyrightText -{ - color: #999999; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 10px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-top: 0em; - margin-bottom: 0em; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -h2.pGroupTitlesIX -{ - color: #CC0000; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 16px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -h2.pHeading1 -{ - color: #CC0000; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 16px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-top: 0em; - margin-bottom: 0em; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -h3.pHeading2 -{ - color: #CC0000; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -h4.pHeading3 -{ - color: #CC0000; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 10px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -h5.pHeading4 -{ - color: #CC0000; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 9px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pIndented1 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 2.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pIndented2 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pIndented3 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 7.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pIndented4 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 10em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pIndented5 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 12.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pIndentedRelative -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 2.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pLevel1IX -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 2.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pLevel2IX -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pLevel3IX -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 7.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pLevel4IX -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 10em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pLevel5IX -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 12.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -h2.pNewHTMLPage -{ - color: #CC0000; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 16px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-top: 0em; - margin-bottom: 0em; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pNoteTitle -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 0em; - margin-right: 0em; - margin-bottom: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pNote -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-top: 0em; - margin-left: 1.25em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pPopup -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pPopupAppend -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pPreformatted -{ - color: 666666; - font-family: Courier New, Courier, mono; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 0em; - margin-left: 0em; - margin-right: 0em; - margin-top: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pPreformattedRelative -{ - color: 666666; - font-family: Courier New, Courier, mono; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 0em; - margin-left: 0em; - margin-right: 0em; - margin-top: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pRelatedTopic -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} - -p.pSeeAlsoRef -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 10px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-top: 0em; - margin-bottom: 0em; - margin-left: 2.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} - - - - - -div.pSmartList1 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 6pt; - margin-left: 0em; - margin-right: 0em; - margin-top: 6pt; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pSmartList2 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 6pt; - margin-left: 0em; - margin-right: 0em; - margin-top: 6pt; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pSmartList3 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 6pt; - margin-left: 0em; - margin-right: 0em; - margin-top: 6pt; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pSmartList4 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 6pt; - margin-left: 0em; - margin-right: 0em; - margin-top: 6pt; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pSmartList5 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: normal; - margin-bottom: 6pt; - margin-left: 0em; - margin-right: 0em; - margin-top: 6pt; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -div.pTableTitle -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -h2.pTitle -{ - color: #CC0000; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 18px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -h2.pTOC1 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 0em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pTOC2 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 2.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pTOC3 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pTOC4 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 7.5em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pTOC5 -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 12px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-left: 10em; - margin-right: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} -p.pWebSiteLink -{ - color: #666666; - font-family: 'Verdana', 'Arial', 'Helvetica', 'sans-serif'; - font-size: 10px; - font-style: normal; - font-variant: normal; - font-weight: bold; - margin-top: 0em; - margin-left: 0em; - margin-right: 0em; - margin-bottom: 0em; - text-align: left; - text-decoration: none; - text-indent: 0em; - text-transform: none -} - diff --git a/images/adn-blog.gif b/images/adn-blog.gif deleted file mode 100644 index ea07ced7ff902dacf55fa78a7c72b1769e7336e4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8138 zcmdT}^;gr6_kL}IZG<`+6>!w3Df10V>*x+CNf|I&0YSRPK%_xRx>FEF8stWaga`&OJANxmQzLLsrh74iXFe0saRXjkdY5xv{>ny}h%w zwY{;ixwf|c{rmFzKl0DM`49ip>c;x&-jChxH!q8xrB@c_cCZr{xhTB@GEC7`iL`5Q~{47)qKlQo*_4ait_CKnDGSyIpYHLir zXF~PBQSaMR$(>Y67j=A;`eBT^@Rhpwt<^xc($!jtc6QEocQ;m7)l^kgRaB^FXGeej{Hxi<`g&(a2bKEIaCUrr{PX9} zA3uKV?(XjF?EJ6d|MRb}t*x!DuCA=CEG#U1`}S>qetvv>{Qdj)V`F2ZqoX4uBg4bP zLqkIY0|R}1eZ9TC6bgk*CinF8ba!`mb#=XY^QNh(siC2vzP`SwsHm{8u%MtICnqN* zB_%mIIVmYAF)@)qAVfq&goK3n`uh6#_;`DJdwF?zdU`rLJL7OTJ3BigBO^mYLo606 zEiEl2C56FY1O){J1O$*sBnJlvJ3Bi9fdGL(|EB1F!}R|R{Ks@40O$qK|4aOTI|0CH zfE)vl7O9vV1!ohtc}ptkeS#3w$=7Nu?N8vAa-Vk~RE_7+ZYm#2$v9tQGt^Wu z{0!sxE?>L3ax_oYcXNKIx$1opHj0r~r=|KsnO3^E?Yowm$&$y6cXWp~0+L;VV2q6Ylds0fA)PAKi%u+c2UIi^8{>PujBMU|9UGFb@FpawCdFDt?u=?{7`yj~MVnqj{u4DLQScxmkN zqIJa7Zs%ZT+Vkq+EL*_2!%wbNwvwOji#%wX^B%k^)B0fMZ2xorbmPD!-|w`MK?oK6 z^<^(n(j#Dy6MjisNbLJnG_Q;I!+tLF00&)By-9BsII0}`gHa?OBiozXjW}FnVOolW zavxd3uXe))6|O!G-InFS+my8LdP?uaUIhSeomG+S@z)*2mnHwM0}bQEUsYxI_K_YWqc-rF!S9+ zR*&?k!9|IcITDSiv@?Bd<^@moMo!;}4VE|xX_$e5(3mYUMDu(VfI)<7}W z4HFCA@zh&i;z|Pge4;o<_nPFr8!Z&^xfj;_G+zDWr*md5U7XM&-6+KvCc(c-ELq$V zg(jSrDqm~d5C}H4Y@e7r|m$W<{HIbCNMbwI~Hz=z3#Z&#q+v~9$Xx`!AeIj zi;dj=IArTFzQi#>sGG03aIVh^bcNVTbiO8)^Zx!SWAaL@L3AlwG#udf1~HkFD4b<* zbKV62CY@c9?15Ah(fGii$t)4Ii5Iys6Q}P`BW00{a}i49pv4)z-M4sJ?9z0tcmyan zwxBDhY+==@Q#qed{8-R@koq%#MqMnH6imx##(SGi;1wh`S27&y??2`QvXH{v~jAakO2}0Q8WA^Us*8?)JRo> zV2VZ%h1a#`W#)OWKQ?;@Oz|^smf4WR7l^ENSb71`NW3}@Vt;+QF*Wl(gPKvK{R1|j zeU=^|UT0JxQMkyx{ago}vp0LdKo|BZaR2EjK%JK0b*0a=UuAOrFYpyH=t<#$=Wh*a8d>G;hha_G8maCpB;tiq&3zfhW2FqpN zJ1E3;tSB{*crHzHM(>6*p2LQj^gKD|Jr;O5R`i_J9+9mDNyl5E9I5ZF_>__9QE57P zKM@vXPY&??6-GFn8n!WNO`ssjx^gZ5e}2S7-mgLlQL*kw|utGk4e9QGBll;1ADBM9R-r|9A3f%q8)34^jiYCc{dEwiSg9;z`3^C@ffOx{ zys!{NVB!9ci5S{>0iaYP7O?3XQw@604VinFK9hjjuCGqm=8MJKj3~q>Ry`z;lzAU& zgNwTJ%!-~YpoReuW56tHcoW})2U|TuUs~kIjMaNe9>61(7X4;x;XPL8l12VdHYyl|qhA!VKDaQ3c&!q)Z!ibD`t z*oVWf&i25^FaKn;w)sk?l?HU#*>rH0FRX|m?7K`(ckPE75<_Qg)Q`u%th93X@HhqP z-4&y-EZ?<|Zu^*I4U7G#3?PU`{~5tbzQYkg)lsB->5rdB@^Kw+Xtot1!ODlmbPeqI z+fo=I<-^;6D);N^g3PFAOla5-_Kc&)*LalumF9U7F4O8Dusyu$7o`@T8wu_4j8t-Y z54M6mrKg*X+Gkk&}2$i&GIOwO5Fs=#T$SN&U$$ooX`d;bJeh2Ze+xJHaQ#k1sKm&QSGkt=?@r7C{ zm`m*mJDBAF0Kvfds)P&lI1mzoB7u6B2q^5G%TVx8sXe=fFN&l`6+r{s!0*h+&rXVb zB4~atbbpx_#pmJQ$6ms+cJXRnyf+-RVG>aoCp-nj3&5jSU6CrfNMn4;Bgb2Cf$8R` z=z&Ls9&nu$%99RgWn-|&!aDwfrP0BYNsPNu{)Gfaf;Tn=gGxr+svU=0aK<268Of@Q z&c=9lEGk(VPQ)pNeRP>tbs~BPrQduqBjrXwVofVW7#;Q6d+B@A)B}akUd6XKqG4$? zdXL^xaGIaH1kzHI3rMp7i!Z>p*7U!!ds5P@-H~$kM#}h}xTQ7AX_>IT|2(D!;_eBd zyB{-A1j2w+&$&NgGcaI&HLRvOrei(swR!^dM&y+M#n3%Z%ro$ziAFypk^%-FK1(cU zP8@|3m8TqbVNr)%fPksme_X(?X3+4FFQ;haut4N_PGF!+?;YHCM%3iX$E4qX?BGsd zCp8EPCqIN&B&a4m3)J{s86j;ERd0-EDK^oehbNieRTYj-3s6E}g3Gw@1aC(_xB$A? zgxst`NQD8#OwPtkWGQp9FB4vc5g?@Df58iloV@zXY}C^v+)y&pj%u__Sp><^c}YvQ z#!(?V>Jk#<)TCi95}QdU(3hspCXKEdr1weHY)@AO?ZvVRTZ$skS%I0t1aRAW94;sP zV;23J-e5`-wl5G})snCgz&P?U!AiKn_VYu&b zd5S0p`rHiR^k#N+T+*F+D!@?e zs-t=W8SOX}YrV}PVDNEmlqY+E%LJ2GIc)w@LGVI8-X|)BhDQasqLvu^)htjloUxAJ z=-jjnf)P5l;?^B8^qcS6eGYCm_{=_5OH0elWHYoy(6eC*^e%zk35)JY&l+gT>K4wT zOfYoQ0}pEwSe_?vPbGjz#j6@6Z%b21%c_}f_Nha9Ut~)$qVhX_ab#m(!M~nDG3de^ zw3Ik{C$)!AJUe@vTcg)lF-0z?QTv{VdLF%7UY(E1j4DV+3&l;s-+iLu zp_bvA<_8f1b;+TmbIc}U3h=Dj07iR?0dNSebkjkNYx{fZ_y;)S7eA#s`zS?b7pe>u z-WIJ2r!VR+)l8H{?+@MTbI=RzE9xbJZEG??G#zwN445t#9Xv&Eg?Z5HV>`4|oF$Gf zAuy497@Gr20_D(;UaOIftVyzpAcAr`0WBzAT8l?tg(eB&B9n8_jxD7FOQnr-r3Gwd zgT`fK#=4vGIkLgEeF7?{M_^Is>~n$HHv$sXFQuM{LViX0H1?I(gYl3)yn-2o6$vsn zuLudwa3$iuT*@FIZh6ze?cGuMcWEExPW3+rhAF;`Md#**NAHDvVt?M} zQX;1C9E1#OM=+Kkt=#@Kk|PgA!=Z02*GbRephtT0A!tXnq^F-eNynvZu8KN;aeeZ2 zGAB9d$IS!AIY%;)V{GWDK+xrvMAUe0>~XG!JX$&Ah4y7&?veyLHDB`>&oX{@mmxa2 zFVEuuB)|INsZqlZ9rOL*1{d+PL#y=r6u)pS6ssHRB)IA{w+f-j$}Af&7?&p23>vV$JfY2P8A=Hug7_>3)1Z)~-rp4z`IXR_5E@jVy0=aVMZLGaah-`gs0ox`<95P)_HI_2nkpedKi zB@i9`|8)q8-$s%^ZM0x7>skVN!XaENhl4&3CqZ!VKsybKa{~SbS!yb8A3Ye>h!1$R z`03H`MZeR(jLdWbj}eO3Oi?eP0>N9R_a31P=$T_-0*+=Cn^q|7#i~n2Pk@sKS@;t= zUAIK**XauAbw~BVrC>Y4>r7Gb`<6@=3-C1ry6GTmf(vGYeGLK7ontV&_t*47T>)QBCBF1A;5~$Q&}}n9mG3cWYJk{NWqtFW z^2|r$o6;F-$m-SPU`F_EoCw;{twzLPxGC1m2+WpOEnG}YU$5@&Xkrg$tlG2oHR|nS zWti4r+QsWmPBTo?-T&xk-M17<=CYY~x?g4#-eb|+vu@B+R?-hnELLDF*6|p@D@u}l zZ*ze$NJv0O>!?uDxK_(VyDg0#au7;D@fl*WDh)?F>p59 z(hJVpA9*iws9 z#JNoWtB{h)85thWT?muC_b}N(_Z9BJ9%OV^)w-u2+YYy>BG`~2OhrsqMBcu(gIVMj zQ(>+ZDb@4);jCAU_q%2}G3+=$33RC8%{$Qgh2xHxjKf8XdsVg?aMA2Mww&vnrT!Vn7Bk zcpE#TlQF|w4s53UV`uRc0mp$#~@=)Cnad`G@Db{ii__ssKJJW!K0(I(LOk+vmDwPM}KY4?HUiHDJfHH z7p!v+9gSctT!%aNG>)YietpD95gxUns)IhRBxB)KJ&aZcq4;_O+c9g~YolX_v%74} zbL#MQz13H)tBZdgN>4V5zK51v^(OMIBk4Ec2R?;VT>3o?E~j;3`sReG>~5I&&ss-T0Ho#Q zr~s`<$#S`Z1+g82p2nn0VL{V^Aif3NpjY@bs6aUEv9klb8gQl*!>Vy`M@oUsN58s)oNU z9DlRzN3+aJ>89UGy$tAy>D~3#1l$h>hzCPNsD6V~H^(7Gz)BnayHn?I+2N3lO))e? z%(NKtqDeaW^PyL#rgh3|@Lcss+8_De66}Q%SE)myp-glNM(aZ1GXZ*S(h;>##s)VF z8rOF1+5ani+`AN;aY5!m@_n0IjNR&EuKP&^7bJ^PFos7x!9FmBV#sZ8m=Yjh4A3hT zL*$Y4$h4#P7vS<(dL@89-tbgD_0)*=Z~tfzB=Iy}l77sP-m&y-+KU=@=HSyL2%R*?Nk}FmbI6(WlD&@li0gYxj>ZOX`UiZ+I@x zeh}1Dsq+UR8E{-^%`0a0_)n~YiER9O*|HBQEBg6ze!GhBw`+#Q%8$61qpE(ofpve*SbzrgRu+gzj8RQM}M6IE1!k9Zj-?( zT+FxOUGsf4p+^G0fDa{54rx1#+&||BMkoJxEs!7Ac91AXKNp8GB?sr`kA2raR2Wtz z`*92zOs;H>KP}g0=g$ENe`s{kL5Qfoia1AcyiklZCN8WSbe$F=1ELj!zAeN5@N-9b z!HWJ}^Sby;1HIxav)MAGC=kUI`ARk_c|}M1ry9G7=|go+ z!RNc`+>RL!H7?~aI%TR5#Ob(!`iX1TM2l0wslr6y1p{xWxImmRF_dx@6cvck5-nXA z6A@bzCozcp*c*BxkZ6>6{k6Z=QWbEO?w2;E|2~^^h3x5upltn-Lz2AJl&|5fli&M> zh3@Q+j8vFzNQ>D=Thi!7tpK1B*qr~nDAJINT}qY+;dXe!zYs0?P9bJ}u}WeQqGnp; zFH0FNK0K0)(~gLhyj7HCLD78~b2{`M<|v8IYxgk3}^6cU!si!aOvrHF>NSYEJW+j6yCZk^jI+A(^WbsYIH&5=jRD>*Nn9XGgrK%3;hKR?5SWY}U z5(+}Rx=s#Hyp$hubL>@Yj-7b-SqgoE@Z?J`3}o^RVN2H0wLlDe^hw&so62x&E+#CEE+sz~%J2 zx1KL11W<$4%btY?Z)Wm7-)%^-y|uI1{)ZZ}ccHuRU_0px-_G9T-H5Qm1D>Kk)2+9^ zZ69vEq=lb`DVz(hFwZZdp3)l;AUq3H=3lqz&OatF;c<{|mmWaKh}i3cqrV!cJX0{h zUc7*VDIL+25iv&5f#QsHTO=E2j21Wmm>|?fjh}2YGo{Iftre|cTz%@9j}}n^~zK4q(%wh`OgJusZCr@ z@Yll&@*ZnxX&9$PFfR*T4bs+gHcroDb`X|3);5YU&M50B7ts#VF|9PttVNfJSsv?H z3>arMca%uD1?k$X8b51nS-BQ=tc!#0Kka09zMd4Mhi`kDJ%o3bDmd0dU1Q6gEO)-~ z;**LS?Vd^A=VjE5EmubG7`FUoBXzmaAcIGhCIwq~7lkj!27v=69LpIlN;^UC{U+Fo zPL@S(AAB+-Kpz!?gQ6?W6sv@*`9G_6?Ae=KVoKcL!YS}9fGrvD(=B!AVkN@2y#Fzl~MG1RPDRoMMb zQm|<`%B)7$$=#&juW7Z0*>jT$ce7`g2xu#_TI&_}yPbc{NHJ!0j=~<6qrv7a0vxsZ zS{~M4{+hoUFst{i@UYzpo~f_rXb4&Husi#Ew+CuYic+t=#}H!Chca(WaJuiv>tWV= z%beDfUUA>)YKY}X){Ul|mHRGACzj(e=1qAV58U)atfnf>TTS~nQRXLBvjgUB&H7i( zZ!AtiF<=lQK|+AjI~H`B)z&NQ`7kNLs?LE@)s;*SPy;vZCIhF*vSQ{uzk; z!ZV=r#CETZqc#hP7C7Jd@24cd5-&^ezBmq3%l?B1!(anKNCJ`@l3zmP$yj(_W%|rOv&e0y`LyCTi2-wv_qYD`Iqw+ zFH~9dOWb@AEBP6gTbkW3RrxRpmSCnmYcZ&>`Y`2TyqV7YRLAA>;!lU)EHX>=4C+=n z`=sx`WB4U+`Oc)WDWJjH3GHGz+}Q7qYCCnpJjrQpZJ#)7hw3=?N^n39j%)@5QYNmbF SuOaNr0|&F7jXw_u6#fr^XyC2@ diff --git a/images/appexchange_logo_small.gif b/images/appexchange_logo_small.gif deleted file mode 100644 index 0f26f501a63d21b72f4aeff0a335fa1dd639a1bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3500 zcmWlWdt6J41HjKYJ3BjDo6gpnwO(iGUEK9j5w`V2s@o0ah9OB_MM${LPHU|s>zzl} zB80dT*UeA-wn`$p%j=fQHF*_9C&aZz`%QVx(^&U(AL)W<;xd}3s4u& zmz9-`)zwfRMkpBg^y%Zd(f|;^|dwB!HVSM zWNK(IK0cl*BrpDcuD7?BBDXzy@PNT!JbLt~g8Zf9Y8zEr*mLhLC1RHdxaEcF(a)cM zt3Rq$E87fLsAo_9(4V0U%~a#*n;q9E^CQX%HFe#3+Sm8;<%@?se+|EVJATLX`t_@^ zv9Xbn_iddw-wY03Zu^iZnM3ejY z;olWS`D5R{-Foo%V|HuEI01S%QMdqsV)cKl%!reuCiuYL6=9gG%ho)W; zz33A7n%A++ha)a+g*H_5#KC!&BR%$`8uMIb(=RXl*&f;qtLd}Q={I4Y-iaW zHK!yZA>3oReGcpWsq?HKV2R&C|L)?{=aj#D(8@|v87?cwoopN5c-wk?Ptxh!33gML ze^d~%{APu>&7!EY^WEt}*C1FblWz4+_-~%$M^(8T=-U^B=1ooz!^q>_ywD`xU7^HmfMfwVABH7|uW69n{WylTu){61Zj022Ak zbafl4*SBTj&S%5&I12X;VX|Ese<5EijiUQ!xpr8|Drod+=lvx#-rN+Wk&&(wBP`n> zAI%0YP4`uyUw!uxN*Io1@Wd9`=4%|M#HZILf+=Q*_E)yKb(^(WzhD+GO;)o#{;QAF zh8zx;TMmtO(||l!N-`YS5_#3yab-B;ev#IAAoG({E>_*gNtuH;c9nClyBDaUdFR~X zB(Y14JUGkGQiPz5NMOhXt!koe0|D{E?TmjrVs&TR5Xa&Rir2j z=VJsZT7pRp+>mma8eFo2Kz4+zCCG_O?9M_HQ_77rWKNE;6}KE5Xu*NxpKdz-6xG|h zsn^3$gov8)NK5u8j-sm_OfLc^6`6?%5@-FYBvP1}>uB+zJWtkx_Q|JDl1Lzmxj3st zx*uf8$%EMV8vBF4WP7ZfN-eqgmKACDIg&Yhz4nAv!{KSI><}RcTKf6>)9iO;DBFMc zYF>nLj?Xv(sAXx=N#c2?Z$&n9k`)G|{v_xqw#QE)Ha`z)J|YPi89pJrUM4+e6XgMk zeFlT&)}%M^5@j7D0Ke4wyjDAq7Kl#F_(%I5otD8l&L}T1Uqj=TjC^vOyhC>ON^aPX zP54a1z*{^bDi}ZkiIxZm;Pm)dQxXC>#W`(%NUz1GHz4h!Ez~krOM2s!L>8h)-56j;XK~M zCs#gYUbnRBAVpg2q$~)Ga{U@QI5X~o9F=ieH|+yW(&o@+mr0@7%XTiUta zdI`%35n;1R1@!10JfU zW0($*rV|%do5y<6P$sJ-b4EQ!4CNh~wZnNg!3W{>si$OFKwho_Wd9t6qUfI%k4IbC zYtl4saHnJJw_Hwfpm%73f%4~zZ{mBhHM|Bzc5^Rz^4BQTp^iga*mDO^NIMtJQC607 zVcTI7Vxhvla*5V}51RHr*@sE{BcTXOX*DZ41{-+a`Wof}(~rf*FpA7iE0b=OavLfo zO)l)>NlvJ49nB-f$VklAxbT%VrFFI4?9A#S|61(gZD1J-6fO;0Q6AY`!79{)Q%~I9 zn(s~vtu*A$usOrE>tS#a3<+35+gTVjNvz$bq4&=&HZ`~VQ>I(Y@miXbOPKe)yH?Yp zuGj4$q>NNOlyG!YO_6ih;9c#l*oP z+gQ-1QCgRztpdOFXx5S=D{^~oqhV(CZxNg7T&!V1!@FRazm<5(WE+!U z8SI8h>E1!&X;uYyLfg75R%5DID=rW>e#BK}Fn-|cTICXu1+4b;u*`({7?74QBaDp_ zYL~WozwOqOOeYgOV{l-xN|U`k+67ZRr8FdmwQW7`)^Ss>SFT=2SeITv|L#ws|45(nW!Tc9|Fr+>lzFoA(m4(ag4!IWU)W!7 z!JTQ>ikPI)#!5ne#|56K)sfrV%1W=6EnI$BhEBNY1@nntIr*C*eu(w@5kr^bgP&1P zpdfHfiZqWQBY&vF;nB_JfLGJhxgRYJJAGcSyY73x&r^7YgUC4W7Lw^rtj{yOMd3(| z)k6hGD5ZhgZw%x6&z7&)XOlOCMGv~la|)6~VuJ!Y?A;>anp+v`Lo`$HWk~rGAMr+9 z&AVV$1Oi4J8ZHm&z@c?EZS^0u7 zk3OY_%RO)fq4BEj2h#~)-ZTlE0EGIQpso-eDOOR^zT_C*%>p1a`k3nqS)H!2C~Y3< zswZc1oGiS0q|RHLp@4egmd!>@=eX(q6c7iU%(or35CifQDFYj!F|!n^apaq@3XD+D40- zO45P|_`X8=rt}%zEk#N9)SVDXFuHZQl(oe0D~X8nI2aKKHW}zmfU|EhUX>3V_Uo`H z#xzC?uMD|Oqn7T8Dd_DED$mPtDjR+6V-0 zUzI?7rby-k>7P@ESmKYNej|`I>_a@l=Pl;l7J64^BMm>kyICNiv785tvMct1?kT*) zJfy+Rhzg|;t1Sce)`Ih|O(VflLdj7W!X~3z_s*e|C4v@KoIB%@@wN)LBWW8l3~c=c z@;6)H0V%xH8252A6!gT9M;PIb5&C39%Aq`6t8mofy+FSWT#94u5B!yI(=0IG&13Ab z<*v~nBA5~Nk$y5EcS?xv`;v~Y|b_9VdB*cMXCkZVcL9$;rV`q5ulsO5D64*62B_Z&UmKtV6Iq6u`c zs|CWf8;kUa02CEvfEGVxZ1V+pTR1ZeYxZNS3hptZO_q0a(OI<#e@Z6hY9XG^W|avo z6fk{tP7(EJRtDf;Mivs{y^Sdcu~orGnV?x@4nWsPtS@W%0v#|_%kwH>EbBm5jG}y; z_F$7*w}K-j&s5XIa$%Iu@tj`1gr>zB(w+sy=&fvZpXGZ)~r&LbMNZsv(Hw73;0 z31XJ@Gp!{Pyw&-g+Jb^*U>r`f!;tlg6*^5^3Fg|9TBufVVz;1<=Nu1c!!}-Emac@R zyk~rL7IvMZC4q7OO`Jb-8NIChXXup&#t(cE8SEYDe}Z` z>DPLun|TUtnC={x!fOZQ%Zp>;!rU`pdlSIl$DFbymLvpQ(h$_JM{NRv-NJkPXuT;Y zqJ!EY=itvvZB{eqn<0h)$S!qr!q@D>fXFzWr*=~(wD|xAwI7H3; - - - -PHP Sample - - - - - -

-

PHP 5 SOAP Extension Toolkit [AppExchange 7.0 API]

-

Instructions | API Docs | Apache Setup | PHP Setup | Unit Tests

-
-

Although this toolkit is aimed at developers who are already familiar with PHP, novices will also find it helpful in learning PHP and the salesforce API calls. The toolkit is based on PHP 5 and the included SOAP extension. PHP 5's SOAP extension being written in C has the advantage of being faster than other SOAP implementations written in PHP. This toolkit uses this extension to interface with the AppExchange API.

-

The toolkit supports the Partner WSDL only. You will have access to all the same objects and capabilities of the API from the Partner WSDL as you do from the Enterprise WSDL. There is no need to use the Enterprise WSDL

-

Included in this toolkit are the following directories:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Directory
Description
apidocs/API docs
css/Style sheets
images/Images
samples/HelloWorld.php and an Account edit sample.
soapclient/Soapclient classes
test/Test scripts
-

In the soapclient directory, you will the SforcePartnerClient class which is used to make the connection and all method calls to the API. In order to create a connection, you first instantiate SforcePartnerClient and then pass in the WSDL. Once you have an instance of SforcePartnerClient, other AppExchange API method calls can be called directly on the instance. In this instance, you can login by calling login directly on $mySForceConnection. Browse the API doc to learn more about each available method call.

-
-require_once ('soapclient/SforcePartnerClient.php');
-
-$mySforceConnection = new SforcePartnerClient();
-$mySoapClient = $mySforceConnection->createConnection("partner.wsdl.xml");
-$mylogin = $mySforceConnection->login("username@mail.com", "changeme");
-
-

In the samples directory, you will find two samples, HelloWorld.php and a more in depth sample that handles login and session and can display, edit, and delete accounts. Instructions on how to run them can be found below. Additionally, a PHPUnit2 test class, SforcePartnerClientTest.php, is packaged with the example and has an example for each method call. See tests.html for information on how to run.

-

Results with SObjects

-

In the current PHP SOAP extension implementation, you will need to programmatically convert results that return sObjects. Each SObject has a fields array that will contain the fields selected during the query. For example,

-
-...
-$query = "SELECT Id, FirstName, LastName from Contact";
-$queryResult = $mySforceConnection->query($query);
$records = $queryResult->records; -foreach ($records as $record) {
$sObject = new SObject($record);
echo "Id = ".$sObject->Id;
echo "First Name = ".$sObject->fields->FirstName;
echo "Last Name = ".$sObject->fields->LastName; -} -
-

Note that the Id field is on the sObject and not part of the fields array due to the way that the current SOAP extension handles the Id field. This may change in the future.

-

SOAP Headers

-

The AppExchange API provides SOAP header options to client applications. All of these options are available in both the Enterprise and Partner WSDL files. To use these headers in an PHP client, simply include the following file:

-
require_once ('soapclient/SforceHeaderOptions.php');
-

This file contains three classes to handle AssignmentRuleHeader, MruHeader, and QueryOptions. SforcePartnerClientTest.php has examples of each.

-

Session Management

-

When a redirection occurs from one PHP page to another, the SOAP client must be reinstantiated for each page. In the first PHP page after a successful login, store the SessionID, endpoint, and WSDL reference in the session:

-
session_start();
-$_SESSION['location'] = $mySforceConnection->getLocation();
-$_SESSION['sessionId'] = $mySforceConnection->getSessionId();
-$_SESSION['wsdl'] = $wsdl;
-
-session_write_close();
-header('Location: welcome.php');
-
-

On the second PHP page, reinstantiate the SOAP client by reusing the attributes that were stored in the session:

-
// Retrieve session attributes
-session_start();
-$location = $_SESSION['location'];
-$sessionId = $_SESSION['sessionId'];
-$wsdl = $_SESSION['wsdl'];
-
-$mySforceConnection = new SforcePartnerClient(); -$sforceSoapClient = $mySforceConnection->createConnection($wsdl); -$mySforceConnection->setEndpoint($location); -$mySforceConnection->setSessionHeader($sessionId); -
-

SOAP COMPRESSION

-

Due to PHP Bug #36283, SOAP compression is turned off by default in SforceBaseClient. This bug should be fixed in the release after PHP 5.1.2. Once that happens, simply edit the createConnection($wsdl) method in SforceBaseClient.php to look as follows:

-
// Uncomment
-$this->sforce = new SoapClient($wsdl, array('compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP));
-
-// Comment out
-// $this->sforce = new SoapClient($wsdl, array('trace' => 1));
-

Prerequisites

-

Before you execute the samples, please ensure that you have the following: -

-
    -
    -
  • AppExchange Developer Network (ADN) account.
  • -
  • PHP 5.1.2
  • -
  • Optional: PHP capable web server; i.e., Apache or IIS. A web server will be needed to run the Account sample.
  • -
    -
-

Note: Since there are a wide variety of environments, this document will cover the toolkit in the context of a PHP 5.1.2, Apache Web Server 2.0.55, and Windows XP environment.

-
-

Build, Configure, and Deploy

-

Configure

-

Your PHP installation will need to have both SSL and SOAP enabled in order to use this toolkot. See PHP Setup for detailed instructions and tips.

-

Your web server will also need to be configured for PHP. For Apache, this means loading the php5_module and configuring an additional AddType. See Apache Setup for detailed instructions and tips.

-

A partner.wsdl.xml file is packaged with the toolkit. If for some reason you need a newer version you will need to obtain it from your ADN account. Log into your ADN account and access the setup area. Under 'Integrate' in the left-hand panel you will find the WSDL generator. Select 'Integrate' and then choose the Partner WSDL from the main window. Simply write over the existing partner.wsdl.xml that comes with this toolkit.

-

Deploy

-

Create a directory named "sforce-php" in the document root of your webserver. Copy the contents of this toolkit into this directory. See Apache Setup to locate or reconfigure the document root for Apache.

-

Before running, HelloWorld.php, simply edit sforce-php/samples/HelloWorld.php and replace username@mail.com and password with your ADN account username and password.

-

Run

-

To run HelloWorld.php, open a CMD window and navigate to the sforce-php directory and simply execute, "php HelloWorld.php". Be sure that you are using your ADN account username and password. Your expected output should be:

-
C:\Apache Group\Apache2\htdocs\sforce-php\samples> php HelloWorld.php
-Nick Tran, your session id is Ng1.71derW7pIQ.Kp3Q6ccq.0jBiDpe4xFWexbAVl.7Ay1qDHN
-BOuQGl0xA807xJ8P2W7ea0k6ldBfzTvFPMKmpYnKO9AsNCSeX5jsUoLXQ= 
-

To run the Account sample , navigate to http://localhost:[port]/sforce-php/samples/login.php where port is your http listen port. Login with your ADN account username and password. You should be presented with a table of Accounts which can be edited or deleted.

-

Tips / Troubleshooting

-
    -
  • If you run into problems with PHP header redirection in the Account sample, make sure that you have output_buffering = 4096 in your php.ini file.
  • -
  • To view the SOAP headers and messages, simply call these methods on the connection. -
    -...
    -echo $mySforceConnection->getLastRequest;
    -echo $mySforceConnection->getLastRequestHeaders;
    -echo $mySforceConnection->getLastResponse;
    -echo $mySforceConnection->getLastResponseHeaders;  
    -
  • -
  • Use the AppExchange Explorer to browse the schema and create and test SOQL queries.
  • -
-

Additional Reading

-

AppExchange API Calls

-

Support

-

AppExchange Developer Network

-

Special thanks to Park Walker who provided an initial example.

- - diff --git a/misc/globalconstants.php b/misc/globalconstants.php deleted file mode 100644 index c4060b9..0000000 --- a/misc/globalconstants.php +++ /dev/null @@ -1,10 +0,0 @@ - \ No newline at end of file diff --git a/php.html b/php.html deleted file mode 100644 index a7f01e3..0000000 --- a/php.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - -PHP Setup - - - - -

-

PHP 5 Setup

-

Instructions | API Docs | Apache Setup | PHP Setup | Unit Tests

- -
-

Installation

-

The current version of PHP as this is written is 5.1.2. You can get the current distribution from the download section of the PHP site. You should select the ZIP package rather than the pre-packaged installer to be sure that you get the necessary library files.

-

Once downloaded, extract the Zip file to a directory. This document will assume C:\dev\php5 as your base directory.

-

Build, Configure, and Deploy

-

Configure

-

PHP 5 includes two .ini files to be used as templates for configuration. Rename php.ini-recommended to php.ini.

-

Set extension_dir

-

Search for the string "extension_dir" in php.ini. Uncomment it and set it equal to "c:/dev/php5/ext/". If you have installed into another directory adjust accordingly. PHP requires an explicit path to find your extensions under Windows.

-

Turn on the required extensions

-

In order to use the HTTPS protocol you need to enable some of the PHP extensions. Search for "extension=php_curl.dll". There should be a semi-colon in front of that line - remove it to enable the extension. Scroll down and find "extension=php_openssl.dll" and do the same. Now scroll down a bit further and find "extension=php_sockets.dll". Leave this line alone, but insert a new line below it and type "extension=php_soap.dll" on that line. For some reason, this entry doesn't appear in the default configuration. That's all you need to do for now. Save the file and exit.

-

Install SSL Library files

-

Now you need to copy the SSL library files from the PHP installation directory to your Windows system directory. The two files are libeay32.dll and ssleay32.dll. They need to be copied into the system directory, usually c:\windows\system32 on an XP system. If you happen to have OpenSSL already installed on your computer you may find that these files are already installed. If they are, you should only replace them if the ones from the PHP directory are more recent. Change the extensions on the existing ones by adding '.bak' just to be safe.

-

Update the System Path

-

You'll need to add the PHP installation directory to your system path. Right-click on My Computer on your desktop (or in the Start menu) and select 'Properties'. Click on the Advanced tab and then the 'Environment Variables' button. Scroll down in the System variables list until you find 'Path'. Select it and click the 'Edit' button. Click at the end of the string and make sure that the rest of the string is not highlighted. Type ";c:\php" at the end of the existing string and click OK until all of the windows are closed.

-

 

-

 

- - - diff --git a/samples/userAuth.php b/samples/userAuth.php deleted file mode 100644 index 1f5072e..0000000 --- a/samples/userAuth.php +++ /dev/null @@ -1,52 +0,0 @@ - \ No newline at end of file diff --git a/soapclient/ProxySettings.php b/soapclient/ProxySettings.php deleted file mode 100644 index 96b3bf9..0000000 --- a/soapclient/ProxySettings.php +++ /dev/null @@ -1,33 +0,0 @@ - \ No newline at end of file diff --git a/soapclient/SforceBaseClient.php b/soapclient/SforceBaseClient.php deleted file mode 100644 index e00f4fd..0000000 --- a/soapclient/SforceBaseClient.php +++ /dev/null @@ -1,1272 +0,0 @@ -namespace; - } - - - // clientId specifies which application or toolkit is accessing the - // salesforce.com API. For applications that are certified salesforce.com - // solutions, replace this with the value provided by salesforce.com. - // Otherwise, leave this value as 'phpClient/1.0'. - protected $client_id; - - public function printDebugInfo() { - echo "PHP Toolkit Version: $this->version\r\n"; - echo 'Current PHP version: ' . phpversion(); - echo "\r\n"; - echo 'SOAP enabled: '; - if (extension_loaded('soap')) { - echo 'True'; - } else { - echo 'False'; - } - echo "\r\n"; - echo 'OpenSSL enabled: '; - if (extension_loaded('openssl')) { - echo 'True'; - } else { - echo 'False'; - } - } - - /** - * Connect method to www.salesforce.com - * - * @param string $wsdl Salesforce.com Partner WSDL - * @param object $proxy (optional) proxy settings with properties host, port, - * login and password - * @param array $soap_options (optional) Additional options to send to the - * SoapClient constructor. @see - * http://php.net/manual/en/soapclient.soapclient.php - */ - public function createConnection($wsdl, $proxy=null, $soap_options=array()) { - $phpversion = substr(phpversion(), 0, strpos(phpversion(), '-')); - - $soapClientArray = array_merge(array ( - 'user_agent' => 'salesforce-toolkit-php/'.$this->version, - 'encoding' => 'utf-8', - 'trace' => 1, - 'features' => SOAP_SINGLE_ELEMENT_ARRAYS, - 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP - ), $soap_options); - - // We don't need to parse out any subversion suffix - e.g. "-01" since - // PHP type conversion will ignore it - if (phpversion() < 5.2) { - die("PHP versions older than 5.2 are no longer supported. Please upgrade!"); - } - - if ($proxy != null) { - $proxySettings = array(); - $proxySettings['proxy_host'] = $proxy->host; - $proxySettings['proxy_port'] = $proxy->port; // Use an integer, not a string - $proxySettings['proxy_login'] = $proxy->login; - $proxySettings['proxy_password'] = $proxy->password; - $soapClientArray = array_merge($soapClientArray, $proxySettings); - } - - $this->sforce = $this->getSoapClient($wsdl, $soapClientArray); - - return $this->sforce; - } - - public function setCallOptions($header) { - if ($header != NULL) { - $this->callOptions = new SoapHeader($this->namespace, 'CallOptions', array ( - 'client' => $header->client, - 'defaultNamespace' => $header->defaultNamespace - )); - } else { - $this->callOptions = NULL; - } - } - - /** - * Login to Salesforce.com and starts a client session. - * - * @param string $username Username - * @param string $password Password - * - * @return LoginResult - */ - public function login($username, $password) { - $this->sforce->__setSoapHeaders(NULL); - if ($this->callOptions != NULL) { - $this->sforce->__setSoapHeaders(array($this->callOptions)); - } - if ($this->loginScopeHeader != NULL) { - $this->sforce->__setSoapHeaders(array($this->loginScopeHeader)); - } - $result = $this->sforce->login(array ( - 'username' => $username, - 'password' => $password - )); - $result = $result->result; - $this->_setLoginHeader($result); - - return $result; - } - - /** - * log outs from the salseforce system` - * - * @return LogoutResult - */ - public function logout() { - $this->setHeaders("logout"); - $arg = new stdClass(); - return $this->sforce->logout(); - } - - /** - *invalidate Sessions from the salseforce system` - * - * @return invalidateSessionsResult - */ - public function invalidateSessions() { - $this->setHeaders("invalidateSessions"); - $arg = new stdClass(); - $this->logout(); - return $this->sforce->invalidateSessions(); - } - - /** - * Specifies the session ID returned from the login server after a successful - * login. - */ - protected function _setLoginHeader($loginResult) { - $this->sessionId = $loginResult->sessionId; - $this->setSessionHeader($this->sessionId); - $serverURL = $loginResult->serverUrl; - $this->setEndPoint($serverURL); - } - - /** - * Set the endpoint. - * - * @param string $location Location - */ - public function setEndpoint($location) { - $this->location = $location; - $this->sforce->__setLocation($location); - } - - private function setHeaders($call=NULL) { - $this->sforce->__setSoapHeaders(NULL); - - $header_array = array ( - $this->sessionHeader - ); - - $header = $this->callOptions; - if ($header != NULL) { - array_push($header_array, $header); - } - - if ($call == "create" || - $call == "merge" || - $call == "update" || - $call == "upsert" - ) { - $header = $this->assignmentRuleHeader; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - if ($call == "login") { - $header = $this->loginScopeHeader; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - if ($call == "create" || - $call == "resetPassword" || - $call == "update" || - $call == "upsert" - ) { - $header = $this->emailHeader; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - if ($call == "create" || - $call == "merge" || - $call == "query" || - $call == "retrieve" || - $call == "update" || - $call == "upsert" - ) { - $header = $this->mruHeader; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - if ($call == "delete") { - $header = $this->userTerritoryDeleteHeader; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - if ($call == "query" || - $call == "queryMore" || - $call == "retrieve") { - $header = $this->queryHeader; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - // try to add allowFieldTruncationHeader - $allowFieldTruncationHeaderCalls = array( - 'convertLead', 'create', 'merge', - 'process', 'undelete', 'update', - 'upsert', - ); - if (in_array($call, $allowFieldTruncationHeaderCalls)) { - $header = $this->allowFieldTruncationHeader; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - // try to add localeOptions - if ($call == 'describeSObject' || $call == 'describeSObjects') { - $header = $this->localeOptions; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - // try to add PackageVersionHeader - $packageVersionHeaderCalls = array( - 'convertLead', 'create', 'delete', 'describeGlobal', - 'describeLayout', 'describeSObject', 'describeSObjects', - 'describeSoftphoneLayout', 'describeTabs', 'merge', - 'process', 'query', 'retrieve', 'search', 'undelete', - 'update', 'upsert', - ); - if(in_array($call, $packageVersionHeaderCalls)) { - $header = $this->packageVersionHeader; - if ($header != NULL) { - array_push($header_array, $header); - } - } - - - $this->sforce->__setSoapHeaders($header_array); - } - - public function setAssignmentRuleHeader($header) { - if ($header != NULL) { - $this->assignmentRuleHeader = new SoapHeader($this->namespace, 'AssignmentRuleHeader', array ( - 'assignmentRuleId' => $header->assignmentRuleId, - 'useDefaultRule' => $header->useDefaultRuleFlag - )); - } else { - $this->assignmentRuleHeader = NULL; - } - } - - public function setEmailHeader($header) { - if ($header != NULL) { - $this->emailHeader = new SoapHeader($this->namespace, 'EmailHeader', array ( - 'triggerAutoResponseEmail' => $header->triggerAutoResponseEmail, - 'triggerOtherEmail' => $header->triggerOtherEmail, - 'triggerUserEmail' => $header->triggerUserEmail - )); - } else { - $this->emailHeader = NULL; - } - } - - public function setLoginScopeHeader($header) { - if ($header != NULL) { - $this->loginScopeHeader = new SoapHeader($this->namespace, 'LoginScopeHeader', array ( - 'organizationId' => $header->organizationId, - 'portalId' => $header->portalId - )); - } else { - $this->loginScopeHeader = NULL; - } - //$this->setHeaders('login'); - } - - public function setMruHeader($header) { - if ($header != NULL) { - $this->mruHeader = new SoapHeader($this->namespace, 'MruHeader', array ( - 'updateMru' => $header->updateMruFlag - )); - } else { - $this->mruHeader = NULL; - } - } - - public function setSessionHeader($id) { - if ($id != NULL) { - $this->sessionHeader = new SoapHeader($this->namespace, 'SessionHeader', array ( - 'sessionId' => $id - )); - $this->sessionId = $id; - } else { - $this->sessionHeader = NULL; - $this->sessionId = NULL; - } - } - - public function setUserTerritoryDeleteHeader($header) { - if ($header != NULL) { - $this->userTerritoryDeleteHeader = new SoapHeader($this->namespace, 'UserTerritoryDeleteHeader ', array ( - 'transferToUserId' => $header->transferToUserId - )); - } else { - $this->userTerritoryDeleteHeader = NULL; - } - } - - public function setQueryOptions($header) { - if ($header != NULL) { - $this->queryHeader = new SoapHeader($this->namespace, 'QueryOptions', array ( - 'batchSize' => $header->batchSize - )); - } else { - $this->queryHeader = NULL; - } - } - - public function setAllowFieldTruncationHeader($header) { - if ($header != NULL) { - $this->allowFieldTruncationHeader = new SoapHeader($this->namespace, 'AllowFieldTruncationHeader', array ( - 'allowFieldTruncation' => $header->allowFieldTruncation - ) - ); - } else { - $this->allowFieldTruncationHeader = NULL; - } - } - - public function setLocaleOptions($header) { - if ($header != NULL) { - $this->localeOptions = new SoapHeader($this->namespace, 'LocaleOptions', - array ( - 'language' => $header->language - ) - ); - } else { - $this->localeOptions = NULL; - } - } - - /** - * @param $header - */ - public function setPackageVersionHeader($header) { - if ($header != NULL) { - $headerData = array('packageVersions' => array()); - - foreach ($header->packageVersions as $key => $hdrElem) { - $headerData['packageVersions'][] = array( - 'majorNumber' => $hdrElem->majorNumber, - 'minorNumber' => $hdrElem->minorNumber, - 'namespace' => $hdrElem->namespace, - ); - } - - $this->packageVersionHeader = new SoapHeader($this->namespace, - 'PackageVersionHeader', - $headerData - ); - } else { - $this->packageVersionHeader = NULL; - } - } - - public function getSessionId() { - return $this->sessionId; - } - - public function getLocation() { - return $this->location; - } - - public function getConnection() { - return $this->sforce; - } - - public function getFunctions() { - return $this->sforce->__getFunctions(); - } - - public function getTypes() { - return $this->sforce->__getTypes(); - } - - public function getLastRequest() { - return $this->sforce->__getLastRequest(); - } - - public function getLastRequestHeaders() { - return $this->sforce->__getLastRequestHeaders(); - } - - public function getLastResponse() { - return $this->sforce->__getLastResponse(); - } - - public function getLastResponseHeaders() { - return $this->sforce->__getLastResponseHeaders(); - } - - protected function _convertToAny($fields) { - $anyString = ''; - foreach ($fields as $key => $value) { - $anyString = $anyString . '<' . $key . '>' . $value . ''; - } - return $anyString; - } - - protected function _create($arg) { - $this->setHeaders("create"); - return $this->sforce->create($arg)->result; - } - - protected function _merge($arg) { - $this->setHeaders("merge"); - return $this->sforce->merge($arg)->result; - } - - protected function _process($arg) { - $this->setHeaders(); - return $this->sforce->process($arg)->result; - } - - protected function _update($arg) { - $this->setHeaders("update"); - return $this->sforce->update($arg)->result; - } - - protected function _upsert($arg) { - $this->setHeaders("upsert"); - return $this->sforce->upsert($arg)->result; - } - - public function sendSingleEmail($request) { - if (is_array($request)) { - $messages = array(); - foreach ($request as $r) { - $email = new SoapVar($r, SOAP_ENC_OBJECT, 'SingleEmailMessage', $this->namespace); - array_push($messages, $email); - } - $arg = new stdClass(); - $arg->messages = $messages; - return $this->_sendEmail($arg); - } else { - $backtrace = debug_backtrace(); - die('Please pass in array to this function: '.$backtrace[0]['function']); - } - } - - public function sendMassEmail($request) { - if (is_array($request)) { - $messages = array(); - foreach ($request as $r) { - $email = new SoapVar($r, SOAP_ENC_OBJECT, 'MassEmailMessage', $this->namespace); - array_push($messages, $email); - } - $arg = new stdClass(); - $arg->messages = $messages; - return $this->_sendEmail($arg); - } else { - $backtrace = debug_backtrace(); - die('Please pass in array to this function: '.$backtrace[0]['function']); - } - } - - protected function _sendEmail($arg) { - $this->setHeaders(); - return $this->sforce->sendEmail($arg)->result; - } - - /** - * Converts a Lead into an Account, Contact, or (optionally) an Opportunity. - * - * @param array $leadConverts Array of LeadConvert - * - * @return LeadConvertResult - */ - public function convertLead($leadConverts) { - $this->setHeaders("convertLead"); - $arg = new stdClass(); - $arg->leadConverts = $leadConverts; - return $this->sforce->convertLead($arg); - } - - /** - * Deletes one or more new individual objects to your organization's data. - * - * @param array $ids Array of fields - * @return DeleteResult - */ - public function delete($ids) { - $this->setHeaders("delete"); - $arg = new stdClass(); - $arg->ids = $ids; - return $this->sforce->delete($arg)->result; - } - - /** - * Deletes one or more new individual objects to your organization's data. - * - * @param array $ids Array of fields - * @return DeleteResult - */ - public function undelete($ids) { - $this->setHeaders("undelete"); - $arg = new stdClass(); - $arg->ids = $ids; - return $this->sforce->undelete($arg)->result; - } - - /** - * Deletes one or more new individual objects to your organization's data. - * - * @param array $ids Array of fields - * @return DeleteResult - */ - public function emptyRecycleBin($ids) { - $this->setHeaders(); - $arg = new stdClass(); - $arg->ids = $ids; - return $this->sforce->emptyRecycleBin($arg)->result; - } - - /** - * Process Submit Request for Approval - * - * @param array $processRequestArray - * @return ProcessResult - */ - public function processSubmitRequest($processRequestArray) { - if (is_array($processRequestArray)) { - foreach ($processRequestArray as &$process) { - $process = new SoapVar($process, SOAP_ENC_OBJECT, 'ProcessSubmitRequest', $this->namespace); - } - $arg = new stdClass(); - $arg->actions = $processRequestArray; - return $this->_process($arg); - } else { - $backtrace = debug_backtrace(); - die('Please pass in array to this function: '.$backtrace[0]['function']); - } - } - - /** - * Process Work Item Request for Approval - * - * @param array $processRequestArray - * @return ProcessResult - */ - public function processWorkitemRequest($processRequestArray) { - if (is_array($processRequestArray)) { - foreach ($processRequestArray as &$process) { - $process = new SoapVar($process, SOAP_ENC_OBJECT, 'ProcessWorkitemRequest', $this->namespace); - } - $arg = new stdClass(); - $arg->actions = $processRequestArray; - return $this->_process($arg); - } else { - $backtrace = debug_backtrace(); - die('Please pass in array to this function: '.$backtrace[0]['function']); - } - } - - /** - * Retrieves a list of available objects for your organization's data. - * - * @return DescribeGlobalResult - */ - public function describeGlobal() { - $this->setHeaders("describeGlobal"); - return $this->sforce->describeGlobal()->result; - } - - /** - * Use describeLayout to retrieve information about the layout (presentation - * of data to users) for a given object type. The describeLayout call returns - * metadata about a given page layout, including layouts for edit and - * display-only views and record type mappings. Note that field-level security - * and layout editability affects which fields appear in a layout. - * - * @param string Type Object Type - * @return DescribeLayoutResult - */ - public function describeLayout($type, array $recordTypeIds=null) { - $this->setHeaders("describeLayout"); - $arg = new stdClass(); - $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - if (isset($recordTypeIds) && count($recordTypeIds)) - $arg->recordTypeIds = $recordTypeIds; - return $this->sforce->describeLayout($arg)->result; - } - - /** - * Describes metadata (field list and object properties) for the specified - * object. - * - * @param string $type Object type - * @return DescribsSObjectResult - */ - public function describeSObject($type) { - $this->setHeaders("describeSObject"); - $arg = new stdClass(); - $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - return $this->sforce->describeSObject($arg)->result; - } - - /** - * An array-based version of describeSObject; describes metadata (field list - * and object properties) for the specified object or array of objects. - * - * @param array $arrayOfTypes Array of object types. - * @return DescribsSObjectResult - */ - public function describeSObjects($arrayOfTypes) { - $this->setHeaders("describeSObjects"); - return $this->sforce->describeSObjects($arrayOfTypes)->result; - } - - /** - * The describeTabs call returns information about the standard apps and - * custom apps, if any, available for the user who sends the call, including - * the list of tabs defined for each app. - * - * @return DescribeTabSetResult - */ - public function describeTabs() { - $this->setHeaders("describeTabs"); - return $this->sforce->describeTabs()->result; - } - - /** - * To enable data categories groups you must enable Answers or Knowledge Articles module in - * admin panel, after adding category group and assign it to Answers or Knowledge Articles - * - * @param string $sObjectType sObject Type - * @return DescribeDataCategoryGroupResult - */ - public function describeDataCategoryGroups($sObjectType) { - $this->setHeaders('describeDataCategoryGroups'); - $arg = new stdClass(); - $arg->sObjectType = new SoapVar($sObjectType, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - return $this->sforce->describeDataCategoryGroups($arg)->result; - } - - /** - * Retrieves available category groups along with their data category structure for objects specified in the request. - * - * @param DataCategoryGroupSobjectTypePair $pairs - * @param bool $topCategoriesOnly Object Type - * @return DescribeLayoutResult - */ - public function describeDataCategoryGroupStructures(array $pairs, $topCategoriesOnly) { - $this->setHeaders('describeDataCategoryGroupStructures'); - $arg = new stdClass(); - $arg->pairs = $pairs; - $arg->topCategoriesOnly = new SoapVar($topCategoriesOnly, XSD_BOOLEAN, 'boolean', 'http://www.w3.org/2001/XMLSchema'); - - return $this->sforce->describeDataCategoryGroupStructures($arg)->result; - } - - /** - * Retrieves the list of individual objects that have been deleted within the - * given timespan for the specified object. - * - * @param string $type Ojbect type - * @param date $startDate Start date - * @param date $endDate End Date - * @return GetDeletedResult - */ - public function getDeleted($type, $startDate, $endDate) { - $this->setHeaders("getDeleted"); - $arg = new stdClass(); - $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $arg->startDate = $startDate; - $arg->endDate = $endDate; - return $this->sforce->getDeleted($arg)->result; - } - - /** - * Retrieves the list of individual objects that have been updated (added or - * changed) within the given timespan for the specified object. - * - * @param string $type Ojbect type - * @param date $startDate Start date - * @param date $endDate End Date - * @return GetUpdatedResult - */ - public function getUpdated($type, $startDate, $endDate) { - $this->setHeaders("getUpdated"); - $arg = new stdClass(); - $arg->sObjectType = new SoapVar($type, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $arg->startDate = $startDate; - $arg->endDate = $endDate; - return $this->sforce->getUpdated($arg)->result; - } - - /** - * Executes a query against the specified object and returns data that matches - * the specified criteria. - * - * @param String $query Query String - * @param QueryOptions $queryOptions Batch size limit. OPTIONAL - * @return QueryResult - */ - public function query($query) { - $this->setHeaders("query"); - $raw = $this->sforce->query(array ( - 'queryString' => $query - ))->result; - $QueryResult = new QueryResult($raw); - $QueryResult->setSf($this); // Dependency Injection - return $QueryResult; - } - - /** - * Retrieves the next batch of objects from a query. - * - * @param QueryLocator $queryLocator Represents the server-side cursor that tracks the current processing location in the query result set. - * @param QueryOptions $queryOptions Batch size limit. OPTIONAL - * @return QueryResult - */ - public function queryMore($queryLocator) { - $this->setHeaders("queryMore"); - $arg = new stdClass(); - $arg->queryLocator = $queryLocator; - $raw = $this->sforce->queryMore($arg)->result; - $QueryResult = new QueryResult($raw); - $QueryResult->setSf($this); // Dependency Injection - return $QueryResult; - } - - /** - * Retrieves data from specified objects, whether or not they have been deleted. - * - * @param String $query Query String - * @param QueryOptions $queryOptions Batch size limit. OPTIONAL - * @return QueryResult - */ - public function queryAll($query, $queryOptions = NULL) { - $this->setHeaders("queryAll"); - $raw = $this->sforce->queryAll(array ( - 'queryString' => $query - ))->result; - $QueryResult = new QueryResult($raw); - $QueryResult->setSf($this); // Dependency Injection - return $QueryResult; - } - - - /** - * Retrieves one or more objects based on the specified object IDs. - * - * @param string $fieldList One or more fields separated by commas. - * @param string $sObjectType Object from which to retrieve data. - * @param array $ids Array of one or more IDs of the objects to retrieve. - * @return sObject[] - */ - public function retrieve($fieldList, $sObjectType, $ids) { - $this->setHeaders("retrieve"); - $arg = new stdClass(); - $arg->fieldList = $fieldList; - $arg->sObjectType = new SoapVar($sObjectType, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $arg->ids = $ids; - return $this->sforce->retrieve($arg)->result; - } - - /** - * Executes a text search in your organization's data. - * - * @param string $searchString Search string that specifies the text expression to search for. - * @return SearchResult - */ - public function search($searchString) { - $this->setHeaders("search"); - $arg = new stdClass(); - $arg->searchString = new SoapVar($searchString, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - return new SforceSearchResult($this->sforce->search($arg)->result); - } - - /** - * Retrieves the current system timestamp (GMT) from the Web service. - * - * @return timestamp - */ - public function getServerTimestamp() { - $this->setHeaders("getServerTimestamp"); - return $this->sforce->getServerTimestamp()->result; - } - - public function getUserInfo() { - $this->setHeaders("getUserInfo"); - return $this->sforce->getUserInfo()->result; - } - - /** - * Sets the specified user's password to the specified value. - * - * @param string $userId ID of the User. - * @param string $password New password - */ - public function setPassword($userId, $password) { - $this->setHeaders("setPassword"); - $arg = new stdClass(); - $arg->userId = new SoapVar($userId, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $arg->password = $password; - return $this->sforce->setPassword($arg); - } - - /** - * Changes a user's password to a system-generated value. - * - * @param string $userId Id of the User - * @return password - */ - public function resetPassword($userId) { - $this->setHeaders("resetPassword"); - $arg = new stdClass(); - $arg->userId = new SoapVar($userId, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - return $this->sforce->resetPassword($arg)->result; - } -} - -class SforceSearchResult { - public $searchRecords; - - public function __construct($response) { - - if($response instanceof SforceSearchResult) { - $this->searchRecords = $response->searchRecords; - } else { - $this->searchRecords = array(); - if (isset($response->searchRecords)) { - if (is_array($response->searchRecords)) { - foreach ($response->searchRecords as $record) { - $sobject = new SObject($record->record); - array_push($this->searchRecords, $sobject); - }; - } else { - $sobject = new SObject($response->searchRecords->record); - array_push($this->records, $sobject); - } - } - } - } -} - -class QueryResult implements Iterator{ - public $queryLocator; - public $done; - public $records; - public $size; - - public $pointer; // Current iterator location - private $sf; // SOAP Client - - public function __construct($response) { - $this->queryLocator = $response->queryLocator; - $this->done = $response->done; - $this->size = $response->size; - - $this->pointer = 0; - $this->sf = false; - - if($response instanceof QueryResult) { - $this->records = $response->records; - } else { - $this->records = array(); - if (isset($response->records)) { - if (is_array($response->records)) { - foreach ($response->records as $record) { - array_push($this->records, $record); - }; - } else { - array_push($this->records, $record); - } - } - } - } - - public function setSf(SforceBaseClient $sf) { $this->sf = $sf; } // Dependency Injection - - // Basic Iterator implementation functions - public function rewind() { $this->pointer = 0; } - public function next() { ++$this->pointer; } - public function key() { return $this->pointer; } - public function current() { return new SObject($this->records[$this->pointer]); } - - public function valid() { - while ($this->pointer >= count($this->records)) { - // Pointer is larger than (current) result set; see if we can fetch more - if ($this->done === false) { - if ($this->sf === false) throw new Exception("Dependency not met!"); - $response = $this->sf->queryMore($this->queryLocator); - $this->records = array_merge($this->records, $response->records); // Append more results - $this->done = $response->done; - $this->queryLocator = $response->queryLocator; - } else { - return false; // No more records to fetch - } - } - if (isset($this->records[$this->pointer])) return true; - - throw new Exception("QueryResult has gaps in the record data?"); - } -} - -class SObject { - public $type; - public $fields; -// public $sobject; - - public function __construct($response=NULL) { - if (!isset($response) && !$response) { - return; - } - - foreach ($response as $responseKey => $responseValue) { - if (in_array($responseKey, array('Id', 'type', 'any'))) { - continue; - } - $this->$responseKey = $responseValue; - } - - if (isset($response->Id)) { - $this->Id = is_array($response->Id) ? $response->Id[0] : $response->Id; - } - - if (isset($response->type)) { - $this->type = $response->type; - } - - if (isset($response->any)) { - try { - //$this->fields = $this->convertFields($response->any); - // If ANY is an object, instantiate another SObject - if ($response->any instanceof stdClass) { - if ($this->isSObject($response->any)) { - $anArray = array(); - $sobject = new SObject($response->any); - $anArray[] = $sobject; - $this->sobjects = $anArray; - } else { - // this is for parent to child relationships - $this->queryResult = new QueryResult($response->any); - } - - } else { - // If ANY is an array - if (is_array($response->any)) { - // Loop through each and perform some action. - $anArray = array(); - - // Modify the foreach to have $key=>$value - // Added on 28th April 2008 - foreach ($response->any as $key=>$item) { - if ($item instanceof stdClass) { - if ($this->isSObject($item)) { - $sobject = new SObject($item); - // make an associative array instead of a numeric one - $anArray[$key] = $sobject; - } else { - // this is for parent to child relationships - //$this->queryResult = new QueryResult($item); - if (!isset($this->queryResult)) { - $this->queryResult = array(); - } - array_push($this->queryResult, new QueryResult($item)); - } - } else { - //$this->fields = $this->convertFields($item); - - if (strpos($item, 'sf:') === false) { - $currentXmlValue = sprintf('%s', $key, $item, $key); - } else { - $currentXmlValue = $item; - } - - if (!isset($fieldsToConvert)) { - $fieldsToConvert = $currentXmlValue; - } else { - $fieldsToConvert .= $currentXmlValue; - } - } - } - - if (isset($fieldsToConvert)) { - // If this line is commented, then the fields becomes a stdclass object and does not have the name variable - // In this case the foreach loop on line 252 runs successfuly - $this->fields = $this->convertFields($fieldsToConvert); - } - - if (sizeof($anArray) > 0) { - // To add more variables to the the top level sobject - foreach ($anArray as $key=>$children_sobject) { - $this->fields->$key = $children_sobject; - } - //array_push($this->fields, $anArray); - // Uncommented on 28th April since all the sobjects have now been moved to the fields - //$this->sobjects = $anArray; - } - - /* - $this->fields = $this->convertFields($response->any[0]); - if (isset($response->any[1]->records)) { - $anArray = array(); - if ($response->any[1]->size == 1) { - $records = array ( - $response->any[1]->records - ); - } else { - $records = $response->any[1]->records; - } - foreach ($records as $record) { - $sobject = new SObject($record); - array_push($anArray, $sobject); - } - $this->sobjects = $anArray; - } else { - $anArray = array(); - $sobject = new SObject($response->any[1]); - array_push($anArray, $sobject); - $this->sobjects = $anArray; - } - */ - } else { - $this->fields = $this->convertFields($response->any); - } - } - } catch (Exception $e) { - var_dump('exception: ', $e); - } - } - } - - function __get($name) { return (isset($this->fields->$name))? $this->fields->$name : false; } - function __isset($name) { return isset($this->fields->$name); } - - /** - * Parse the "any" string from an sObject. First strip out the sf: and then - * enclose string with . Load the string using - * simplexml_load_string and return an array that can be traversed. - */ - function convertFields($any) { - $str = preg_replace('{sf:}', '', $any); - - $array = $this->xml2array(''.$str.'', 2); - - $xml = new stdClass(); - if (!count($array['Object'])) - return $xml; - - foreach ($array['Object'] as $k=>$v) { - $xml->$k = $v; - } - - //$new_string = ''.$new_string.''; - //$new_string = $new_string; - //$xml = simplexml_load_string($new_string); - return $xml; - } - - /** - * - * @param string $contents - * @return array - */ - function xml2array($contents, $get_attributes=1) { - if(!$contents) return array(); - - if(!function_exists('xml_parser_create')) { - //print "'xml_parser_create()' function not found!"; - return array('not found'); - } - //Get the XML parser of PHP - PHP must have this module for the parser to work - $parser = xml_parser_create(); - xml_parser_set_option( $parser, XML_OPTION_CASE_FOLDING, 0 ); - xml_parser_set_option( $parser, XML_OPTION_SKIP_WHITE, 1 ); - xml_parse_into_struct( $parser, $contents, $xml_values ); - xml_parser_free( $parser ); - - if(!$xml_values) return;//Hmm... - - //Initializations - $xml_array = array(); - $parents = array(); - $opened_tags = array(); - $arr = array(); - - $current = &$xml_array; - - //Go through the tags. - foreach($xml_values as $data) { - unset($attributes,$value);//Remove existing values, or there will be trouble - - //This command will extract these variables into the foreach scope - // tag(string), type(string), level(int), attributes(array). - extract($data);//We could use the array by itself, but this cooler. - - $result = ''; - if ($get_attributes) { - switch ($get_attributes) { - case 1: - $result = array(); - if(isset($value)) $result['value'] = $value; - - //Set the attributes too. - if(isset($attributes)) { - foreach($attributes as $attr => $val) { - if($get_attributes == 1) $result['attr'][$attr] = $val; //Set all the attributes in a array called 'attr' - /** :TODO: should we change the key name to '_attr'? Someone may use the tagname 'attr'. Same goes for 'value' too */ - } - } - break; - - case 2: - $result = array(); - if (isset($value)) { - $result = $value; - } - - //Check for nil and ignore other attributes. - if (isset($attributes) && isset($attributes['xsi:nil']) && !strcasecmp($attributes['xsi:nil'], 'true')) { - $result = null; - } - break; - } - } elseif (isset($value)) { - $result = $value; - } - - //See tag status and do the needed. - if($type == "open") {//The starting of the tag '' - $parent[$level-1] = &$current; - - if(!is_array($current) or (!in_array($tag, array_keys($current)))) { //Insert New tag - $current[$tag] = $result; - $current = &$current[$tag]; - - } else { //There was another element with the same tag name - if(isset($current[$tag][0])) { - array_push($current[$tag], $result); - } else { - $current[$tag] = array($current[$tag],$result); - } - $last = count($current[$tag]) - 1; - $current = &$current[$tag][$last]; - } - - } elseif($type == "complete") { //Tags that ends in 1 line '' - //See if the key is already taken. - if(!isset($current[$tag])) { //New Key - $current[$tag] = $result; - - } else { //If taken, put all things inside a list(array) - if((is_array($current[$tag]) and $get_attributes == 0)//If it is already an array... - or (isset($current[$tag][0]) and is_array($current[$tag][0]) and ($get_attributes == 1 || $get_attributes == 2))) { - array_push($current[$tag],$result); // ...push the new element into that array. - } else { //If it is not an array... - $current[$tag] = array($current[$tag],$result); //...Make it an array using using the existing value and the new value - } - } - - } elseif($type == 'close') { //End of tag '' - $current = &$parent[$level-1]; - } - } - - return($xml_array); - } - - /* - * If the stdClass has a done, we know it is a QueryResult - */ - function isQueryResult($param) { - return isset($param->done); - } - - /* - * If the stdClass has a type, we know it is an SObject - */ - function isSObject($param) { - return isset($param->type); - } -} diff --git a/soapclient/SforceEmail.php b/soapclient/SforceEmail.php deleted file mode 100644 index b0b37a4..0000000 --- a/soapclient/SforceEmail.php +++ /dev/null @@ -1,130 +0,0 @@ -bccSender = $bccSender; - } - - public function setEmailPriority($priority) { - $this->emailPriority = $priority; - } - - public function setSubject($subject) { - $this->subject = $subject; - } - - public function setSaveAsActivity($saveAsActivity) { - $this->saveAsActivity = $saveAsActivity; - } - - public function setReplyTo($replyTo) { - $this->replyTo = $replyTo; - } - - public function setUseSignature($useSignature) { - $this->useSignature = $useSignature; - } - - public function setSenderDisplayName($name) { - $this->senderDisplayName = $name; - } -} - -class SingleEmailMessage extends Email { - public function __construct() {} - - - public function setBccAddresses($addresses) { - $this->bccAddresses = $addresses; - } - public $ccAddresses; - - public function setCcAddresses($addresses) { - $this->ccAddresses = $addresses; - } - - public function setCharset($charset) { - $this->charset = $charset; - } - - public function setHtmlBody($htmlBody) { - $this->htmlBody = $htmlBody; - } - - public function setOrgWideEmailAddressId($orgWideEmailAddressId) { - $this->orgWideEmailAddressId = $orgWideEmailAddressId; - } - - public function setPlainTextBody($plainTextBody) { - $this->plainTextBody = $plainTextBody; - } - - public function setTargetObjectId($targetObjectId) { - $this->targetObjectId = $targetObjectId; - } - - public function setTemplateId($templateId) { - $this->templateId = $templateId; - } - - public function setToAddresses($array) { - $this->toAddresses = $array; - } - - public function setWhatId($whatId) { - $this->whatId = $whatId; - } - - public function setFileAttachments($array) { - $this->fileAttachments = $array; - } - - public function setDocumentAttachments($array) { - $this->documentAttachments = $array; - } -} - -class MassEmailMessage extends Email { - public function setTemplateId($templateId) { - $this->templateId = $templateId; - } - - public function setWhatIds($array) { - $this->whatIds = $array; - } - - public function setTargetObjectIds($array) { - $this->targetObjectIds = $array; - } -} -?> \ No newline at end of file diff --git a/soapclient/SforceEnterpriseClient.php b/soapclient/SforceEnterpriseClient.php deleted file mode 100644 index 3aaa976..0000000 --- a/soapclient/SforceEnterpriseClient.php +++ /dev/null @@ -1,159 +0,0 @@ -namespace = self::ENTERPRISE_NAMESPACE; - } - - /** - * Adds one or more new individual objects to your organization's data. - * @param array $sObjects Array of one or more sObjects (up to 200) to create. - * @param AssignmentRuleHeader $assignment_header is optional. Defaults to NULL - * @param MruHeader $mru_header is optional. Defaults to NULL - * @return SaveResult - */ - public function create($sObjects, $type) { - foreach ($sObjects as &$sObject) { - // FIX for fieldsToNull issue - allow array in fieldsToNull (STEP #1) - $xmlStr = ''; - if(isset($sObject->fieldsToNull) && is_array($sObject->fieldsToNull)) { - foreach($sObject->fieldsToNull as $fieldToNull) { - $xmlStr .= '' . $fieldToNull . ''; - } - } - // ------ - - $sObject = new SoapVar($sObject, SOAP_ENC_OBJECT, $type, $this->namespace); - - // FIX for fieldsToNull issue - allow array in fieldsToNull (STEP #2) - if($xmlStr != '') { - $sObject->enc_value->fieldsToNull = new SoapVar(new SoapVar($xmlStr, XSD_ANYXML), SOAP_ENC_ARRAY); - } - // ------ - } - $arg = $sObjects; - - return parent::_create(new SoapParam($arg, "sObjects")); - } - - /** - * Updates one or more new individual objects to your organization's data. - * @param array sObjects Array of sObjects - * @param AssignmentRuleHeader $assignment_header is optional. Defaults to NULL - * @param MruHeader $mru_header is optional. Defaults to NULL - * @return UpdateResult - */ - public function update($sObjects, $type, $assignment_header = NULL, $mru_header = NULL) { - - foreach ($sObjects as &$sObject) { - - // FIX for fieldsToNull issue - allow array in fieldsToNull (STEP #1) - $xmlStr = ''; - if(isset($sObject->fieldsToNull) && is_array($sObject->fieldsToNull)) { - foreach($sObject->fieldsToNull as $fieldToNull) { - $xmlStr .= '' . $fieldToNull . ''; - } - } - // ------ - - $sObject = new SoapVar($sObject, SOAP_ENC_OBJECT, $type, $this->namespace); - - // FIX for fieldsToNull issue - allow array in fieldsToNull (STEP #2) - if($xmlStr != '') { - $sObject->enc_value->fieldsToNull = new SoapVar(new SoapVar($xmlStr, XSD_ANYXML), SOAP_ENC_ARRAY); - } - // ------ - } - $arg = new stdClass; - $arg->sObjects = $sObjects; - return parent::_update($arg); - } - - /** - * Creates new objects and updates existing objects; uses a custom field to - * determine the presence of existing objects. In most cases, we recommend - * that you use upsert instead of create because upsert is idempotent. - * Available in the API version 7.0 and later. - * - * @param string $ext_Id External Id - * @param array $sObjects Array of sObjects - * @param string $type The type of objects being upserted. - * @return UpsertResult - */ - public function upsert($ext_Id, $sObjects, $type = 'Contact') { - $arg = new stdClass; - $arg->externalIDFieldName = new SoapVar($ext_Id, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - foreach ($sObjects as &$sObject) { - // FIX for fieldsToNull issue - allow array in fieldsToNull (STEP #1) - $xmlStr = ''; - if(isset($sObject->fieldsToNull) && is_array($sObject->fieldsToNull)) { - foreach($sObject->fieldsToNull as $fieldToNull) { - $xmlStr .= '' . $fieldToNull . ''; - } - } - // ------ - - $sObject = new SoapVar($sObject, SOAP_ENC_OBJECT, $type, $this->namespace); - - // FIX for fieldsToNull issue - allow array in fieldsToNull (STEP #2) - if($xmlStr != '') { - $sObject->enc_value->fieldsToNull = new SoapVar(new SoapVar($xmlStr, XSD_ANYXML), SOAP_ENC_ARRAY); - } - // ------ - } - $arg->sObjects = $sObjects; - return parent::_upsert($arg); - } - - /** - * Merge records - * - * @param stdclass $mergeRequest - * @param String $type - * @return unknown - */ - public function merge($mergeRequest, $type) { - $mergeRequest->masterRecord = new SoapVar($mergeRequest->masterRecord, SOAP_ENC_OBJECT, $type, $this->namespace); - $arg = new stdClass; - $arg->request = new SoapVar($mergeRequest, SOAP_ENC_OBJECT, 'MergeRequest', $this->namespace); - return parent::_merge($arg); - } -} -?> diff --git a/soapclient/SforceFieldTypes.php b/soapclient/SforceFieldTypes.php deleted file mode 100644 index 5ed2d36..0000000 --- a/soapclient/SforceFieldTypes.php +++ /dev/null @@ -1,45 +0,0 @@ - \ No newline at end of file diff --git a/soapclient/SforceHeaderOptions.php b/soapclient/SforceHeaderOptions.php deleted file mode 100644 index 77e3f85..0000000 --- a/soapclient/SforceHeaderOptions.php +++ /dev/null @@ -1,206 +0,0 @@ -client = $client; - $this->defaultNamespace = $defaultNamespace; - } -} - - - -/** - * To be used with Create and Update operations. - * Only one attribute can be set at a time. - * - * @package SalesforceSoapClient - */ -class AssignmentRuleHeader { - // int - public $assignmentRuleId; - // boolean - public $useDefaultRuleFlag; - - /** - * Constructor. Only one param can be set. - * - * @param int $id AssignmentRuleId - * @param boolean $flag UseDefaultRule flag - */ - public function __construct($id = NULL, $flag = NULL) { - if ($id != NULL) { - $this->assignmentRuleId = $id; - } - if ($flag != NULL) { - $this->useDefaultRuleFlag = $flag; - } - } -} - -/** - * To be used with Create and Update operations. - * - * @package SalesforceSoapClient - */ -class MruHeader { - // boolean that Indicates whether to update the list of most recently used items (True) or not (False). - public $updateMruFlag; - - public function __construct($bool) { - $this->updateMruFlag = $bool; - } -} - -/** - * To be used with the Login operation. - * - * @package SalesforceSoapClient - */ -class LoginScopeHeader { - // boolean that Indicates whether to update the list of most recently used items (True) or not (False). - public $organizationId; - public $portalId; - - public function __construct($orgId = NULL, $portalId = NULL) { - $this->organizationId = $orgId; - $this->portalId = $portalId; - } -} - -/** - * To be used with Retrieve, Query, and QueryMore operations. - * - * @package SalesforceSoapClient - */ -class QueryOptions { - // int - Batch size for the number of records returned in a query or queryMore call. The default is 500; the minimum is 200, and the maximum is 2,000. - public $batchSize; - - /** - * Constructor - * - * @param int $limit Batch size - */ - public function __construct($limit) { - $this->batchSize = $limit; - } -} - -class EmailHeader { - public $triggerAutoResponseEmail; - public $triggerOtherEmail; - public $triggerUserEmail; - - public function __construct($triggerAutoResponseEmail = false, $triggerOtherEmail = false, $triggerUserEmail = false) { - $this->triggerAutoResponseEmail = $triggerAutoResponseEmail; - $this->triggerOtherEmail = $triggerOtherEmail; - $this->triggerUserEmail = $triggerUserEmail; - } -} - -class UserTerritoryDeleteHeader { - public $transferToUserId; - - public function __construct($transferToUserId) { - $this->transferToUserId = $transferToUserId; - } -} - -class AllowFieldTruncationHeader { - public $allowFieldTruncation; - - public function __construct($allowFieldTruncation) { - $this->allowFieldTruncation = $allowFieldTruncation; - } -} - -class LocaleOptions { - public $language; - - /** - * Class constructor. - * - * @param string $language - * @return void - */ - public function __construct($language) { - $this->language = $language; - } -} - -class PackageVersionHeader { - /** - * @var array $packageVersions - */ - public $packageVersions; - - /** - * Class constructor. - * - * @param array $packageVersions - * @return void - */ - public function __construct($packageVersions) { - $this->packageVersions = $packageVersions; - } -} - -/** - * This class is used by PackageVersionHeader - * @see PackageVersionHeader - */ -class PackageVersion { - public $majorNumber; - public $minorNumber; - public $namespace; - - /** - * Class constructor. - * - * @param int $majorNumber - * @param int $minorNumber - * @param string $namespace - * @return void - */ - public function __construct($majorNumber, $minorNumber, $namespace) { - $this->majorNumber = $majorNumber; - $this->minorNumber = $minorNumber; - $this->namespace = $namespace; - } -} - -?> diff --git a/soapclient/SforceMetaObject.php b/soapclient/SforceMetaObject.php deleted file mode 100644 index 5c045af..0000000 --- a/soapclient/SforceMetaObject.php +++ /dev/null @@ -1,204 +0,0 @@ -deploymentStatus = $deploymentStatus; - } - - public function setDescription($description) { - $this->description = $description; - } - - public function setEnableActivities($enableActivities) { - $this->enableActivities = $enableActivities; - } - - public function setEnableDivisions($enableDivisions) { - $this->enableDivisions = $enableDivisions; - } - - public function setEnableHistory($enableHistory) { - $this->enableHistory = $enableHistory; - } - - public function setEnableReports($enableReports) { - $this->enableReports = $enableReports; - } - - public function setFields($fields) { - $this->fields = $fields; - } - - public function setFullName($fullName) { - $this->fullName = $fullName; - } - - public function setGender($gender) { - $this->gender = $gender; - } - - public function setHousehold($household) { - $this->household = $household; - } - - public function setLabel($label) { - $this->label = $label; - } - - public function setNameField($nameField) { - $this->nameField = $nameField; - } - - public function setPluralLabel($pluralLabel) { - $this->pluralLabel = $pluralLabel; - } - - public function setSharingModel($sharingModel) { - $this->sharingModel = $sharingModel; - } - - public function setStartsWith($startsWith) { - $this->startsWith = $startsWith; - } -} - -class SforceCustomField { - public function setCaseSensitive($caseSensitive) { - $this->caseSensitive = $caseSensitive; - } - - public function setDefaultValue($defaultValue) { - $this->defaultValue = $defaultValue; - } - - public function setDescription($description) { - $this->description = $description; - } - - public function setDisplayFormat($displayFormat) { - $this->displayFormat = $displayFormat; - } - - public function setExternalId($externalId) { - $this->externalId = $externalId; - } - - public function setFormula($formula) { - $this->formula = $formula; - } - - public function setFormulaTreatBlankAs($formulaTreatBlankAs) { - $this->formulaTreatBlankAs = $formulaTreatBlankAs; - } - - public function setFullName($fullName) { - $this->fullName = $fullName; - } - - public function setInlineHelpText($inlineHelpText) { - $this->inlineHelpText = $inlineHelpText; - } - - public function setLabel($label) { - $this->label = $label; - } - - public function setLength($length) { - $this->length = $length; - } - - public function setMaskChar($maskChar) { - $this->maskChar = $maskChar; - } - - public function setMaskType($maskType) { - $this->maskType = $maskType; - } - - public function setPicklist($picklist) { - $this->picklist = $picklist; - } - - public function setPopulateExistingRows($populateExistingRows) { - $this->populateExistingRows = $populateExistingRows; - } - - public function setPrecision($precision) { - $this->precision = $precision; - } - - public function setReferenceTo($referenceTo) { - $this->referenceTo = $referenceTo; - } - - public function setRelationshipName($relationshipName) { - $this->relationshipName = $relationshipName; - } - - public function setRequired($required) { - $this->required = $required; - } - - public function setScale($scale) { - $this->scale = $scale; - } - - public function setStartingNumber($startingNumber) { - $this->startingNumber = $startingNumber; - } - - public function setSummarizeField($summarizeField) { - $this->summarizeField = $summarizeField; - } - - public function setSummaryFilterItems($summaryFilterItems) { - $this->summaryFilterItems = $summaryFilterItems; - } - - public function setSummaryForeignKey($summaryForeignKey) { - $this->summaryForeignKey = $summaryForeignKey; - } - - public function setSummaryOperation($summaryOperation) { - $this->summaryOperation = $summaryOperation; - } - - public function setType($type) { - $this->type = $type; - } - - public function setUnique($unique) { - $this->unique = $unique; - } - - public function setVisibleLines($visibleLines) { - $this->visibleLines = $visibleLines; - } -} -?> diff --git a/soapclient/SforceMetadataClient.php b/soapclient/SforceMetadataClient.php deleted file mode 100644 index 7477d72..0000000 --- a/soapclient/SforceMetadataClient.php +++ /dev/null @@ -1,175 +0,0 @@ - '5.1.2') { - if ($phpversion > '5.1.2') { - $soapClientArray = array ( - 'user_agent' => 'salesforce-toolkit-php/'.$this->version, - 'encoding' => 'utf-8', - 'trace' => 1, - 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP, - 'sessionId' => $loginResult->sessionId - ); - } else { - $soapClientArray = array ( - 'user_agent' => 'salesforce-toolkit-php/'.$this->version, - 'encoding' => 'utf-8', - 'trace' => 1, - 'sessionId' => $loginResult->sessionId - ); - } - $this->sforce = new SoapClient($wsdl,$soapClientArray); - //$this->sforce->__setSoapHeaders($header_array); - - - $sessionVar = array( - 'sessionId' => new SoapVar($loginResult->sessionId, XSD_STRING) - ); - - $headerBody = new SoapVar($sessionVar, SOAP_ENC_OBJECT); - - $session_header = new SoapHeader($this->namespace, 'SessionHeader', $headerBody, false); - - $header_array = array ( - $session_header - ); - - $this->sforce->__setSoapHeaders($header_array); - - $this->sforce->__setLocation($loginResult->metadataServerUrl); - return $this->sforce; - } - - /** - * Specifies the session ID returned from the login server after a successful - * login. - */ - protected function _setLoginHeader($loginResult) { - $this->sessionId = $loginResult->sessionId; - $this->setSessionHeader($this->sessionId); - $serverURL = $loginResult->serverUrl; - $this->setEndPoint($serverURL); - } - - /** - * Set the endpoint. - * - * @param string $location Location - */ - public function setEndpoint($location) { - $this->location = $location; - $this->sforce->__setLocation($location); - } - - /** - * Set the Session ID - * - * @param string $sessionId Session ID - */ - public function setSessionHeader($sessionId) { - $this->sforce->__setSoapHeaders(NULL); - $session_header = new SoapHeader($this->namespace, 'SessionHeader', array ( - 'sessionId' => $sessionId - )); - $this->sessionId = $sessionId; - $header_array = array ( - $session_header - ); - $this->_setClientId($header_array); - $this->sforce->__setSoapHeaders($header_array); - } - - private function getObjtype($obj) { - $classArray = explode('\\', get_class($obj)); - $objtype = array_pop($classArray); - if (strpos($objtype, 'Sforce', 0) === 0) { - $objtype = substr($objtype, 6); - } - return $objtype; - } - - public function create($obj) { - $encodedObj = new stdClass(); - $encodedObj->metadata = new SoapVar($obj, SOAP_ENC_OBJECT, $this->getObjtype($obj), $this->namespace); - - return $this->sforce->create($encodedObj); - } - - public function update($obj) { - $encodedObj = new stdClass(); - $encodedObj->UpdateMetadata = $obj; - $encodedObj->UpdateMetadata->metadata = new SoapVar($obj->metadata, SOAP_ENC_OBJECT, $this->getObjtype($obj->metadata), $this->namespace); - - return $this->sforce->update($encodedObj); - } - - public function delete($obj) { - $encodedObj = new stdClass(); - $encodedObj->metadata = new SoapVar($obj, SOAP_ENC_OBJECT, $this->getObjtype($obj), $this->namespace); - - return $this->sforce->delete($encodedObj); - } - - public function checkStatus($ids) { - return $this->sforce->checkStatus($ids); - } - - public function getLastRequest() { - return $this->sforce->__getLastRequest(); - } - - public function getLastRequestHeaders() { - return $this->sforce->__getLastRequestHeaders(); - } - - public function getLastResponse() { - return $this->sforce->__getLastResponse(); - } - - public function getLastResponseHeaders() { - return $this->sforce->__getLastResponseHeaders(); - } - - -} - - -?> diff --git a/soapclient/SforcePartnerClient.php b/soapclient/SforcePartnerClient.php deleted file mode 100644 index 66bb75a..0000000 --- a/soapclient/SforcePartnerClient.php +++ /dev/null @@ -1,226 +0,0 @@ -loadXML($response); - - $nodeList = $dom->getElementsByTagName('NewValue'); - foreach ($nodeList as $node) { - $node->removeAttributeNS('http://www.w3.org/2001/XMLSchema-instance', 'type'); - } - $nodeList = $dom->getElementsByTagName('OldValue'); - foreach ($nodeList as $node) { - $node->removeAttributeNS('http://www.w3.org/2001/XMLSchema-instance', 'type'); - } - - return $dom->saveXML(); - } - } - -/** - * SforcePartnerClient class. - * - * @package SalesforceSoapClient - */ -class SforcePartnerClient extends SforceBaseClient { - const PARTNER_NAMESPACE = 'urn:partner.soap.sforce.com'; - - function SforcePartnerClient() { - $this->namespace = self::PARTNER_NAMESPACE; - } - - protected function getSoapClient($wsdl, $options) { - // Workaround an issue in parsing OldValue and NewValue in histories - return new SforceSoapClient($wsdl, $options); - } - - /** - * Adds one or more new individual objects to your organization's data. - * @param array $sObjects Array of one or more sObjects (up to 200) to create. - * @return SaveResult - */ - public function create($sObjects) { - $arg = new stdClass; - foreach ($sObjects as $sObject) { - if (isset ($sObject->fields)) { - $sObject->any = $this->_convertToAny($sObject->fields); - } - } - $arg->sObjects = $sObjects; - return parent::_create($arg); - } - - /** - * Merge records - * - * @param stdclass $mergeRequest - * @param String $type - * @return mixed - */ - public function merge($mergeRequest) { - if (isset($mergeRequest->masterRecord)) { - if (isset($mergeRequest->masterRecord->fields)) { - $mergeRequest->masterRecord->any = $this->_convertToAny($mergeRequest->masterRecord->fields); - } - //return parent::merge($mergeRequest, $type); - $arg->request = $mergeRequest; - return $this->_merge($arg); - } - } - - /** - * - * @param array $request - */ - public function sendSingleEmail($request) { - if (is_array($request)) { - $messages = array(); - foreach ($request as $r) { - $email = new SoapVar($r, SOAP_ENC_OBJECT, 'SingleEmailMessage', $this->namespace); - array_push($messages, $email); - } - $arg->messages = $messages; - return parent::_sendEmail($arg); - } else { - $backtrace = debug_backtrace(); - die('Please pass in array to this function: '.$backtrace[0]['function']); - } - } - - /** - * - * @param array $request - */ - public function sendMassEmail($request) { - if (is_array($request)) { - $messages = array(); - foreach ($request as $r) { - $email = new SoapVar($r, SOAP_ENC_OBJECT, 'MassEmailMessage', $this->namespace); - array_push($messages, $email); - } - $arg->messages = $messages; - return parent::_sendEmail($arg); - } else { - $backtrace = debug_backtrace(); - die('Please pass in array to this function: '.$backtrace[0]['function']); - } - } - - /** - * Updates one or more new individual objects to your organization's data. - * @param array sObjects Array of sObjects - * @return UpdateResult - */ - public function update($sObjects) { - $arg = new stdClass; - foreach ($sObjects as $sObject) { - if (isset($sObject->fields)) { - $sObject->any = $this->_convertToAny($sObject->fields); - } - } - $arg->sObjects = $sObjects; - return parent::_update($arg); - } - - /** - * Creates new objects and updates existing objects; uses a custom field to - * determine the presence of existing objects. In most cases, we recommend - * that you use upsert instead of create because upsert is idempotent. - * Available in the API version 7.0 and later. - * - * @param string $ext_Id External Id - * @param array $sObjects Array of sObjects - * @return UpsertResult - */ - public function upsert($ext_Id, $sObjects) { - // $this->_setSessionHeader(); - $arg = new stdClass; - $arg->externalIDFieldName = new SoapVar($ext_Id, XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - foreach ($sObjects as $sObject) { - if (isset ($sObject->fields)) { - $sObject->any = $this->_convertToAny($sObject->fields); - } - } - $arg->sObjects = $sObjects; - return parent::_upsert($arg); - } - - /** - * @param string $fieldList - * @param string $sObjectType - * @param array $ids - * @return string - */ - public function retrieve($fieldList, $sObjectType, $ids) { - return $this->_retrieveResult(parent::retrieve($fieldList, $sObjectType, $ids)); - } - - /** - * - * @param mixed $response - * @return array - */ - private function _retrieveResult($response) { - $arr = array(); - if(is_array($response)) { - foreach($response as $r) { - $sobject = new SObject($r); - array_push($arr,$sobject); - }; - }else { - $sobject = new SObject($response); - array_push($arr, $sobject); - } - return $arr; - } - -} \ No newline at end of file diff --git a/soapclient/SforceProcessRequest.php b/soapclient/SforceProcessRequest.php deleted file mode 100644 index 851c3f5..0000000 --- a/soapclient/SforceProcessRequest.php +++ /dev/null @@ -1,40 +0,0 @@ - \ No newline at end of file diff --git a/soapclient/enterprise.wsdl.xml b/soapclient/enterprise.wsdl.xml deleted file mode 100644 index 06b1c74..0000000 --- a/soapclient/enterprise.wsdl.xml +++ /dev/null @@ -1,6302 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Login to the Salesforce.com SOAP Api - - - - - - - - - Describe an sObject - - - - - - - - Describe a number sObjects - - - - - - - - Describe the Global state - - - - - - - Describe all the data category groups available for a given set of types - - - - - - - - Describe the data category group structures for a given set of pair of types and data category group name - - - - - - - - Describe the layout of an sObject - - - - - - - - - Describe the layout of the SoftPhone - - - - - - - Describe the tabs that appear on a users page - - - - - - - Create a set of new sObjects - - - - - - - - - - Update a set of sObjects - - - - - - - - - - Update or insert a set of sObjects based on object id - - - - - - - - - - Merge and update a set of sObjects based on object id - - - - - - - - - - Delete a set of sObjects - - - - - - - Undelete a set of sObjects - - - - - - - Empty a set of sObjects from the recycle bin - - - - - - - Get a set of sObjects - - - - - - - - - - - Submit an entity to a workflow process or process a workitem - - - - - - - - convert a set of leads - - - - - - - Logout the current user, invalidating the current session. - - - - - - - Logs out and invalidates session ids - - - - - - - Get the IDs for deleted sObjects - - - - - - - - Get the IDs for updated sObjects - - - - - - - - Create a Query Cursor - - - - - - - - - - - - Create a Query Cursor, including deleted sObjects - - - - - - - - - - - - Gets the next batch of sObjects from a query - - - - - - - - - Search for sObjects - - - - - - - - - - Gets server timestamp - - - - - - - Set a user's password - - - - - - - - - Reset a user's password - - - - - - - - Returns standard information relevant to the current user - - - - - - - Send outbound email - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sforce SOAP API - - - - - \ No newline at end of file diff --git a/soapclient/metadata.wsdl.xml b/soapclient/metadata.wsdl.xml deleted file mode 100644 index 88a2965..0000000 --- a/soapclient/metadata.wsdl.xml +++ /dev/null @@ -1,3337 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check the current status of an asyncronous deploy call. - - - - - Check the current status of an asyncronous deploy call. - - - - - Check the current status of an asyncronous call. - - - - - Creates new metadata entries asyncronously. - - - - - Deletes metadata entries asyncronously. - - - - - Deploys a zipfile full of metadata entries asynchronously. - - - - - Describes features of the metadata API. - - - - - Lists the available metadata components. - - - - - Retrieves a set of individually specified metadata entries. - - - - - Updates metadata entries asyncronously. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Manage your Salesforce.com metadata - - - - - \ No newline at end of file diff --git a/soapclient/partner.wsdl.xml b/soapclient/partner.wsdl.xml deleted file mode 100644 index fa3f984..0000000 --- a/soapclient/partner.wsdl.xml +++ /dev/null @@ -1,3131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Login to the Salesforce.com SOAP Api - - - - - - - - - Describe an sObject - - - - - - - - Describe a number sObjects - - - - - - - - Describe the Global state - - - - - - - Describe all the data category groups available for a given set of types - - - - - - - - Describe the data category group structures for a given set of pair of types and data category group name - - - - - - - - Describe the layout of an sObject - - - - - - - - - Describe the layout of the SoftPhone - - - - - - - Describe the tabs that appear on a users page - - - - - - - Create a set of new sObjects - - - - - - - - - - Update a set of sObjects - - - - - - - - - - Update or insert a set of sObjects based on object id - - - - - - - - - - Merge and update a set of sObjects based on object id - - - - - - - - - - Delete a set of sObjects - - - - - - - Undelete a set of sObjects - - - - - - - Empty a set of sObjects from the recycle bin - - - - - - - Get a set of sObjects - - - - - - - - - - - Submit an entity to a workflow process or process a workitem - - - - - - - - convert a set of leads - - - - - - - Logout the current user, invalidating the current session. - - - - - - - Logs out and invalidates session ids - - - - - - - Get the IDs for deleted sObjects - - - - - - - - Get the IDs for updated sObjects - - - - - - - - Create a Query Cursor - - - - - - - - - - - - Create a Query Cursor, including deleted sObjects - - - - - - - - - - - - Gets the next batch of sObjects from a query - - - - - - - - - Search for sObjects - - - - - - - - - - Gets server timestamp - - - - - - - Set a user's password - - - - - - - - - Reset a user's password - - - - - - - - Returns standard information relevant to the current user - - - - - - - Send outbound email - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sforce SOAP API - - - - - \ No newline at end of file diff --git a/test/SforcePartnerClientTest.php b/test/SforcePartnerClientTest.php deleted file mode 100644 index f03b7b3..0000000 --- a/test/SforcePartnerClientTest.php +++ /dev/null @@ -1,527 +0,0 @@ -records; - $ids = array (); - $buckets = array_chunk($records, 200); - foreach ($buckets as $bucket) { - $ids = array (); - foreach ($bucket as $record) { - $sObject = new SObject($record); - //var_dump($sObject); - $ids[] = $sObject->Id; - } - try { - global $mySforceConnection; - $this->mySforceConnection->delete($ids); - } catch (Exception $e) { - print_r($e->faultstring); - } - } - - $queryLocator = $queryResult->queryLocator; - if (isset($queryLocator)) { - $result = $this->mySforceConnection->queryMore($queryLocator); - $this->deleteAll($result); - } - } - - protected function setUp() { - echo "Begin Test Setup\r\n"; - try { - // Create the fixtures. - $this->mySforceConnection = new SforcePartnerClient(); - $this->mySforceConnection->createConnection($this->wsdl); - $this->mylogin = $this->mySforceConnection->login($this->username, $this->password); - - // CLEAN - $queryOptions = new QueryOptions(300); - $createQuery = 'SELECT Id from Contact where FirstName = \'DELETE_ME\''; - $leadQuery = 'SELECT Id from Lead where FirstName = \'DELETE_ME\''; - $createQueryResult = $this->mySforceConnection->query($createQuery, $queryOptions); - $leadQueryResult = $this->mySforceConnection->query($leadQuery, $queryOptions); - if ($createQueryResult->size > 0) { - echo 'Deleting '.$createQueryResult->size." contacts.\r\n"; - $this->deleteAll($createQueryResult); - } - if ($leadQueryResult->size > 0) { - $this->deleteAll($leadQueryResult); - } - $createFields = array ( - 'FirstName' => 'DELETE_ME', - 'LastName' => 'DELETE_ME', - 'MailingCity' => 'San Diego', - 'MailingState' => 'CA' - ); - $sObject1 = new SObject(); - $sObject1->fields = $createFields; - $sObject1->type = 'Contact'; - $createResponse = $this->mySforceConnection->create(array($sObject1)); - $this->assertNotNull($createResponse); - $this->assertTrue($createResponse->success); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - $this->theId = $createResponse->id; - echo "Test setup complete.\r\n"; - } - - public function testLogin() { - echo "testLogin\r\n"; - try { - $mylogin = $this->mylogin; - $this->assertNotNull($mylogin); - $this->assertNotNull($mylogin->userInfo); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testServerTimestamp() { - echo "testServerTimestamp\r\n"; - try { - $timeStamp = $this->mySforceConnection->getServerTimestamp(); - $this->assertNotNull($timeStamp); - $this->assertNotNull($timeStamp->timestamp); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testUserInfo() { - echo "testUserInfo\r\n"; - try { - $userInfo = $this->mySforceConnection->getUserInfo(); - $this->assertNotNull($userInfo); - $this->assertNotNull($userInfo->userId); - $this->assertNotNull($userInfo->userFullName); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testDescribeSObject() { - echo "testDescribeSObject\r\n"; - try { - $response = $this->mySforceConnection->describeSObject('Contact'); - $this->assertNotNull($response); - $this->assertEquals('Contact', $response->name); - } catch (SoapFault $fault) { - echo $fault; - $this->fail($fault->faultstring); - } - } - - public function testDescribeSObjects() { - echo "testDescribeSObjects\r\n"; - try { - $response = $this->mySforceConnection->describeSObjects(array ( - 'Account', - 'Contact' - )); - $this->assertNotNull($response); - $this->assertEquals(2, sizeof($response)); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testDescribeGlobal() { - echo "testDescribeGlobal\r\n"; - try { - $response = $this->mySforceConnection->describeGlobal(); - $this->assertNotNull($response); - $this->assertNotNull($response->types); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testDescribeLayout() { - echo "testDescribeLayout\r\n"; - try { - $response = $this->mySforceConnection->describeLayout('Contact'); - $this->assertNotNull($response); - $this->assertNotNull($response->recordTypeMappings); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testDescribeTabs() { - echo "testDescribeTabs\r\n"; - try { - $response = $this->mySforceConnection->describeTabs(); - $this->assertNotNull($response); - $this->assertTrue(sizeof($response) > 0); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testCreate() { - // now done in setUp so that theId can be accessed by other tests. - } - - public function testRetrieve() { - echo "testRetrieve\r\n"; - try { - $ids = array ($this->theId); - $this->assertEquals(1, count($ids)); - - $retrieveFields = 'LastName'; - $retrieveResponse = $this->mySforceConnection->retrieve($retrieveFields, 'Contact', $ids); - $sObject = new SObject($retrieveResponse); - $this->assertEquals($this->theId, $sObject->Id); - // Fields on SObjects are SimpleXMLElements. - //$this->assertEquals('DELETE_ME', $sObject->fields->LastName); - //$this->assertEquals('San Diego', $sObject->MailingCity); - //$this->assertEquals('CA', $sObject->MailingState); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testUpdate() { - echo "testUpdate\r\n"; - try { - $id = $this->theId; - $this->assertNotNull($id); - $updateFields = array ( - 'Id' => $id, - 'MailingCity' => 'New York', - 'MailingState' => 'NY' - ); - $sObject1 = new SObject(); - $sObject1->fields = $updateFields; - $sObject1->type = 'Contact'; - $updateResponse = $this->mySforceConnection->update(array ($sObject1)); - $this->assertNotNull($updateResponse); - $this->assertTrue($updateResponse->success); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testGetUpdated() { - echo "testGetUpdated\r\n"; - try { - $type = 'Contact'; - $currentTime = mktime(); - // assume that create or update occured within the last 5 mins. - $startTime = $currentTime-(60*5); - $endTime = $currentTime; - $response = $this->mySforceConnection->getUpdated($type, $startTime, $endTime); - $this->assertNotNull($response); - - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testDelete() { - echo "testDelete\r\n"; - try { - $ids = array ($this->theId); - $this->assertEquals(1, count($ids)); - $response = $this->mySforceConnection->delete($ids); - $this->assertNotNull($response); - $this->assertTrue($response->success); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testGetDeleted() { - echo "testGetDeleted\r\n"; - try { - $type = 'Contact'; - $currentTime = mktime(); - // assume that delete occured within the last 5 mins. - $startTime = $currentTime-(60*10); - $endTime = $currentTime; - $response = $this->mySforceConnection->getDeleted($type, $startTime, $endTime); - if (isset($response)) { - $this->assertNotNull(count($response->deletedRecords)); - echo'deleted records = '.count($response->deletedRecords)."\r\n"; - } - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testQuery() { - echo "testQuery\r\n"; - $query = 'SELECT Id,Name,BillingCity,BillingState,Phone,Fax from Account'; - $queryOptions = new QueryOptions(200); - try { - $response = $this->mySforceConnection->query($query, $queryOptions); - $this->assertNotNull($response); - $this->assertTrue(sizeof($response) > 0); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - /* - public function testQueryMore() { - echo "testQueryMore\r\n"; - $createFields = array ( - 'FirstName' => 'DELETE_ME', - 'LastName' => 'DELETE_ME', - 'MailingCity' => 'San Diego', - 'MailingState' => 'CA' - ); - - $sObject1 = new SObject(); - $sObject1->fields = $createFields; - $sObject1->type = 'Contact'; - - $createNum = 500; - try { - for ($counter = 0; $counter < $createNum; $counter++) { - $createResponse = $this->mySforceConnection->create(array ($sObject1)); - $this->assertTrue($createResponse->success); - } - - $query = 'SELECT Id from Contact where FirstName = \'DELETE_ME\''; - $queryOptions = new QueryOptions(300); - - $queryResponse = $this->mySforceConnection->query($query, $queryOptions); - $this->assertEquals($createNum+1, $queryResponse->size); - if ($queryResponse->size) { - $this->deleteAll($queryResponse); - } - $queryResponse = $this->mySforceConnection->query($query, $queryOptions); - $this->assertEquals(0, $queryResponse->size); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - */ - - public function testUpsert() { - // Make the language field an external id field on the contact - // table before proceeding. - echo "testUpsert\r\n"; - $createFields = array ( - 'FirstName' => 'DELETE_ME', - 'LastName' => 'DELETE_ME', - 'MailingCity' => 'TEST_UPSERT', - 'MailingState' => 'CA', - 'Languages__c' => 'TEST_UPSERT_ID' - ); - $external_id = 'Languages__c'; - try { - $sObject1 = new SObject(); - $sObject1->fields = $createFields; - $sObject1->type = 'Contact'; - $upsertResponse = $this->mySforceConnection->upsert($external_id, array($sObject1)); - $this->assertNotNull($upsertResponse); - $this->assertTrue($upsertResponse->success); - $id = $upsertResponse->id; - $ids = array ($id); - $retrieveFields = 'Id, FirstName, LastName, MailingCity, MailingState'; - $retrieveResponse = $this->mySforceConnection->retrieve($retrieveFields, 'Contact', $ids); - $this->assertNotNull($retrieveResponse); - $sObject = new SObject($retrieveResponse); - $this->assertEquals($id, $sObject->Id); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testAssignmentRuleHeaderId() { - echo "testAssignmentRuleHeaderId\r\n"; - $header = new AssignmentRuleHeader('01Q300000005lDgEAI', NULL); - $createFields = array ( - 'FirstName' => 'DELETE_ME', - 'LastName' => 'DELETE_ME', - 'Email' => 'deleteme@salesforce.com', - 'Company' => 'DELETE_ME Company', - 'LeadSource' => 'PHPUnit2', - 'City' => 'San Diego', - 'State' => 'CA' - ); - $sObject1 = new SObject(); - $sObject1->fields = $createFields; - $sObject1->type = 'Lead'; - try { - $createResponse = $this->mySforceConnection->create(array ($sObject1), $header, NULL); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testAssignmentRuleHeaderFlag() { - echo "testAssignmentRuleHeaderFlag\r\n"; - $header = new AssignmentRuleHeader(NULL, TRUE); - $createFields = array ( - 'FirstName' => 'DELETE_ME', - 'LastName' => 'DELETE_ME', - 'Email' => 'deleteme@salesforce.com', - 'Company' => 'DELETE_ME Company', - 'LeadSource' => 'PHPUnit2', - 'City' => 'San Diego', - 'State' => 'CA' - ); - $sObject1 = new SObject(); - $sObject1->fields = $createFields; - $sObject1->type = 'Lead'; - try { - $createResponse = $this->mySforceConnection->create(array ($sObject1), $header, NULL); - $this->assertNotNull($createResponse); - $this->assertTrue($createResponse->success); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testMruHeader() { - echo "testMruHeader\r\n"; - $header = new MruHeader(TRUE); - $createFields = array ( - 'FirstName' => 'DELETE_ME', - 'LastName' => 'DELETE_ME', - 'MailingCity' => 'San Diego', - 'MailingState' => 'CA' - ); - $sObject1 = new SObject(); - $sObject1->fields = $createFields; - $sObject1->type = 'Contact'; - try { - $createResponse = $this->mySforceConnection->create(array ($sObject1), NULL, $header); - $this->assertNotNull($createResponse); - $this->assertTrue($createResponse->success); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testSearch() { - echo "testSearch\r\n"; - try { - $searchResponse - = $this->mySforceConnection->search('FIND {DELETE_ME} returning contact(id, phone, firstname, lastname)'); - $this->assertNotNull($searchResponse); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testSendSingleEmail() { - echo "testSendSingleEmail\r\n"; - try { - $singleEmail1 = new SingleEmailMessage(); - $singleEmail1->toAddresses = "ntran@salesforce.com"; - $singleEmail1->plainTextBody = "Hello there"; - $singleEmail1->subject = "First Single Email"; - $singleEmail1->saveAsActivity = true; - $singleEmail1->emailPriority = EMAIL_PRIORITY_LOW; - - $singleEmail2 = new SingleEmailMessage(); - $singleEmail2->toAddresses = "ntran@salesforce.com"; - $singleEmail2->plainTextBody = "Hello there"; - $singleEmail2->subject = "Second Single Email"; - $singleEmail2->saveAsActivity = true; - $singleEmail2->emailPriority = EMAIL_PRIORITY_LOW; - - $emailResponse = $this->mySforceConnection->sendSingleEmail(array ($singleEmail1, $singleEmail2)); - $this->assertNotNull($emailResponse); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testSendMassEmail() { - echo "testSendMassEmail\r\n"; - try { - $massEmail = new MassEmailMessage(); - $massEmail->subject = "Nicks Mass Email Message"; - $massEmail->saveAsActivity = true; - $massEmail->emailPriority = EMAIL_PRIORITY_LOW; - $massEmail->templateId = "00X50000000wX9q"; - $massEmail->targetObjectIds = array ("0035000000PiCMd"); - - $emailResponse = $this->mySforceConnection->sendMassEmail(array($massEmail)); - - $this->assertNotNull($emailResponse); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - public function testEmptyRecycleBin() { - echo "testEmptyRecycleBin\r\n"; - try { - $fields = array ( - 'Type' => 'Electrical' - ); - - $sObject = new SObject(); - $sObject->fields = $fields; - $sObject->type = 'Case'; - - //echo "Creating Case:\n"; - $response = $this->mySforceConnection->create(array ($sObject)); - $this->assertNotNull($response); - $id = $response->id; - //echo "Deleted Case:\n"; - $response = $this->mySforceConnection->delete(array($id)); - $this->assertNotNull($response); - //echo "Empty Recycle Bin:\n"; - $response = $this->mySforceConnection->emptyRecycleBin(array($id)); - $this->assertNotNull($response); - } catch (SoapFault $fault) { - $this->fail($fault->faultstring); - } - } - - -} -?> \ No newline at end of file diff --git a/test/build-phing.xml b/test/build-phing.xml deleted file mode 100644 index 300806e..0000000 --- a/test/build-phing.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/test/build.bat b/test/build.bat deleted file mode 100644 index ea55a4d..0000000 --- a/test/build.bat +++ /dev/null @@ -1 +0,0 @@ -phing diff --git a/test/build.xml b/test/build.xml deleted file mode 100644 index 8bca1f0..0000000 --- a/test/build.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/test/enterprise.php b/test/enterprise.php deleted file mode 100644 index 69fa5c8..0000000 --- a/test/enterprise.php +++ /dev/null @@ -1,24 +0,0 @@ -createConnection(SOAP_CLIENT_BASEDIR.'/enterprise.wsdl.xml'); - $mylogin = $mySforceConnection->login($USERNAME, $PASSWORD); - - echo "***** Get Server Timestamp *****\n"; - $response = $mySforceConnection->getServerTimestamp(); - print_r($response); -} catch (Exception $e) { - print_r($e); -} -?> diff --git a/test/partner.php b/test/partner.php deleted file mode 100644 index 450bacd..0000000 --- a/test/partner.php +++ /dev/null @@ -1,35 +0,0 @@ -
-createConnection(SOAP_CLIENT_BASEDIR.'/partner.wsdl.xml');
-	$mylogin = $mySforceConnection->login($USERNAME, $PASSWORD);
-print_r($mySforceConnection->getUserInfo());
-	//print_r($mylogin->userInfo);
-  echo "***** Get Server Timestamp *****\n";
-  //$response = $mySforceConnection->getServerTimestamp();
-//	print_r($response);
- //print_r($mySforceConnection->describeSObject('User'));  
-  //$result = $mySforceConnection->query($query);
-  //print_r($result);
-} catch (Exception $e) {
-	print_r($e);
-}
-?>
-
\ No newline at end of file diff --git a/test/report/SalesforceTest/SforcePartnerClientTest.html b/test/report/SalesforceTest/SforcePartnerClientTest.html deleted file mode 100644 index 8f94ff7..0000000 --- a/test/report/SalesforceTest/SforcePartnerClientTest.html +++ /dev/null @@ -1,171 +0,0 @@ - - - -Unit Test Results: SalesforceTest.SforcePartnerClientTest - - - -

Unit Test Results

- - - -
Designed for use with PHPUnit2 and Phing.
-
-

Class SalesforceTest.SforcePartnerClientTest

- - - - - - - - - - - - - - - -
NameTestsErrorsFailuresTime(s)
SforcePartnerClientTest210089.304
-

Tests

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameStatusTypeTime(s)
testLoginSuccess4.432
testServerTimestampSuccess0.749
testUserInfoSuccess0.699
testDescribeSObjectSuccess0.995
testDescribeSObjectsSuccess0.812
testDescribeGlobalSuccess0.574
testDescribeLayoutSuccess0.843
testDescribeTabsSuccess0.627
testCreateSuccess0.556
testRetrieveSuccess0.611
testUpdateSuccess0.827
testGetUpdatedSuccess0.635
testDeleteSuccess0.669
testGetDeletedSuccess0.498
testQuerySuccess0.637
testQueryMoreSuccess69.329
testUpsertSuccess2.329
testAssignmentRuleHeaderIdSuccess0.959
testAssignmentRuleHeaderFlagSuccess0.804
testMruHeaderSuccess0.714
testSearchSuccess1.006
- - - -

Report generated at 2006-05-11T23:17:56-07:00
- - diff --git a/test/report/SalesforceTest/package-frame.html b/test/report/SalesforceTest/package-frame.html deleted file mode 100644 index 3232efa..0000000 --- a/test/report/SalesforceTest/package-frame.html +++ /dev/null @@ -1,12 +0,0 @@ - - - -Unit Test Classes: SalesforceTest - - - -

SalesforceTest

-

Classes

-
SforcePartnerClientTest
- - diff --git a/test/report/SalesforceTest/package-summary.html b/test/report/SalesforceTest/package-summary.html deleted file mode 100644 index 27b8660..0000000 --- a/test/report/SalesforceTest/package-summary.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -

Unit Test Results

- - - -
Designed for use with PHPUnit2 and Phing.
-
-

Package SalesforceTest

-

Classes

-

- - - - - - - - - - - - - - -
NameTestsErrorsFailuresTime(s)
SforcePartnerClientTest210089.304

- - - -

Report generated at 2006-05-11T23:17:56-07:00
- - diff --git a/test/report/allclasses-frame.html b/test/report/allclasses-frame.html deleted file mode 100644 index be4da32..0000000 --- a/test/report/allclasses-frame.html +++ /dev/null @@ -1,11 +0,0 @@ - - - -All Unit Test Classes - - - -

Classes

-
SforcePartnerClientTest
- - diff --git a/test/report/index.html b/test/report/index.html deleted file mode 100644 index 27aeb00..0000000 --- a/test/report/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -Unit Test Results. - - - - - - - - -<h2>Frame Alert</h2> -<p> - This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. - </p> - - - diff --git a/test/report/overview-frame.html b/test/report/overview-frame.html deleted file mode 100644 index 5e9cefe..0000000 --- a/test/report/overview-frame.html +++ /dev/null @@ -1,12 +0,0 @@ - - - -All Unit Test Packages - - - -

Home

-

Packages

-
SalesforceTest
- - diff --git a/test/report/overview-summary.html b/test/report/overview-summary.html deleted file mode 100644 index 5d2b54c..0000000 --- a/test/report/overview-summary.html +++ /dev/null @@ -1,56 +0,0 @@ - - - -Unit Test Results: Summary - - - -

Unit Test Results

- - - -
Designed for use with PHPUnit2 and Phing.
-
-

Summary

- - - - - - - - - - - - - - - -
TestsFailuresErrorsSuccess rateTime
2300100.00%23.331
-
- Note: failures are anticipated and checked for with assertions while errors are unanticipated. -
-

Packages

- - - - - - - - - - - - - - - -
NameTestsErrorsFailuresTime(s)
SalesforceTest230023.331
- - - -

Report generated at 2007-11-07T11:52:15-08:00
- - diff --git a/test/report/stylesheet.css b/test/report/stylesheet.css deleted file mode 100644 index c5c309a..0000000 --- a/test/report/stylesheet.css +++ /dev/null @@ -1,66 +0,0 @@ - - -body { - font-family: verdana,arial,helvetica; - color:#000000; - font-size: 12px; -} -table tr td, table tr th { - font-family: verdana,arial,helvetica; - font-size: 12px; -} -table.details tr th{ - font-family: verdana,arial,helvetica; - font-weight: bold; - text-align:left; - background:#a6caf0; -} -table.details tr td{ - background:#eeeee0; -} - -p { - line-height:1.5em; - margin-top:0.5em; margin-bottom:1.0em; - font-size: 12px; -} -h1 { - margin: 0px 0px 5px; - font-family: verdana,arial,helvetica; -} -h2 { - margin-top: 1em; margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -h3 { - margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -h4 { - margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -h5 { - margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -h6 { - margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -.Error { - font-weight:bold; color:red; -} -.Failure { - font-weight:bold; color:purple; -} -.small { - font-size: 9px; -} -a { - color: #003399; -} -a:hover { - color: #888888; -} - diff --git a/test/xsl/coverage-frames.xsl b/test/xsl/coverage-frames.xsl deleted file mode 100644 index 0a5060e..0000000 --- a/test/xsl/coverage-frames.xsl +++ /dev/null @@ -1,636 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Coverage Results. - - - - - - - - - <h2>Frame Alert</h2> - <p> - This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. - </p> - - - - - - - - .bannercell { - border: 0px; - padding: 0px; - } - body { - margin-left: 10; - margin-right: 10; - background-color:#FFFFFF; - font-family: verdana,arial,sanserif; - color:#000000; - } - a { - color: #003399; - } - a:hover { - color: #888888; - } - .a td { - background: #efefef; - } - .b td { - background: #fff; - } - th, td { - text-align: left; - vertical-align: top; - } - th { - font-weight:bold; - background: #ccc; - color: black; - } - table, th, td { - font-size: 12px; - border: none - } - table.log tr td, tr th { - } - h2 { - font-weight:bold; - font-size: 12px; - margin-bottom: 5; - } - h3 { - font-size:100%; - font-weight: 12px; - background: #DFDFDF - color: white; - text-decoration: none; - padding: 5px; - margin-right: 2px; - margin-left: 2px; - margin-bottom: 0; - } - .small { - font-size: 9px; - } -TD.empty { - FONT-SIZE: 2px; BACKGROUND: #c0c0c0; BORDER:#9c9c9c 1px solid; - color: #c0c0c0; -} -TD.fullcover { - FONT-SIZE: 2px; BACKGROUND: #00df00; BORDER:#9c9c9c 1px solid; - color: #00df00; -} -TD.covered { - FONT-SIZE: 2px; BACKGROUND: #00df00; BORDER-LEFT:#9c9c9c 1px solid;BORDER-TOP:#9c9c9c 1px solid;BORDER-BOTTOM:#9c9c9c 1px solid; - color: #00df00; -} -TD.uncovered { - FONT-SIZE: 2px; BACKGROUND: #df0000; BORDER:#9c9c9c 1px solid; - color: #df0000; -} -PRE.srcLine { - BACKGROUND: #ffffff; MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; -} -td.lineCount, td.coverageCount { - BACKGROUND: #F0F0F0; PADDING-RIGHT: 3px; - text-align: right; -} -td.lineCountHighlight { - background: #C8C8F0; PADDING-RIGHT: 3px; - text-align: right; -} -td.coverageCountHighlight { - background: #F0C8C8; PADDING-RIGHT: 3px; - text-align: right; -} -span.srcLineHighlight { - background: #F0C8C8; -} -span.srcLine { - background: #C8C8F0; -} -TD.srcLineClassStart { - WIDTH: 100%; BORDER-TOP:#dcdcdc 1px solid; FONT-WEIGHT: bold; -} -.srcLine , .srcLine ol, .srcLine ol li {margin: 0;} -.srcLine .de1, .srcLine .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} -.srcLine .imp {font-weight: bold; color: red;} -.srcLine .kw1 {color: #b1b100;} -.srcLine .kw2 {color: #000000; font-weight: bold;} -.srcLine .kw3 {color: #000066;} -.srcLine .co1 {color: #808080; font-style: italic;} -.srcLine .co2 {color: #808080; font-style: italic;} -.srcLine .coMULTI {color: #808080; font-style: italic;} -.srcLine .es0 {color: #000099; font-weight: bold;} -.srcLine .br0 {color: #66cc66;} -.srcLine .st0 {color: #ff0000;} -.srcLine .nu0 {color: #cc66cc;} -.srcLine .me1 {color: #006600;} -.srcLine .me2 {color: #006600;} -.srcLine .re0 {color: #0000ff;} - - - - - - - - - -

All Classes

- - - - - - - / - .html - - - - - -
- - - - (-) - - - () - - -
- - -
- - - - - - - - -

Overview

-

All Packages

- - - - - - - -
- - - -
- - -
- - - - - - - - - - - - - - - - -
Packages: Classes: Methods: LOC:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods covered
Total coverage

PackagesMethods covered
- - - -
- - - - - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

-
- -

Classes

- - - - - - - -
- - - - (-) - - - () - - -
- - -
- - - - - - - - - - - - - - - - - - -
Classes: Methods: LOC:
-
- - - - - - - - - - - - - - - - - - - - -
PackageMethods covered

ClassesMethods covered
- - - -
- - - - - - - - - - - - - - - - - -
Methods: LOC:
-
- - - - - - - - - - - - -
Source fileMethods covered
- - -
-
- - - - -
- - - - - - - - - - - - -
- - http://phing.info/ - -

Source Code Coverage

Designed for use with PHPUnit2, Xdebug and Phing.
-
-
- - - - - - -

Report generated at
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
- -
- - - - - - - - - - - - - - - - - - - - - - - -
   
- -
-
-
- - - - - - - - - - 0 - - - - - - - - srcLineClassStart - - - -
-
-
- - -
-
-
- -
-
- - -
- - - - - - ../ - - - - - - ../ - - - - - - - - stylesheet.css - - - - - - a - b - - - -
- - diff --git a/test/xsl/log.xsl b/test/xsl/log.xsl deleted file mode 100644 index 105d3da..0000000 --- a/test/xsl/log.xsl +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - - - - - Phing Build Log - - - - - - - - - -
- - http://phing.info/ - - - Phing -
- - - -

- - - - - - - -

-
- Phing -
-
- - -
- - - - - - failed - complete - - - - - - - - - - - - - -
Build FailedBuild CompleteTotal Time:
- -
- See the stacktrace. -
-
- - - -
phing.file
phing.version
- -

Build events

- - - - - - - -
targettaskmessage
-

- - - -

Error details

- - -
-
-
- -

-
- - - - - - - a - b - - - [ ] - - - - - - -
diff --git a/test/xsl/phpunit2-frames.xsl b/test/xsl/phpunit2-frames.xsl deleted file mode 100644 index 46c6083..0000000 --- a/test/xsl/phpunit2-frames.xsl +++ /dev/null @@ -1,678 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Unit Test Results. - - - - - - - - - <h2>Frame Alert</h2> - <p> - This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. - </p> - - - - - - - -body { - font-family: verdana,arial,helvetica; - color:#000000; - font-size: 12px; -} -table tr td, table tr th { - font-family: verdana,arial,helvetica; - font-size: 12px; -} -table.details tr th{ - font-family: verdana,arial,helvetica; - font-weight: bold; - text-align:left; - background:#a6caf0; -} -table.details tr td{ - background:#eeeee0; -} - -p { - line-height:1.5em; - margin-top:0.5em; margin-bottom:1.0em; - font-size: 12px; -} -h1 { - margin: 0px 0px 5px; - font-family: verdana,arial,helvetica; -} -h2 { - margin-top: 1em; margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -h3 { - margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -h4 { - margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -h5 { - margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -h6 { - margin-bottom: 0.5em; - font-family: verdana,arial,helvetica; -} -.Error { - font-weight:bold; color:red; -} -.Failure { - font-weight:bold; color:purple; -} -.small { - font-size: 9px; -} -a { - color: #003399; -} -a:hover { - color: #888888; -} - - - - - - - . - - - Unit Test Results: <xsl:value-of select="$class.name"/> - - - - - - -

Class

- - - - - -
- -

Tests

- - - - - - - - - -
- - - -
- - - - - - - - Unit Test Classes: <xsl:value-of select="$name"/> - - - - - - - - - -
-

- - <none> -

-
- -

Classes

- - - - - - - -
- -
- - -
- - - - - - - All Unit Test Classes - - - - - -

Classes

- - - - -
- - -
- - - - - -
- - - / - .html - - - - - - - - - - - - - All Unit Test Packages - - - - - -

Home

-

Packages

- - - - -
- - -
- - - - - - - <none> - - - - - - - - - - Unit Test Results: Summary - - - - - - open('allclasses-frame.html','classListFrame') - -

Summary

- - - - - - - - - - - - - - - - - Error - Failure - Pass - - - - - - - - - -
TestsFailuresErrorsSuccess rateTime
- - - - - - - -
- - - - -
- Note: failures are anticipated and checked for with assertions while errors are unanticipated. -
- -

Packages

- - - - - - - - - - - Error - Failure - Pass - - - - - - - - - -
- - <none> - - - - -
- - - -
- - - - - - - - - - - - open('package-frame.html','classListFrame') - -

Package

- - - - - -

Classes

-

- - - - - -
-

-
- - - -
- - - - - - - ../ - - - - - - ../ - - - - - - - - stylesheet.css - - - - - -

Unit Test Results

- - - - - -
Designed for use with PHPUnit2 and Phing.
-
-
- - - - - - -

Report generated at
-
- - - - - Name - Tests - Errors - Failures - Time(s) - - - - - - - Name - Status - Type - Time(s) - - - - - - - - - - Error - Failure - Pass - - - - - - - - - - - - - - - - - - Error - Failure - TableRowColor - - - - - - Failure - - - - Error - - - - Success - - - - - - - - - - - - - - - - - - - - - - - - - N/A - - - - - -

- - - - - - - -
- - - - - - - - - - - - -
- -
- - - - - - - - - - - - diff --git a/test/xsl/phpunit2-noframes.xsl b/test/xsl/phpunit2-noframes.xsl deleted file mode 100644 index a5d9b65..0000000 --- a/test/xsl/phpunit2-noframes.xsl +++ /dev/null @@ -1,437 +0,0 @@ - - - - - - - - - - - Unit Test Results - - - - - - - - -
- - - -
- - - -
- - - - - - - -
- - - - - - - - -

Packages

- Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers. - - - - - - - - - - - - - - - - - Failure - Error - - - - - - - - - -
- - - -
-
- - - - - - - - - - - - -

Package

- - - - - - -
- Back to top -

-

- - - - - - - - -

TestCase

- - - - - - - - - - -
-

- - Back to top - - - - -

Summary

- - - - - - - - - - - - - - - - - Failure - Error - - - - - - - - - -
TestsFailuresErrorsSuccess rateTime
- - - - - - - -
- - - - -
- Note: failures are anticipated and checked for with assertions while errors are unanticipated. -
-
- - - -

Unit Test Results

- - - - - -
Designed for use with PHPUnit2 and Phing.
-
-
- - - - - - -

Report generated at
-
- - - - Name - Tests - Errors - Failures - Time(s) - - - - - - - Name - Tests - Errors - Failures - Time(s) - - - - - - - Name - Status - Type - Time(s) - - - - - - - - - - - Failure - Error - - - - - - - - - - - - - - - - - - - - - Error - - - - - - Failure - - - - Error - - - - Success - - - - - - - - - - - - - - - - - - - - - - - - N/A - - - - - - -

- - - -
- - -
- - - - - - - - - - - - -
- -
- - - - - - - - - - - -
- diff --git a/test/xsl/str.replace.function.xsl b/test/xsl/str.replace.function.xsl deleted file mode 100644 index d6271c3..0000000 --- a/test/xsl/str.replace.function.xsl +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ERROR: function implementation of str:replace() relies on exsl:node-set(). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests.html b/tests.html deleted file mode 100644 index 2b6a215..0000000 --- a/tests.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - -Apache Setup - - - - - -

-

Unit Tests

-

Instructions | API Docs | Apache Setup | PHP Setup | Unit Tests

-
-

The included unit tests are based on PHPUnit2 and Phing. PHPUnit2 provides the testing framework while Phing is an ANT based build system. The current version of PHPUnit2 as this is written is 2.3.5. The current version of Phing is 2.1.1. PHP 5.1.2 is also required.

-

Installation

-

You can install PHPUnit2 using the PHP Extension and Application Repository (PEAR) installer. On the command-line in your PHP5 home directory, simply type:

-pear install PHPUnit2 -

Due to the changing nature of the Phing documentation as this is written, please refer to http://phing.info/trac/ for the latest installation instructions..

-

This document will assume C:\dev\php5 as your PHP base directory.

-

Build, Configure, and Deploy

-

Configure

-

Edit DOC_ROOT/php-soap/test/SforcePartnerClientTest.php and modify the following to match your account:

- private $username = "username@mail.com";
-private $password = "changeme";
-

A partner.wsdl.xml file is packaged with the toolkit. If for some reason you need a newer version you will need to obtain it from your ADN account. Log into your ADN account and access the setup area. Under 'Integrate' in the left-hand panel you will find the WSDL generator. Select 'Integrate' and then choose the Partner WSDL from the main window. Simply write over the existing partner.wsdl.xml that comes with this toolkit.

-

Run

-
    -
  1. Open a CMD prompt.
    -
  2. -
  3. Navigate to DOC_ROOT/php-soap/test/
  4. -
  5. Type "phing"
  6. -
-The tests results can be found in DOC_ROOT/php-soap/test/reports/index.html.The log file containing any exception is outputted to DOC_ROOT/php-soap/test/reports/logfile.xml. -

Tips / Troubleshooting

-

 

-

 

- - diff --git a/unit_test/Lib/Enum/GenericAbstract.php b/unit_test/Lib/Enum/GenericAbstract.php deleted file mode 100644 index 2ade985..0000000 --- a/unit_test/Lib/Enum/GenericAbstract.php +++ /dev/null @@ -1,60 +0,0 @@ - sizeof($this->_values)) { - return NULL; - } - - return $this->_values[$id]; - } - - /** - * Validates id - * - * @param $value - * @return boolean - */ - public function validateId($id) - { - if(!is_numeric($id)){ - return FALSE; - } - $id = (int)$id; - if($id <= 0) { - return FALSE; - } - - return $id <= sizeof($this->_values); - } - - /** - * Validates value - * - * @param $value - * @return boolean - */ - public function validateValue($value) - { - if($value == '') { - return false; - } - return in_array($value, $this->_values); - } - - /** - * @return array - */ - public function getValues() - { - return $this->values; - } -} \ No newline at end of file diff --git a/unit_test/Lib/Enum/WsdlType.php b/unit_test/Lib/Enum/WsdlType.php deleted file mode 100644 index 14d2e1d..0000000 --- a/unit_test/Lib/Enum/WsdlType.php +++ /dev/null @@ -1,20 +0,0 @@ - Lib_Enum_WsdlType::PARTNER, - '2' => Lib_Enum_WsdlType::ENTERPRISE); -} \ No newline at end of file diff --git a/unit_test/Lib/Exception/InvalidResponse.php b/unit_test/Lib/Exception/InvalidResponse.php deleted file mode 100644 index 978faad..0000000 --- a/unit_test/Lib/Exception/InvalidResponse.php +++ /dev/null @@ -1,2 +0,0 @@ -_mySforceConnection->query($query); - $response = new QueryResult($response); - - echo "\n***** ".$this->getTestName()." *****\n"; - print_r($response); - - echo "\n***** ".$this->getTestName()." response records: *****\n"; - if (isset($response->records) && !empty($response->records)) { - foreach ($response->records as $key=>$record) { - echo "\n***** $key *****\n"; - if (isset($record->fields)) { - print_r($record->fields); - } - } - } - - } -} diff --git a/unit_test/Lib/Test/Enterprise/AllowFieldTruncationHeaderTest.php b/unit_test/Lib/Test/Enterprise/AllowFieldTruncationHeaderTest.php deleted file mode 100644 index 0055756..0000000 --- a/unit_test/Lib/Test/Enterprise/AllowFieldTruncationHeaderTest.php +++ /dev/null @@ -1,32 +0,0 @@ -_mySforceConnection->setAllowFieldTruncationHeader($header); - - $sObject = new stdclass(); - $sObject->FirstName = 'Smith'; - $sObject->LastName = 'John'; - $sObject->Phone = '510-555-55551111111111111111111111111111111111111111111111111111111111111111111'; - $sObject->BirthDate = '1927-01-25'; - - echo "**** Creating the following:\r\n"; - print_r($this->_mySforceConnection->create(array($sObject), 'Contact')); - - - print "**** LastRequestHeaders:\r\n"; - print_r($this->_mySforceConnection->getLastRequestHeaders()); - print "**** LastRequest:\r\n"; - print_r($this->_mySforceConnection->getLastRequest()); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/CDUTest.php b/unit_test/Lib/Test/Enterprise/CDUTest.php deleted file mode 100644 index ea92f60..0000000 --- a/unit_test/Lib/Test/Enterprise/CDUTest.php +++ /dev/null @@ -1,43 +0,0 @@ -FirstName = 'Smith'; - $sObject->LastName = 'John'; - $sObject->Phone = '510-555-5555'; - $sObject->BirthDate = '1927-01-25'; - - $sObject2 = new stdclass(); - $sObject2->FirstName = 'Mary'; - $sObject2->LastName = 'Smith'; - $sObject2->Phone = '510-486-9969'; - $sObject2->BirthDate = '1957-01-25'; - - echo "**** Creating the following:\r\n"; - $createResponse = $this->_mySforceConnection->create(array($sObject, $sObject2), 'Contact'); - - $ids = array(); - foreach ($createResponse as $createResult) { - print_r($createResult); - array_push($ids, $createResult->id); - } - echo "**** Now for Delete:\r\n"; - $deleteResult = $this->_mySforceConnection->delete($ids); - print_r($deleteResult); - - echo "**** Now for UnDelete:\r\n"; - $deleteResult = $this->_mySforceConnection->undelete($ids); - print_r($deleteResult); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/ConvertLeadTest.php b/unit_test/Lib/Test/Enterprise/ConvertLeadTest.php deleted file mode 100644 index 980190b..0000000 --- a/unit_test/Lib/Test/Enterprise/ConvertLeadTest.php +++ /dev/null @@ -1,38 +0,0 @@ -Company = 'test enterprise company'; - $newLead->FirstName = 'John'; - $newLead->LastName = 'Smith'; - - $createResponse = - $this->_mySforceConnection->create( - array($newLead), 'Lead' - ); - - echo "**** Created lead:\r\n"; - print_r($createResponse); - - $leadConvert = new stdClass; - $leadConvert->convertedStatus = 'Closed - Converted'; - $leadConvert->doNotCreateOpportunity = 'false'; - $leadConvert->leadId = $createResponse->id; - $leadConvert->overwriteLeadSource = 'true'; - $leadConvert->sendNotificationEmail = 'true'; - - $leadConvertArray = array($leadConvert); - $leadConvertResponse = $this->_mySforceConnection->convertLead($leadConvertArray); - - print_r($leadConvertResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/DescribeDataCategoryGroupStructuresTest.php b/unit_test/Lib/Test/Enterprise/DescribeDataCategoryGroupStructuresTest.php deleted file mode 100644 index 16883ad..0000000 --- a/unit_test/Lib/Test/Enterprise/DescribeDataCategoryGroupStructuresTest.php +++ /dev/null @@ -1,51 +0,0 @@ -sobject = new SoapVar('Question', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $pair->dataCategoryGroupName = new SoapVar('Products', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - - $pairs[] = new SoapVar($pair, SOAP_ENC_OBJECT, 'DataCategoryGroupSobjectTypePair', SforcePartnerClient::PARTNER_NAMESPACE); - $response = $this->_mySforceConnection->describeDataCategoryGroupStructures($pairs, true); - - echo "***** ".$this->getTestName()." Get information only about top categories *****\n"; - print_r($response); - - /* - Get info about two categories - */ - $pairs = array(); - - // First category - $pair = new stdClass; - $pair->sobject = new SoapVar('Question', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $pair->dataCategoryGroupName = new SoapVar('Products', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - - // Second category - $pair = new stdClass; - $pair->sobject = new SoapVar('Question', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $pair->dataCategoryGroupName = new SoapVar('Products', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - - $pairs[] = new SoapVar($pair, SOAP_ENC_OBJECT, 'DataCategoryGroupSobjectTypePair', SforcePartnerClient::PARTNER_NAMESPACE); - $response = $this->_mySforceConnection->describeDataCategoryGroupStructures($pairs, false); - - echo "\n\n***** ".$this->getTestName()." Get information about two categories *****\n"; - print_r($response); - } -} diff --git a/unit_test/Lib/Test/Enterprise/DescribeDataCategoryGroupsTest.php b/unit_test/Lib/Test/Enterprise/DescribeDataCategoryGroupsTest.php deleted file mode 100644 index 1c6e98a..0000000 --- a/unit_test/Lib/Test/Enterprise/DescribeDataCategoryGroupsTest.php +++ /dev/null @@ -1,22 +0,0 @@ -_mySforceConnection->describeDataCategoryGroups('Question'); - echo "***** ".$this->getTestName()." # Question *****\n"; - print_r($response); - } -} diff --git a/unit_test/Lib/Test/Enterprise/DescribeGlobalTest.php b/unit_test/Lib/Test/Enterprise/DescribeGlobalTest.php deleted file mode 100644 index e994c52..0000000 --- a/unit_test/Lib/Test/Enterprise/DescribeGlobalTest.php +++ /dev/null @@ -1,13 +0,0 @@ -_mySforceConnection->describeGlobal()); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/DescribeLayoutTest.php b/unit_test/Lib/Test/Enterprise/DescribeLayoutTest.php deleted file mode 100644 index 3aa33e8..0000000 --- a/unit_test/Lib/Test/Enterprise/DescribeLayoutTest.php +++ /dev/null @@ -1,13 +0,0 @@ -_mySforceConnection->describeLayout('Task')); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/DescribeSObjectTest.php b/unit_test/Lib/Test/Enterprise/DescribeSObjectTest.php deleted file mode 100644 index b73560f..0000000 --- a/unit_test/Lib/Test/Enterprise/DescribeSObjectTest.php +++ /dev/null @@ -1,13 +0,0 @@ -_mySforceConnection->describeSObject('Task')); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/EmptyRecycleBinTest.php b/unit_test/Lib/Test/Enterprise/EmptyRecycleBinTest.php deleted file mode 100644 index 5893da1..0000000 --- a/unit_test/Lib/Test/Enterprise/EmptyRecycleBinTest.php +++ /dev/null @@ -1,24 +0,0 @@ -Type='Electrical'; - $sObject->Status='New'; - - $response = $this->_mySforceConnection->create(array ($sObject), 'Case'); - echo "***** Creating Case *****\n"; - print_r($response); - $id = $response->id; - echo "***** Deleting Case *****\n"; - print_r($this->_mySforceConnection->delete(array($id))); - echo "***** Emptying Recycle Bin *****\n"; - print_r($this->_mySforceConnection->emptyRecycleBin(array($id))); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/FieldsToNullTest.php b/unit_test/Lib/Test/Enterprise/FieldsToNullTest.php deleted file mode 100644 index c636e62..0000000 --- a/unit_test/Lib/Test/Enterprise/FieldsToNullTest.php +++ /dev/null @@ -1,32 +0,0 @@ -FirstName = 'Mary'; - $sObject->LastName = 'Jane'; - $sObject->Phone = '510-555-5555'; - - $createResponse = $this->_mySforceConnection->create(array($sObject), 'Contact'); - - $retrieveResult= $this->_mySforceConnection->retrieve("FirstName, LastName, Phone", "Contact", $createResponse->id); - echo "***** Before fieldsToNull\r\n"; - print_r($retrieveResult); - - $sObject = new stdclass(); - $sObject->fieldsToNull = array("Phone"); - $sObject->Id = $createResponse->id; - - $updateResult = $this->_mySforceConnection->update(array($sObject), 'Contact'); - - $queryResult = $this->_mySforceConnection->retrieve("FirstName, LastName, Phone", "Contact", $createResponse->id); - echo "***** After fieldsToNull\r\n"; - print_r($queryResult); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/GetDeletedTest.php b/unit_test/Lib/Test/Enterprise/GetDeletedTest.php deleted file mode 100644 index 90656e4..0000000 --- a/unit_test/Lib/Test/Enterprise/GetDeletedTest.php +++ /dev/null @@ -1,38 +0,0 @@ -FirstName = 'Smith'; - $sObject->LastName = 'John'; - $sObject->Phone = '510-555-5555'; - $sObject->BirthDate = '1927-01-25'; - - echo "**** Creating the following:\n"; - $createResponse = $this->_mySforceConnection->create(array($sObject), 'Contact'); - print_r($createResponse); - - $id = $createResponse->id; - $deleteResponse = $this->_mySforceConnection->delete(array ($id)); - echo "***** Deleting record *****\n"; - print_r($deleteResponse); - - echo "***** Wait 60 seconds *****\n"; - sleep(60); - - $currentTime = mktime(); - // assume that delete occured within the last 5 mins. - $startTime = $currentTime - (60*10); - $endTime = $currentTime; - - echo "***** Get Deleted Leads *****\n"; - $getDeletedResponse = $this->_mySforceConnection->getDeleted('Contact', $startTime, $endTime); - print_r($getDeletedResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/GetServerTimestampTest.php b/unit_test/Lib/Test/Enterprise/GetServerTimestampTest.php deleted file mode 100644 index b8e608b..0000000 --- a/unit_test/Lib/Test/Enterprise/GetServerTimestampTest.php +++ /dev/null @@ -1,15 +0,0 @@ -_mySforceConnection->getServerTimestamp(); - print_r($response); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/GetUpdatedTest.php b/unit_test/Lib/Test/Enterprise/GetUpdatedTest.php deleted file mode 100644 index e743ca7..0000000 --- a/unit_test/Lib/Test/Enterprise/GetUpdatedTest.php +++ /dev/null @@ -1,40 +0,0 @@ -FirstName = 'Smith'; - $sObject->LastName = 'John'; - $sObject->Phone = '510-555-5555'; - $sObject->BirthDate = '1927-01-25'; - - echo "**** Creating the following:\n"; - $createResponse = $this->_mySforceConnection->create(array($sObject), 'Contact'); - print_r($createResponse); - - $id = $createResponse->id; - echo "***** Updating record *****\n"; - $sObject->Id = $id; - $sObject->Phone = '999-999-9999'; - $updateResponse = $this->_mySforceConnection->update(array ($sObject), "Contact"); - print_r($updateResponse); - - echo "***** Wait 60 seconds *****\n"; - sleep(60); - - $currentTime = mktime(); - // assume that update occured within the last 5 mins. - $startTime = $currentTime-(60*10); - $endTime = $currentTime; - - echo "***** Get Updated Leads *****\n"; - $getUpdateddResponse = $this->_mySforceConnection->getUpdated('Contact', $startTime, $endTime); - print_r($getUpdateddResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/GetUserInfoTest.php b/unit_test/Lib/Test/Enterprise/GetUserInfoTest.php deleted file mode 100644 index 7464f46..0000000 --- a/unit_test/Lib/Test/Enterprise/GetUserInfoTest.php +++ /dev/null @@ -1,15 +0,0 @@ -_mySforceConnection->getUserInfo(); - print_r($response); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/InvalidateSessionsTest.php b/unit_test/Lib/Test/Enterprise/InvalidateSessionsTest.php deleted file mode 100644 index 0c094ce..0000000 --- a/unit_test/Lib/Test/Enterprise/InvalidateSessionsTest.php +++ /dev/null @@ -1,32 +0,0 @@ -_mySforceConnection->getUserInfo(); - print_r($response); - - $mylogout = $this->_mySforceConnection->invalidateSessions(); - print_r($mylogout); - - $response = $this->_mySforceConnection->getUserInfo(); - print_r($response); - } - - /** - * @param string $rs - * @return void - * @throws Lib_Exception_InvalidResponse - */ - protected function _validateSoapFault($rs) - { - if(strpos($rs, 'INVALID_SESSION_ID') === FALSE) { - throw new Lib_Exception_InvalidResponse(); - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/LocaleOptionsTest.php b/unit_test/Lib/Test/Enterprise/LocaleOptionsTest.php deleted file mode 100644 index 16ffabb..0000000 --- a/unit_test/Lib/Test/Enterprise/LocaleOptionsTest.php +++ /dev/null @@ -1,25 +0,0 @@ -_mySforceConnection->setLocaleOptions($header); - - print "**** DescribeSObject result: \r\n"; - print_r( - $this->_mySforceConnection->describeSObject('Account') - ); - - print "**** LastRequestHeaders:\r\n"; - print_r($this->_mySforceConnection->getLastRequestHeaders()); - print "**** LastRequest:\r\n"; - print_r($this->_mySforceConnection->getLastRequest()); - - } -} diff --git a/unit_test/Lib/Test/Enterprise/LoginScopeHeaderTest.php b/unit_test/Lib/Test/Enterprise/LoginScopeHeaderTest.php deleted file mode 100644 index 4ccde36..0000000 --- a/unit_test/Lib/Test/Enterprise/LoginScopeHeaderTest.php +++ /dev/null @@ -1,26 +0,0 @@ -_mySforceConnection->getUserInfo(); - print_r($response); - - $this->_mySforceConnection = new SforceEnterpriseClient(); - $mySoapClient = $this->_mySforceConnection->createConnection($this->getWSDL()); -// $header = new LoginScopeHeader($response->organizationId, $this->_portalId); - - $header = new LoginScopeHeader(NULL, $this->_portalId); - $this->_mySforceConnection->setLoginScopeHeader($header); - $mylogin = $this->_mySforceConnection->login($this->_userName, $this->_password); - - print_r($mylogin); - print_r($this->_mySforceConnection->getServerTimestamp()); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/LoginTest.php b/unit_test/Lib/Test/Enterprise/LoginTest.php deleted file mode 100644 index f8c06f2..0000000 --- a/unit_test/Lib/Test/Enterprise/LoginTest.php +++ /dev/null @@ -1,14 +0,0 @@ -_mylogin); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/LogoutTest.php b/unit_test/Lib/Test/Enterprise/LogoutTest.php deleted file mode 100644 index 1fd025c..0000000 --- a/unit_test/Lib/Test/Enterprise/LogoutTest.php +++ /dev/null @@ -1,32 +0,0 @@ -_mySforceConnection->getUserInfo(); - print_r($response); - - $mylogout = $this->_mySforceConnection->logout(); - print_r($mylogout); - - $response = $this->_mySforceConnection->getUserInfo(); - print_r($response); - } - - /** - * @param string $rs - * @return void - * @throws Lib_Exception_InvalidResponse - */ - protected function _validateSoapFault($rs) - { - if(strpos($rs, 'INVALID_SESSION_ID') === FALSE) { - throw new Lib_Exception_InvalidResponse(); - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/MergeTest.php b/unit_test/Lib/Test/Enterprise/MergeTest.php deleted file mode 100644 index 089780b..0000000 --- a/unit_test/Lib/Test/Enterprise/MergeTest.php +++ /dev/null @@ -1,45 +0,0 @@ -LastName = 'Tran'; - $sObject->BirthDate = '1927-01-25'; - $sObject->Phone = '510-555-5555'; - - $sObject2 = new stdclass(); - $sObject2->LastName = 'Tran'; - $sObject2->BirthDate = '1957-01-25'; - $sObject2->Phone = '510-486-9969'; - - $sObject3 = new stdclass(); - $sObject3->LastName = 'Tran'; - $sObject3->BirthDate = '1957-01-25'; - - echo "Create 3 contacts.\n"; - - $createResponse = $this->_mySforceConnection->create(array($sObject, $sObject2, $sObject3), 'Contact'); - - print_r($createResponse); - - // Merge $sObject2 into $sObject - $mergeRequest = new stdclass(); - $sObject->Id = $createResponse[0]->id; - $mergeRequest->masterRecord = $sObject; - $mergeRequest->comments = 'My merge comments'; - - echo "Merge second and third contacts into the first contact.\n"; - - $mergeRequest->recordToMergeIds = array($createResponse[1]->id, $createResponse[2]->id); - - $mergeResponse = $this->_mySforceConnection->merge($mergeRequest, 'Contact'); - - print_r($mergeResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/PackageVersionHeaderTest.php b/unit_test/Lib/Test/Enterprise/PackageVersionHeaderTest.php deleted file mode 100644 index d8e4e77..0000000 --- a/unit_test/Lib/Test/Enterprise/PackageVersionHeaderTest.php +++ /dev/null @@ -1,38 +0,0 @@ -majorNumber = 2; - $pv->minorNumber = 1; - $pv->namespace = SforceEnterpriseClient::ENTERPRISE_NAMESPACE; - $header = new PackageVersionHeader( - array($pv) - ); - print_r($header); - $this->_mySforceConnection->setPackageVersionHeader($header); - - $sObject = new stdclass(); - $sObject->FirstName = 'Smith'; - $sObject->LastName = 'John'; - $sObject->Phone = '510-555-5555'; - $sObject->BirthDate = '1927-01-25'; - - $createResponse = $this->_mySforceConnection->create(array($sObject), 'Contact'); - echo "**** Creating the following:\r\n"; - print_r($createResponse); - - print "**** LastRequestHeaders:\r\n"; - print_r($this->_mySforceConnection->getLastRequestHeaders()); - print "**** LastRequest:\r\n"; - print_r($this->_mySforceConnection->getLastRequest()); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/ProcessSubmitRequestTest.php b/unit_test/Lib/Test/Enterprise/ProcessSubmitRequestTest.php deleted file mode 100644 index d5a4639..0000000 --- a/unit_test/Lib/Test/Enterprise/ProcessSubmitRequestTest.php +++ /dev/null @@ -1,26 +0,0 @@ -action = "Approve"; - $processWorkItemRequest->workitemId = $WORKITEM; - $processWorkItemRequest->comments = "Item has been approved."; - - $response = $this->_mySforceConnection->processWorkitemRequest(array ($processWorkItemRequest)); - - print_r($response); - echo $this->_mySforceConnection->getLastRequest(); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/ProcessWorkItemRequestTest.php b/unit_test/Lib/Test/Enterprise/ProcessWorkItemRequestTest.php deleted file mode 100644 index 1b552b8..0000000 --- a/unit_test/Lib/Test/Enterprise/ProcessWorkItemRequestTest.php +++ /dev/null @@ -1,27 +0,0 @@ -action = "Approve"; - $processWorkItemRequest->workitemId = $WORKITEM; - $processWorkItemRequest->comments = "Item has been approved."; - - $response = $this->_mySforceConnection->processWorkitemRequest(array ($processWorkItemRequest)); - - print_r($response); - echo $this->_mySforceConnection->getLastRequest(); - - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/QueryMoreTest.php b/unit_test/Lib/Test/Enterprise/QueryMoreTest.php deleted file mode 100644 index d6ef60d..0000000 --- a/unit_test/Lib/Test/Enterprise/QueryMoreTest.php +++ /dev/null @@ -1,39 +0,0 @@ -_mySforceConnection->setQueryOptions($options); - $response = $this->_mySforceConnection->query($query); - - !$done = false; - echo "Size of records: ".$response ->size."\n"; - - if ($response->size > 0) { - while (!$done) { - foreach ($response->records as $record) { - echo $record->NumberOfEmployees."\r\n"; - } - if ($response->done != true) { - echo "***** Get Next Chunk *****\n"; - try { - $response = $this->_mySforceConnection->queryMore($response->queryLocator); - } catch (Exception $e) { - print_r($this->_mySforceConnection->getLastRequest()); - echo $e->faultstring; - } - } else { - $done = true; - } - } - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/QueryOptionsTest.php b/unit_test/Lib/Test/Enterprise/QueryOptionsTest.php deleted file mode 100644 index 5f8cc62..0000000 --- a/unit_test/Lib/Test/Enterprise/QueryOptionsTest.php +++ /dev/null @@ -1,39 +0,0 @@ -_mySforceConnection->setQueryOptions($options); - $response = $this->_mySforceConnection->query($query); - !$done = false; - - echo "Size of records: ".$response ->size."\n"; - - if ($response->size > 0) { - while (!$done) { - foreach ($response->records as $record) { - echo $record->NumberOfEmployees."\r\n"; - } - if ($response->done != true) { - echo "***** Get Next Chunk *****\n"; - try { - $response = $this->_mySforceConnection->queryMore($response->queryLocator); - } catch (Exception $e) { - print_r($this->_mySforceConnection->getLastRequest()); - echo $e->faultstring; - } - } else { - $done = true; - } - } - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/QueryTest.php b/unit_test/Lib/Test/Enterprise/QueryTest.php deleted file mode 100644 index 2ee8356..0000000 --- a/unit_test/Lib/Test/Enterprise/QueryTest.php +++ /dev/null @@ -1,19 +0,0 @@ -_mySforceConnection->query($query); - - foreach ($response->records as $record) { - print_r($record); - print "
"; - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/ResetPasswordTest.php b/unit_test/Lib/Test/Enterprise/ResetPasswordTest.php deleted file mode 100644 index ec2a051..0000000 --- a/unit_test/Lib/Test/Enterprise/ResetPasswordTest.php +++ /dev/null @@ -1,36 +0,0 @@ -Alias = 'Johny1'; - $newUser->Email = 'test1@example.com'; - $newUser->EmailEncodingKey = 'UTF-8'; - $newUser->LanguageLocaleKey = 'en_US'; - $newUser->LastName = 'Smith1'; - $newUser->LocaleSidKey = 'en_US'; - $newUser->ProfileId = '00et0000000qoV2AAI'; // standart user - $newUser->TimeZoneSidKey = 'America/Los_Angeles'; - $newUser->Username = 'johnysmith1@example.com'; - $newUser->UserPermissionsCallCenterAutoLogin = 0; - $newUser->UserPermissionsMarketingUser = 0; - $newUser->UserPermissionsOfflineUser = 0; - $newUser->CommunityNickname = 'johnyexamplecom1'; - - $createResponse = $this->_mySforceConnection->create(array($newUser), 'User'); - - echo "**** Creating the following:\r\n"; - print_r($createResponse);*/ - - $new_password=$this->_mySforceConnection->resetPassword('005t0000000uonmAAA'); - print_r($new_password); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/RetrieveTest.php b/unit_test/Lib/Test/Enterprise/RetrieveTest.php deleted file mode 100644 index d24a42c..0000000 --- a/unit_test/Lib/Test/Enterprise/RetrieveTest.php +++ /dev/null @@ -1,37 +0,0 @@ -_mySforceConnection->query($query); - - $ids = array(); - - foreach ($response->records as $record) { - print_r($record); - $ids[] = $record->Id; - } - -// $response = $this->_mySforceConnection->retrieve( -// "Id, AccountNumber, Name, Website", -// "Account", -// array("0018000000Ll0Vm", "0018000000Lkzfz") -// ); - - $response = $this->_mySforceConnection->retrieve( - "Id, Name", - "Profile", - $ids - ); - - print "**** Retrive response:\r\n"; - print_r($response); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/SendEmailTest.php b/unit_test/Lib/Test/Enterprise/SendEmailTest.php deleted file mode 100644 index 07a84b9..0000000 --- a/unit_test/Lib/Test/Enterprise/SendEmailTest.php +++ /dev/null @@ -1,32 +0,0 @@ -toAddresses = $EMAILID; - $singleEmail1->plainTextBody = "Hello there"; - $singleEmail1->subject = "First Single Email"; - $singleEmail1->saveAsActivity = true; - $singleEmail1->emailPriority = EMAIL_PRIORITY_LOW; - - $singleEmail2 = new SingleEmailMessage(); - $singleEmail2->toAddresses = $EMAILID; - $singleEmail2->plainTextBody = "Hello there"; - $singleEmail2->subject = "Second Single Email"; - $singleEmail2->saveAsActivity = true; - $singleEmail2->emailPriority = EMAIL_PRIORITY_LOW; - - echo "***** Send Emails *****\n"; - $emailResponse = $this->_mySforceConnection->sendSingleEmail(array ($singleEmail1, $singleEmail2)); - - print_r($emailResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/SendEmailWithAttachTest.php b/unit_test/Lib/Test/Enterprise/SendEmailWithAttachTest.php deleted file mode 100644 index ee8327f..0000000 --- a/unit_test/Lib/Test/Enterprise/SendEmailWithAttachTest.php +++ /dev/null @@ -1,38 +0,0 @@ -toAddresses = $EMAILID; - $singleEmail1->plainTextBody = "Hello there"; - $singleEmail1->subject = "First Single Email"; - $singleEmail1->saveAsActivity = true; - $singleEmail1->emailPriority = EMAIL_PRIORITY_LOW; - // $singleEmail1->inReplyTo = "First Single Email"; - - $filename = $this->_soapDir . '/earth.png'; - $handle = fopen($filename, "rb"); - $contents = fread($handle, filesize($filename)); - fclose($handle); - $attachment = new stdclass(); - $attachment->body = $contents; - $attachment->contentType = 'image/png'; - $attachment->fileName = $filename; - $attachment->inline = TRUE; - - $singleEmail1->setFileAttachments(array($attachment)); - - echo "***** Send Emails *****\n"; - $emailResponse = $this->_mySforceConnection->sendSingleEmail(array($singleEmail1)); - - print_r($emailResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Enterprise/UpsertTest.php b/unit_test/Lib/Test/Enterprise/UpsertTest.php deleted file mode 100644 index 35dc030..0000000 --- a/unit_test/Lib/Test/Enterprise/UpsertTest.php +++ /dev/null @@ -1,53 +0,0 @@ -_mySforceConnection->query($query)); - /**/ - - $objectType = 'Contact'; - - $createFields = array ( - ); - - $sObject = new stdClass(); - $sObject->FirstName = 'George'; - $sObject->LastName = 'Smith'; - $sObject->Phone = '510-555-5555'; - $sObject->BirthDate = '1927-01-25'; - $sObject->Email = 'test@test.com'; - - $createResponse = $this->_mySforceConnection->create(array($sObject), $objectType); - echo "Creating New Contact\r\n"; - print_r($createResponse); - - $sObject->FirstName = 'Bill'; - $sObject->LastName = 'Clinton'; - - $upsertResponse = $this->_mySforceConnection->upsert('Email', array ($sObject), $objectType); - echo "Upserting Contact (existing)\r\n"; - print_r($upsertResponse); - - $sObject->FirstName = 'John'; - $sObject->LastName = 'Smith'; - $sObject->Email = 'testNew@test.com'; - - echo "Upserting Contact (new)\n"; - $upsertResponse = $this->_mySforceConnection->upsert('Email', array ($sObject), $objectType); - print_r($upsertResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/AllowFieldTruncationHeaderTest.php b/unit_test/Lib/Test/Partner/AllowFieldTruncationHeaderTest.php deleted file mode 100644 index 38fe0b3..0000000 --- a/unit_test/Lib/Test/Partner/AllowFieldTruncationHeaderTest.php +++ /dev/null @@ -1,37 +0,0 @@ -_mySforceConnection->setAllowFieldTruncationHeader($header); - - $fields = array ( - 'FirstName' => 'John', - 'LastName' => 'Smith', - 'Phone' => '511111111111111111111111110-555-5555111111111111111111111111111111111111111111111111', - 'BirthDate' => '1950-01-01' - ); - - $sObject = new SObject(); - $sObject->fields = $fields; - $sObject->type = 'Contact'; - - $createResponse = $this->_mySforceConnection->create(array($sObject)); - echo "**** Creating the following:\r\n"; - print_r($createResponse); - - print "**** LastRequestHeaders:\r\n"; - print_r($this->_mySforceConnection->getLastRequestHeaders()); - print "**** LastRequest:\r\n"; - print_r($this->_mySforceConnection->getLastRequest()); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/AssigmentRuleHeaderTest.php b/unit_test/Lib/Test/Partner/AssigmentRuleHeaderTest.php deleted file mode 100644 index e2e3f6f..0000000 --- a/unit_test/Lib/Test/Partner/AssigmentRuleHeaderTest.php +++ /dev/null @@ -1,30 +0,0 @@ -_mySforceConnection->setAssignmentRuleHeader($header); - - $createFields = array ( - 'FirstName' => 'John', - 'LastName' => 'Doe', - 'Email' => 'johndoe@salesforce.com', - 'Company' => 'Some Company', - 'LeadSource' => 'PHPUnit2', - 'City' => 'Tokyo', - 'Country' => 'Japan' - ); - $sObject1 = new SObject(); - $sObject1->fields = $createFields; - $sObject1->type = 'Lead'; - - $createResponse = $this->_mySforceConnection->create(array($sObject1)); - print_r($createResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/CDUTest.php b/unit_test/Lib/Test/Partner/CDUTest.php deleted file mode 100644 index c8151e2..0000000 --- a/unit_test/Lib/Test/Partner/CDUTest.php +++ /dev/null @@ -1,48 +0,0 @@ - 'John', - 'LastName' => 'Smith', - 'Phone' => '510-555-5555', - 'BirthDate' => '1950-01-01' - ); - - $sObject = new SObject(); - $sObject->fields = $fields; - $sObject->type = 'Contact'; - - $sObject2 = new SObject(); - $sObject2->fields = $fields; - $sObject2->type = 'Contact'; - - $createResponse = $this->_mySforceConnection->create(array($sObject, $sObject2)); - - echo "**** Creating the following:\r\n"; - print_r($createResponse); - - $ids = array(); - foreach ($createResponse as $createResult) { - print_r($createResult); - array_push($ids, $createResult->id); - } - echo "**** Now for Delete:\r\n"; - $deleteResult = $this->_mySforceConnection->delete($ids); - print_r($deleteResult); - - echo "**** Now for UnDelete:\r\n"; - $unDeleteResult = $this->_mySforceConnection->undelete($ids); - print_r($unDeleteResult); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/CallOptionsTest.php b/unit_test/Lib/Test/Partner/CallOptionsTest.php deleted file mode 100644 index 464a3ef..0000000 --- a/unit_test/Lib/Test/Partner/CallOptionsTest.php +++ /dev/null @@ -1,24 +0,0 @@ -_mySforceConnection->setCallOptions($callOptionsHeader); - $loginResult = $this->_mySforceConnection->login($this->_userName, $this->_password); - - print_r($loginResult); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/ConvertLeadTest.php b/unit_test/Lib/Test/Partner/ConvertLeadTest.php deleted file mode 100644 index d09e3e5..0000000 --- a/unit_test/Lib/Test/Partner/ConvertLeadTest.php +++ /dev/null @@ -1,44 +0,0 @@ - 'test company', - 'FirstName' => 'John', - 'LastName' => 'Smith' - ); - - $newLead->fields = $fields; - $newLead->type = 'Lead'; - - $createResponse = - $this->_mySforceConnection->create( - array($newLead) - ); - - echo "**** Created lead:\r\n"; - print_r($createResponse); - - $leadConvert = new stdClass; - $leadConvert->convertedStatus='Closed - Converted'; - $leadConvert->doNotCreateOpportunity='false'; -// $leadConvert->leadId=$convertLEADID; - $leadConvert->leadId=$createResponse->id; - $leadConvert->overwriteLeadSource='true'; - $leadConvert->sendNotificationEmail='true'; - - $leadConvertArray = array($leadConvert); - $leadConvertResponse = $this->_mySforceConnection->convertLead($leadConvertArray); - - print_r($leadConvertResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/DescribeDataCategoryGroupStructuresTest.php b/unit_test/Lib/Test/Partner/DescribeDataCategoryGroupStructuresTest.php deleted file mode 100644 index 04d95a0..0000000 --- a/unit_test/Lib/Test/Partner/DescribeDataCategoryGroupStructuresTest.php +++ /dev/null @@ -1,51 +0,0 @@ -sobject = new SoapVar('Question', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $pair->dataCategoryGroupName = new SoapVar('Products', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - - $pairs[] = new SoapVar($pair, SOAP_ENC_OBJECT, 'DataCategoryGroupSobjectTypePair', SforcePartnerClient::PARTNER_NAMESPACE); - $response = $this->_mySforceConnection->describeDataCategoryGroupStructures($pairs, true); - - echo "***** ".$this->getTestName()." Get information only about top categories *****\n"; - print_r($response); - - /* - Get info about two categories - */ - $pairs = array(); - - // First category - $pair = new stdClass; - $pair->sobject = new SoapVar('Question', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $pair->dataCategoryGroupName = new SoapVar('Products', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - - // Second category - $pair = new stdClass; - $pair->sobject = new SoapVar('Question', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - $pair->dataCategoryGroupName = new SoapVar('Products', XSD_STRING, 'string', 'http://www.w3.org/2001/XMLSchema'); - - $pairs[] = new SoapVar($pair, SOAP_ENC_OBJECT, 'DataCategoryGroupSobjectTypePair', SforcePartnerClient::PARTNER_NAMESPACE); - $response = $this->_mySforceConnection->describeDataCategoryGroupStructures($pairs, false); - - echo "\n\n***** ".$this->getTestName()." Get information about two categories *****\n"; - print_r($response); - } -} diff --git a/unit_test/Lib/Test/Partner/DescribeDataCategoryGroupsTest.php b/unit_test/Lib/Test/Partner/DescribeDataCategoryGroupsTest.php deleted file mode 100644 index d5c5f9d..0000000 --- a/unit_test/Lib/Test/Partner/DescribeDataCategoryGroupsTest.php +++ /dev/null @@ -1,22 +0,0 @@ -_mySforceConnection->describeDataCategoryGroups('Question'); - echo "***** ".$this->getTestName()." # Question *****\n"; - print_r($response); - } -} diff --git a/unit_test/Lib/Test/Partner/DescribeGlobalTest.php b/unit_test/Lib/Test/Partner/DescribeGlobalTest.php deleted file mode 100644 index 192065c..0000000 --- a/unit_test/Lib/Test/Partner/DescribeGlobalTest.php +++ /dev/null @@ -1,13 +0,0 @@ -_mySforceConnection->describeGlobal()); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/DescribeLayoutTest.php b/unit_test/Lib/Test/Partner/DescribeLayoutTest.php deleted file mode 100644 index 43259df..0000000 --- a/unit_test/Lib/Test/Partner/DescribeLayoutTest.php +++ /dev/null @@ -1,13 +0,0 @@ -_mySforceConnection->describeLayout('Task')); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/DescribeSObjectTest.php b/unit_test/Lib/Test/Partner/DescribeSObjectTest.php deleted file mode 100644 index 796e9f4..0000000 --- a/unit_test/Lib/Test/Partner/DescribeSObjectTest.php +++ /dev/null @@ -1,13 +0,0 @@ -_mySforceConnection->describeSObject('Contact')); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/EmailHeaderTest.php b/unit_test/Lib/Test/Partner/EmailHeaderTest.php deleted file mode 100644 index 07c327e..0000000 --- a/unit_test/Lib/Test/Partner/EmailHeaderTest.php +++ /dev/null @@ -1,34 +0,0 @@ -_mySforceConnection->setEmailHeader($header); - - $createFields = array ( - 'FirstName' => 'Nick', - 'LastName' => 'Tran', - 'Email' => $EMAILIDFORHEADER, - 'Company' => 'DELETE_ME Company', - 'LeadSource' => 'PHPUnit', - 'City' => 'Tokyo', - 'Country' => 'Japan' - ); - $sObject1 = new SObject(); - $sObject1->fields = $createFields; - $sObject1->type = 'Lead'; - - $createResponse = $this->_mySforceConnection->create(array($sObject1)); - - print_r($createResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/EmptyRecycleBinTest.php b/unit_test/Lib/Test/Partner/EmptyRecycleBinTest.php deleted file mode 100644 index bd07dc8..0000000 --- a/unit_test/Lib/Test/Partner/EmptyRecycleBinTest.php +++ /dev/null @@ -1,30 +0,0 @@ - 'Electrical' - ); - - $sObject = new SObject(); - $sObject->fields = $fields; - $sObject->type = 'Case'; - - $response = $this->_mySforceConnection->create(array ($sObject)); - - echo "Creating Case:\n"; - print_r($response); - - $id = $response->id; - echo "Deleting Case:\n"; - print_r($this->_mySforceConnection->delete(array($id))); - echo "Emptying Recycle Bin:\n"; - print_r($this->_mySforceConnection->emptyRecycleBin(array($id))); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/FieldsToNullTest.php b/unit_test/Lib/Test/Partner/FieldsToNullTest.php deleted file mode 100644 index d3d208d..0000000 --- a/unit_test/Lib/Test/Partner/FieldsToNullTest.php +++ /dev/null @@ -1,69 +0,0 @@ -_mySforceConnection->query($query); -// $queryResult = new QueryResult($queryResponse); -// echo "***** Initial query response *****\n"; -// print_r($queryResult); -// -// $sObject = new SObject(); -// $sObject->fieldsToNull = array ( -// "Title", "FirstName" -// ); -// $sObject->type = 'Lead'; -// $sObject->Id = $leadid; -// $updateResponse = $this->_mySforceConnection->update(array ($sObject)); -// -// echo "***** Updated object with fields to null *****\n"; -// print_r($updateResponse); -// -// $queryResponse = $this->_mySforceConnection->query($query); -// $queryResult = new QueryResult($queryResponse); -// echo "***** Final query response *****\n"; -// print_r($queryResult); - $sObject = new SObject(); - - $fields = array( - 'FirstName' => 'Mary', - 'LastName' => 'Jane', - 'Phone' => '510-555-5555' - ); - - $sObject->fields = $fields; - $sObject->type = 'Contact'; - - $createResponse = $this->_mySforceConnection->create(array($sObject)); - - $retrieveResult= $this->_mySforceConnection->retrieve("FirstName, LastName, Phone", "Contact", $createResponse->id); - echo "***** Before fieldsToNull\r\n"; - print_r($retrieveResult); - - $sObject = new SObject(); - $fields = array( - 'fieldsToNull' => 'Phone', - 'Id' => $createResponse->id - ); - $sObject->fields = $fields; - $sObject->type = 'Contact'; - - $updateResult = $this->_mySforceConnection->update(array($sObject)); - - $queryResult = $this->_mySforceConnection->retrieve("FirstName, LastName, Phone", "Contact", $createResponse->id); - echo "***** After fieldsToNull\r\n"; - print_r($queryResult); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/GetDeletedTest.php b/unit_test/Lib/Test/Partner/GetDeletedTest.php deleted file mode 100644 index 760a4b8..0000000 --- a/unit_test/Lib/Test/Partner/GetDeletedTest.php +++ /dev/null @@ -1,44 +0,0 @@ -type = 'Lead'; - - $fields = array ( - 'Company' => 'XYZ Company', - 'FirstName' => 'John', - 'LastName' => 'Smith', - 'LeadSource' => 'Other', - 'NumberOfEmployees' => 1, - 'Status' => 'Open' - ); - $obj1->fields = $fields; - $createResponse = $this->_mySforceConnection->create(array ($obj1)); - - echo "***** Creating Lead *****\n"; - print_r($createResponse); - - $id = $createResponse->id; - $deleteResponse = $this->_mySforceConnection->delete(array ($id)); - echo "***** Deleting Lead *****\n"; - print_r($deleteResponse); - - echo "***** Wait 60 seconds *****\n"; - sleep(60); - - $currentTime = mktime(); - // assume that delete occured within the last 5 mins. - $startTime = $currentTime - (60*10); - $endTime = $currentTime; - - echo "***** Get Deleted Leads *****\n"; - $getDeletedResponse = $this->_mySforceConnection->getDeleted('Lead', $startTime, $endTime); - print_r($getDeletedResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/GetServerTimestampTest.php b/unit_test/Lib/Test/Partner/GetServerTimestampTest.php deleted file mode 100644 index 1c14038..0000000 --- a/unit_test/Lib/Test/Partner/GetServerTimestampTest.php +++ /dev/null @@ -1,15 +0,0 @@ -_mySforceConnection->getServerTimestamp(); - print_r($response); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/GetUpdatedTest.php b/unit_test/Lib/Test/Partner/GetUpdatedTest.php deleted file mode 100644 index c7a5d92..0000000 --- a/unit_test/Lib/Test/Partner/GetUpdatedTest.php +++ /dev/null @@ -1,46 +0,0 @@ -type = 'Lead'; - - $fields = array ( - 'Company' => 'XYZ Company', - 'FirstName' => 'John', - 'LastName' => 'Smith', - 'LeadSource' => 'Other', - 'NumberOfEmployees' => 1, - 'Status' => 'Open' - ); - $obj1->fields = $fields; - $createResponse = $this->_mySforceConnection->create(array($obj1)); - echo "***** Creating Lead *****\n"; - print_r($createResponse); - - $obj1->Id = $createResponse->id; - $obj1->fields['LastName'] = 'Doe'; - - $updateResponse = $this->_mySforceConnection->update(array($obj1)); - echo "***** Updating Lead *****\n"; - print_r($updateResponse); - - echo "***** Wait 60 seconds *****\n"; - sleep(60); - - $currentTime = mktime(); - // assume that update occured within the last 5 mins. - $startTime = $currentTime-(60*10); - $endTime = $currentTime; - - echo "***** Get Updated Leads from the last 5 minutes *****\n"; - $getUpdatedResponse = $this->_mySforceConnection->getUpdated('Lead', $startTime, $endTime); - print_r($getUpdatedResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/GetUserInfoTest.php b/unit_test/Lib/Test/Partner/GetUserInfoTest.php deleted file mode 100644 index dfab2f6..0000000 --- a/unit_test/Lib/Test/Partner/GetUserInfoTest.php +++ /dev/null @@ -1,15 +0,0 @@ -_mySforceConnection->getUserInfo(); - echo "***** Get User Info*****\n"; - print_r($response); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/InvalidateSessionsTest.php b/unit_test/Lib/Test/Partner/InvalidateSessionsTest.php deleted file mode 100644 index e1813ff..0000000 --- a/unit_test/Lib/Test/Partner/InvalidateSessionsTest.php +++ /dev/null @@ -1,36 +0,0 @@ -_mySforceConnection->getUserInfo(); - print "**** User info:\r\n"; - print_r($response); - - $mylogout = $this->_mySforceConnection->invalidateSessions(); - print "**** Invalidate sessions:\r\n"; - print_r($mylogout); - - $response = $this->_mySforceConnection->getUserInfo(); - print_r($response); - print "**** User info:\r\n"; - print_r($response); - } - - /** - * @param string $rs - * @return void - * @throws Lib_Exception_InvalidResponse - */ - protected function _validateSoapFault($rs) - { - if(strpos($rs, 'INVALID_SESSION_ID') === FALSE) { - throw new Lib_Exception_InvalidResponse(); - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/LocaleOptionsTest.php b/unit_test/Lib/Test/Partner/LocaleOptionsTest.php deleted file mode 100644 index f82fb38..0000000 --- a/unit_test/Lib/Test/Partner/LocaleOptionsTest.php +++ /dev/null @@ -1,25 +0,0 @@ -_mySforceConnection->setLocaleOptions($header); - - print "**** DescribeSObject result: \r\n"; - print_r( - $this->_mySforceConnection->describeSObject('Account') - ); - - print "**** LastRequestHeaders:\r\n"; - print_r($this->_mySforceConnection->getLastRequestHeaders()); - print "**** LastRequest:\r\n"; - print_r($this->_mySforceConnection->getLastRequest()); - - } -} diff --git a/unit_test/Lib/Test/Partner/LoginScopeHeaderTest.php b/unit_test/Lib/Test/Partner/LoginScopeHeaderTest.php deleted file mode 100644 index 90fb0b6..0000000 --- a/unit_test/Lib/Test/Partner/LoginScopeHeaderTest.php +++ /dev/null @@ -1,33 +0,0 @@ -_mySforceConnection->getUserInfo(); - print_r($response); - - $this->_mySforceConnection->logout(); - - $this->_mySforceConnection = new SforcePartnerClient(); - $this->_mySforceConnection->createConnection($this->getWSDL()); - - // this value should be taken from salesforce developer site. - -// $header = new LoginScopeHeader($response->organizationId, $this->_portalId); - $header = new LoginScopeHeader(NULL, $this->_portalId); - - $this->_mySforceConnection->setLoginScopeHeader($header); - $mylogin = $this->_mySforceConnection->login($this->_userName, $this->_password); - print_r($mylogin); - print_r($this->_mySforceConnection->getServerTimestamp()); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/LoginTest.php b/unit_test/Lib/Test/Partner/LoginTest.php deleted file mode 100644 index a86d3f2..0000000 --- a/unit_test/Lib/Test/Partner/LoginTest.php +++ /dev/null @@ -1,14 +0,0 @@ -_mylogin); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/LogoutTest.php b/unit_test/Lib/Test/Partner/LogoutTest.php deleted file mode 100644 index fc1eac3..0000000 --- a/unit_test/Lib/Test/Partner/LogoutTest.php +++ /dev/null @@ -1,32 +0,0 @@ -_mySforceConnection->getUserInfo(); - print_r($response); - - $mylogout = $this->_mySforceConnection->logout(); - print_r($mylogout); - - $response = $this->_mySforceConnection->getUserInfo(); - print_r($response); - } - - /** - * @param string $rs - * @return void - * @throws Lib_Exception_InvalidResponse - */ - protected function _validateSoapFault($rs) - { - if(strpos($rs, 'INVALID_SESSION_ID') === FALSE) { - throw new Lib_Exception_InvalidResponse(); - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/MergeTest.php b/unit_test/Lib/Test/Partner/MergeTest.php deleted file mode 100644 index 5086658..0000000 --- a/unit_test/Lib/Test/Partner/MergeTest.php +++ /dev/null @@ -1,48 +0,0 @@ -type = 'Contact'; - $fields = array ( - 'LastName'=>'Tran', - 'BirthDate'=> '1927-01-25', - 'Phone' => '510-555-5555', - ); - $sObject->fields = $fields; - - $sObject2 = new SObject(); - $sObject2->type = 'Contact'; - $fields['LastName'] = 'Smith'; - $fields['FirstName'] = 'Nick'; - $sObject2->fields = $fields; - - $sObject3 = new SObject(); - $sObject3->type = 'Contact'; - $fields['Phone'] = '555-555-5555'; - $sObject3->fields = $fields; - - echo "Create 3 contacts.\n"; - $createResponse = $this->_mySforceConnection->create(array($sObject, $sObject2, $sObject3),'Lead'); - - print_r($createResponse); - - // Merge $sObject2 into $sObject - $mergeRequest = new stdclass(); - $sObject->Id = $createResponse[0]->id; - $mergeRequest->masterRecord = $sObject; - $mergeRequest->comments = 'My merge comments'; - $mergeRequest->recordToMergeIds = array($createResponse[1]->id, $createResponse[2]->id); - - echo "Merge second and third contacts into the first contact.\n"; - $mergeResponse = $this->_mySforceConnection->merge($mergeRequest); - - print_r($mergeResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/MetaDataCheckStatusTest.php b/unit_test/Lib/Test/Partner/MetaDataCheckStatusTest.php deleted file mode 100644 index 9b31ec4..0000000 --- a/unit_test/Lib/Test/Partner/MetaDataCheckStatusTest.php +++ /dev/null @@ -1,43 +0,0 @@ -_getMetaDataWSDL(), $this->_mylogin, $this->_mySforceConnection); - - $customObject = new SforceCustomObject(); - $customObject->fullName = 'CustomObjFromPHP__c'; - $customObject->deploymentStatus = DEPLOYMENT_STATUS_DEPLOYED; - - $customObject->setDescription("A description"); - $customObject->setEnableActivities(true); - $customObject->setEnableDivisions(false); - $customObject->setEnableHistory(true); - $customObject->setEnableReports(true); - $customObject->setHousehold(false); - $customObject->setLabel("My Custom Obj from PHP"); - $customField = new SforceCustomField(); - $customField->setFullName('MyCustomFieldb__c'); - $customField->setDescription('Description of New Field'); - $customField->setLabel('My Custom Field Label'); - $customField->setType('Text'); - - $customObject->nameField = $customField; - - $customObject->pluralLabel = 'My Custom Objs from PHP'; - $customObject->sharingModel = SHARING_MODEL_READWRITE; - - print "**** Create:\r\n"; - $createResult = $myMetadataConnection->create($customObject); - print_r($createResult); - - $ids = array($createResult->result->id); - - print_r($myMetadataConnection->checkStatus($ids)); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/MetaDataCreateTest.php b/unit_test/Lib/Test/Partner/MetaDataCreateTest.php deleted file mode 100644 index 88f0362..0000000 --- a/unit_test/Lib/Test/Partner/MetaDataCreateTest.php +++ /dev/null @@ -1,49 +0,0 @@ -_getMetaDataWSDL(), $this->_mylogin, $this->_mySforceConnection); - - $customObject = new SforceCustomObject(); - $customObject->fullName = 'CustomObjFromPHP__c'; - $customObject->deploymentStatus = DEPLOYMENT_STATUS_DEPLOYED; - - $customObject->setDescription("A description"); - $customObject->setEnableActivities(true); - $customObject->setEnableDivisions(false); - $customObject->setEnableHistory(true); - $customObject->setEnableReports(true); - $customObject->setHousehold(false); - $customObject->setLabel("My Custom Obj from PHP"); - $customField = new SforceCustomField(); - $customField->setFullName('MyCustomFieldb__c'); - $customField->setDescription('Description of New Field'); - $customField->setLabel('My Custom Field Label'); - $customField->setType('Text'); - - $customObject->nameField = $customField; - - $customObject->pluralLabel = 'My Custom Objs from PHP'; - $customObject->sharingModel = SHARING_MODEL_READWRITE; - - print_r($myMetadataConnection->create($customObject)); - } - - /** - * @param string $rs - * @return void - * @throws Lib_Exception_InvalidResponse - */ - protected function _validate($rs) - { - if(strpos($rs, 'Error') !== FALSE) { - throw new Lib_Exception_InvalidResponse(); - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/MetaDataDeleteTest.php b/unit_test/Lib/Test/Partner/MetaDataDeleteTest.php deleted file mode 100644 index f6b7c42..0000000 --- a/unit_test/Lib/Test/Partner/MetaDataDeleteTest.php +++ /dev/null @@ -1,18 +0,0 @@ -_getMetaDataWSDL(), $this->_mylogin, $this->_mySforceConnection); - - $customObject = new SforceCustomObject(); - $customObject->fullName = 'MyCustomObjFromPHP__c'; - - print_r($myMetadataConnection->delete($customObject)); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/PackageVersionHeaderTest.php b/unit_test/Lib/Test/Partner/PackageVersionHeaderTest.php deleted file mode 100644 index 7c4b308..0000000 --- a/unit_test/Lib/Test/Partner/PackageVersionHeaderTest.php +++ /dev/null @@ -1,43 +0,0 @@ -majorNumber = 2; - $pv->minorNumber = 1; - $pv->namespace = SforcePartnerClient::PARTNER_NAMESPACE; - $header = new PackageVersionHeader( - array($pv) - ); - print_r($header); - $this->_mySforceConnection->setPackageVersionHeader($header); - - $fields = array ( - 'FirstName' => 'John', - 'LastName' => 'Smith', - 'Phone' => '510-555-5555', - 'BirthDate' => '1950-01-01' - ); - - $sObject = new SObject(); - $sObject->fields = $fields; - $sObject->type = 'Contact'; - - $createResponse = $this->_mySforceConnection->create(array($sObject)); - echo "**** Creating the following:\r\n"; - print_r($createResponse); - - print "**** LastRequestHeaders:\r\n"; - print_r($this->_mySforceConnection->getLastRequestHeaders()); - print "**** LastRequest:\r\n"; - print_r($this->_mySforceConnection->getLastRequest()); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/ProcessSubmitRequestTest.php b/unit_test/Lib/Test/Partner/ProcessSubmitRequestTest.php deleted file mode 100644 index 97a4fcc..0000000 --- a/unit_test/Lib/Test/Partner/ProcessSubmitRequestTest.php +++ /dev/null @@ -1,54 +0,0 @@ - 'John', - 'LastName' => 'Smith', - 'Phone' => '510-555-5555', - 'BirthDate' => '1950-01-01' - ); - - $sObject = new SObject(); - $sObject->fields = $fields; - $sObject->type = 'Contact'; - - $sObject2 = new SObject(); - $sObject2->fields = $fields; - $sObject2->type = 'Contact'; - - $createResponse = $this->_mySforceConnection->create(array($sObject, $sObject2)); - - echo "**** Creating the following:\r\n"; - print_r($createResponse); - - $userInfoResponse = $this->_mySforceConnection->getUserInfo(); - echo "***** Get User Info*****\n"; - print_r($userInfoResponse); - - $processSubmitRequest1 = new ProcessSubmitRequest(); - $processSubmitRequest1->objectId = $createResponse['0']->id; - $processSubmitRequest1->comments = "Please approve this request."; - $processSubmitRequest1->nextApproverIds = array($userInfoResponse->userId); - - $processSubmitRequest2 = new ProcessSubmitRequest(); - $processSubmitRequest2->objectId = $createResponse['1']->id; - $processSubmitRequest2->comments = "Please approve this request."; - $processSubmitRequest2->nextApproverIds = array($userInfoResponse->userId); - - $processSubmitRequestResponse = $this->_mySforceConnection->processSubmitRequest( - array($processSubmitRequest1, $processSubmitRequest2) - ); - print_r($processSubmitRequestResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/ProcessWorkItemRequestTest.php b/unit_test/Lib/Test/Partner/ProcessWorkItemRequestTest.php deleted file mode 100644 index a9576cf..0000000 --- a/unit_test/Lib/Test/Partner/ProcessWorkItemRequestTest.php +++ /dev/null @@ -1,27 +0,0 @@ -action = 'Approve'; - $processWorkItem1->workitemId = $WORKITEM; - $processWorkItem1->comments = "Request approved"; - - $processWorkItemRequestResponse = - $this->_mySforceConnection->processWorkitemRequest(array($processWorkItem1)); - - print_r($processWorkItemRequestResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/QueryMoreTest.php b/unit_test/Lib/Test/Partner/QueryMoreTest.php deleted file mode 100644 index c8dba57..0000000 --- a/unit_test/Lib/Test/Partner/QueryMoreTest.php +++ /dev/null @@ -1,46 +0,0 @@ -_mySforceConnection->setQueryOptions($options); - $response = $this->_mySforceConnection->query($query); - - print_r($response); - - $queryResult = new QueryResult($response); - -// print_r($queryResult); - - !$done = false; - - echo "Size of records: ".$queryResult->size; - - if ($queryResult->size > 0) { - while (!$done) { - foreach ($queryResult->records as $record) { - echo 'NumberOfEmployees=' .$record->fields->NumberOfEmployees."\r\n"; - } - if ($queryResult->done != true) { - echo "***** Get Next Chunk *****\n"; - try { - $response = $this->_mySforceConnection->queryMore($queryResult->queryLocator); - $queryResult = new QueryResult($response); - } catch (Exception $e) { - print_r($this->_mySforceConnection->getLastRequest()); - echo $e->faultstring; - } - } else { - $done = true; - } - } - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/QueryOptionsTest.php b/unit_test/Lib/Test/Partner/QueryOptionsTest.php deleted file mode 100644 index a5b1467..0000000 --- a/unit_test/Lib/Test/Partner/QueryOptionsTest.php +++ /dev/null @@ -1,41 +0,0 @@ -_mySforceConnection->setQueryOptions($options); - $response = $this->_mySforceConnection->query($query); - $queryResult = new QueryResult($response); - !$done = false; - - echo "Size of records: ".$queryResult->size; - - if ($queryResult->size > 0) { - while (!$done) { - foreach ($queryResult->records as $record) { - echo $record->fields->NumberOfEmployees."\r\n"; - } - if ($queryResult->done != true) { - echo "***** Get Next Chunk *****\n"; - try { - $response = $this->_mySforceConnection->queryMore($queryResult->queryLocator); - $queryResult = new QueryResult($response); - } catch (Exception $e) { - print_r($this->_mySforceConnection->getLastRequest()); - echo $e->faultstring; - } - } else { - $done = true; - } - } - } - - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/QueryTest.php b/unit_test/Lib/Test/Partner/QueryTest.php deleted file mode 100644 index 1e9871c..0000000 --- a/unit_test/Lib/Test/Partner/QueryTest.php +++ /dev/null @@ -1,21 +0,0 @@ -_mySforceConnection->query($query); - $queryResult = new QueryResult($response); - - foreach ($queryResult->records as $record) { - print_r($record); - } - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/ResetPasswordTest.php b/unit_test/Lib/Test/Partner/ResetPasswordTest.php deleted file mode 100644 index e082b55..0000000 --- a/unit_test/Lib/Test/Partner/ResetPasswordTest.php +++ /dev/null @@ -1,44 +0,0 @@ - 'Johny', - 'Email' => 'test@example.com', - 'EmailEncodingKey' => 'UTF-8', - 'LanguageLocaleKey' => 'en_US', - 'LastName' => 'Smith', - 'LocaleSidKey' => 'en_US', - 'ProfileId' => '00et0000000qoV2AAI', // standart user - 'TimeZoneSidKey' => 'America/Los_Angeles', - 'Username' => 'johnysmith@example.com', - 'UserPermissionsCallCenterAutoLogin' => 0, - 'UserPermissionsMarketingUser' => 0, - 'UserPermissionsOfflineUser' => 0, -// 'UserPermissionsWirelessUser' => 0, - 'CommunityNickname' => 'johnyexamplecom' - ); - - $newUser = new SObject(); - $newUser->fields = $values; - $newUser->type = 'User'; - - $createResponse = $this->_mySforceConnection->create(array($newUser)); - - echo "**** Creating the following:\r\n"; - print_r($createResponse); -*/ - - $new_password=$this->_mySforceConnection->resetPassword('005t0000000uonmAAA'); - print_r($new_password); - } - -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/RetrieveTest.php b/unit_test/Lib/Test/Partner/RetrieveTest.php deleted file mode 100644 index 039f9df..0000000 --- a/unit_test/Lib/Test/Partner/RetrieveTest.php +++ /dev/null @@ -1,37 +0,0 @@ -_mySforceConnection->query($query); - - $ids = array(); - - foreach ($response->records as $record) { - print_r($record); - $ids[] = $record->Id; - } - -// $response = $this->_mySforceConnection->retrieve( -// "Id, AccountNumber, Name, Website", -// "Account", -// array("0018000000Ll0Vm", "0018000000Lkzfz") -// ); - - $response = $this->_mySforceConnection->retrieve( - 'Id, Name', - 'Profile', - $ids - ); - - print "**** Retrive response:\r\n"; - print_r($response); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/SendEmailTest.php b/unit_test/Lib/Test/Partner/SendEmailTest.php deleted file mode 100644 index e9d340e..0000000 --- a/unit_test/Lib/Test/Partner/SendEmailTest.php +++ /dev/null @@ -1,33 +0,0 @@ -toAddresses = $EMAILID; - $singleEmail1->plainTextBody = "Hello there"; - $singleEmail1->subject = "First Single Email"; - $singleEmail1->saveAsActivity = true; - $singleEmail1->emailPriority = EMAIL_PRIORITY_LOW; - - $singleEmail2 = new SingleEmailMessage(); - $singleEmail2->toAddresses = $EMAILID; - $singleEmail2->plainTextBody = "Hello there"; - $singleEmail2->subject = "Second Single Email"; - $singleEmail2->saveAsActivity = true; - $singleEmail2->emailPriority = EMAIL_PRIORITY_LOW; - - echo "***** Send Emails *****\n"; - $emailResponse = $this->_mySforceConnection->sendSingleEmail(array ($singleEmail1, $singleEmail2)); - - print_r($emailResponse); - - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/SendEmailWithAttachTest.php b/unit_test/Lib/Test/Partner/SendEmailWithAttachTest.php deleted file mode 100644 index fec04a5..0000000 --- a/unit_test/Lib/Test/Partner/SendEmailWithAttachTest.php +++ /dev/null @@ -1,38 +0,0 @@ -toAddresses = $EMAILID; - $singleEmail1->plainTextBody = "Hello there"; - $singleEmail1->subject = "First Single Email"; - $singleEmail1->saveAsActivity = true; - $singleEmail1->emailPriority = EMAIL_PRIORITY_LOW; - // $singleEmail1->inReplyTo = "First Single Email"; - - $filename = $this->_soapDir . '/earth.png'; - $handle = fopen($filename, "rb"); - $contents = fread($handle, filesize($filename)); - fclose($handle); - $attachment = new stdclass(); - $attachment->body = $contents; - $attachment->contentType = 'image/png'; - $attachment->fileName = $filename; - $attachment->inline = TRUE; - - $singleEmail1->setFileAttachments(array($attachment)); - - echo "***** Send Emails *****\n"; - $emailResponse = $this->_mySforceConnection->sendSingleEmail(array($singleEmail1)); - - print_r($emailResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/UpdateTest.php b/unit_test/Lib/Test/Partner/UpdateTest.php deleted file mode 100644 index 0e6ced8..0000000 --- a/unit_test/Lib/Test/Partner/UpdateTest.php +++ /dev/null @@ -1,43 +0,0 @@ - 'testupdate', - 'City' => 'testupdateCity', - 'Country' => 'US' - ); - $sObject1 = new SObject(); - $sObject1->fields = $fieldsToUpdate; - $sObject1->type = 'Lead'; - $sObject1->Id = $UPDATEOBJECTID1; - - $fieldsToUpdate = array ( - 'FirstName' => 'testupdate', - 'City' => 'testupdate', - 'State' => 'testupdate', - 'Country' => 'US' - ); - $sObject2 = new SObject(); - $sObject2->fields = $fieldsToUpdate; - $sObject2->type = 'Lead'; - $sObject2->Id = $UPDATEOBJECTID2; - $sObject2->fieldsToNull = array('Fax', 'Email'); - - $response = $this->_mySforceConnection->update(array($sObject1, $sObject2)); - - print_r($response); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/Partner/UpsertTest.php b/unit_test/Lib/Test/Partner/UpsertTest.php deleted file mode 100644 index 9125ccb..0000000 --- a/unit_test/Lib/Test/Partner/UpsertTest.php +++ /dev/null @@ -1,46 +0,0 @@ - 'George', - 'LastName' => 'Smith', - 'Phone' => '510-555-5555', - 'BirthDate' => '1927-01-25', - 'Email' => 'test01@test.com' - ); - - $sObject = new SObject(); - $sObject->fields = $createFields; - $sObject->type = 'Contact'; - - $createResponse = $this->_mySforceConnection->create(array($sObject)); - echo "Creating New Contact\r\n"; - print_r($createResponse); - - $sObject->fields['FirstName'] = 'Bill'; - $sObject->fields['LastName'] = 'Clinton'; - $sObject->fields['Email'] = 'test01@test.com'; - - $upsertResponse = $this->_mySforceConnection->upsert('Email', array($sObject)); - echo "Upserting Contact (existing)\r\n"; - print_r($upsertResponse); - - $sObject->fields['FirstName'] = 'John'; - $sObject->fields['LastName'] = 'Smith'; - $sObject->fields['Email'] = 'test02@test.com'; - - echo "Upserting Contact (new)\n"; - $upsertResponse = $this->_mySforceConnection->upsert('Email', array ($sObject)); - print_r($upsertResponse); - } -} \ No newline at end of file diff --git a/unit_test/Lib/Test/TestAbstract.php b/unit_test/Lib/Test/TestAbstract.php deleted file mode 100644 index e5642f4..0000000 --- a/unit_test/Lib/Test/TestAbstract.php +++ /dev/null @@ -1,157 +0,0 @@ -_soapDir = $soapDir; - $this->_logger = new Lib_Utils_FileLogger( - $this->getLogName(), - 'w'); - - $this->_phpVersion = phpversion(); - header('Content-Type: text/plain'); - } - - /** - * @param Lib_Utils_FileLogger $metaInfoLogger - * @return void - */ - public function run(Lib_Utils_FileLogger $metaInfoLogger) - { - try { - ob_start(); - $start_time = microtime(TRUE); - - try { - $this->_run(); - } catch (SoapFault $fault) { - $end_time = microtime(TRUE); - // some time SoapFaul is sign of positive test result - $resultStr = ob_get_clean(); - $this->_logger->write($resultStr); - print '
' . $resultStr . '
'; - - $this->_logger->write($fault->faultstring); - print '
SoapFault:
'; - print '
' . $fault->faultstring . '
'; - - try { -// $this->_validateSoapFault($resultStr . $fault->faultstring); - $this->_validateSoapFault($fault->faultstring); - $metaInfoLogger->write(basename($this->getLogName()) . ' - test is ok!'); - } catch (Lib_Exception_InvalidResponse $e) { - $metaInfoLogger->write(basename($this->getLogName()) . ' - test failed!'); - } - - return; - } - - $end_time = microtime(TRUE); - $resultStr = ob_get_clean(); - $this->_logger->write($resultStr); - print $resultStr; - - try { - $this->_validate($resultStr); - $metaInfoLogger->write(basename($this->getLogName()) . ' - test is ok!'); - } catch (Lib_Exception_InvalidResponse $e) { - $metaInfoLogger->write(basename($this->getLogName()) . ' - test failed!'); - } - - $metaInfoLogger->write('Total time: '. ($end_time - $start_time)); - $metaInfoLogger->write('Max allocated memory: '. memory_get_peak_usage(TRUE)); - } catch (Exception $e) { - $this->_logger->write($this->_mySforceConnection->getLastRequest()); - ob_start(); - print_r($e); - $eStr = ob_get_clean(); - $this->_logger->write($eStr); - - print $this->_mySforceConnection->getLastRequest(); - echo "\n\n\n"; - print $eStr; - - $metaInfoLogger->write('Test failed!'); - } - } - - public function getLogName() - { - return $this->_soapDir . '/results/' . $this->getTestName() . '_' . $this->getWSDLName() . '_' . - $this->getWSDLVersion() . '_' . phpversion(); - } - - protected function _getMetaDataWSDL() - { - return $this->_soapDir . '/' . $this->_medaDataWsdlName . '.wsdl.xml'; - } - - /** - * @return void - * @throws SoapFault - */ - abstract protected function _run(); - - /** - * NOTE: implement in sub-classes. - * - * @param string $rs - * @return void - * @throws Lib_Exception_InvalidResponse - */ - protected function _validate($rs) - { - // generic check - if(strpos($rs, 'errors') !== FALSE) { - throw new Lib_Exception_InvalidResponse(); - } - } - - /** - * NOTE: implement in sub-classes. - * - * @param string $rs - * @return void - * @throws Lib_Exception_InvalidResponse - */ - protected function _validateSoapFault($rs) - { - throw new Lib_Exception_InvalidResponse(); - } - - /** - * - * @return string location of local wsdl file - */ - abstract public function getWSDL(); - - abstract public function getWSDLName(); - - abstract public function getWSDLVersion(); - - abstract public function getTestName(); -} diff --git a/unit_test/Lib/Test/TestAbstractEnterprise.php b/unit_test/Lib/Test/TestAbstractEnterprise.php deleted file mode 100644 index 5bd6078..0000000 --- a/unit_test/Lib/Test/TestAbstractEnterprise.php +++ /dev/null @@ -1,36 +0,0 @@ -_soapDir . '/SforceEnterpriseClient.php'); - require_once ($this->_soapDir . '/SforceHeaderOptions.php'); - require_once ($this->_soapDir . '/SforceMetadataClient.php'); - - $this->_mySforceConnection = new SforceEnterpriseClient(); - $this->_mySoapClient = $this->_mySforceConnection->createConnection($this->getWSDL()); - $this->_mylogin = $this->_mySforceConnection->login($this->_userName, $this->_password); - - $_SESSION['location'] = $this->_mySforceConnection->getLocation(); - $_SESSION['sessionId'] = $this->_mySforceConnection->getSessionId(); - $_SESSION['wsdl'] = $this->getWSDL(); - } - - public function getWSDLName() - { - return $this->_wsdlName; - } - - public function getWSDLVersion() - { - return $this->_wsdlVersion; - } - - public function getWSDL() { - return "{$this->_soapDir}/{$this->_wsdlName}{$this->_wsdlVersion}.wsdl.xml"; - } -} diff --git a/unit_test/Lib/Test/TestAbstractPartner.php b/unit_test/Lib/Test/TestAbstractPartner.php deleted file mode 100644 index 96c0e2a..0000000 --- a/unit_test/Lib/Test/TestAbstractPartner.php +++ /dev/null @@ -1,35 +0,0 @@ -_soapDir . '/SforcePartnerClient.php'); - require_once ($this->_soapDir . '/SforceHeaderOptions.php'); - require_once ($this->_soapDir . '/SforceMetadataClient.php'); - - $this->_mySforceConnection = new SforcePartnerClient(); - $this->_mySoapClient = $this->_mySforceConnection->createConnection($this->getWSDL()); - $this->_mylogin = $this->_mySforceConnection->login($this->_userName, $this->_password); - - $_SESSION['location'] = $this->_mySforceConnection->getLocation(); - $_SESSION['sessionId'] = $this->_mySforceConnection->getSessionId(); - $_SESSION['wsdl'] = $this->getWSDL(); - } - - public function getWSDLName() { - return $this->_wsdlName; - } - - public function getWSDLVersion() - { - return $this->_wsdlVersion; - } - - public function getWSDL() { - return "{$this->_soapDir}/{$this->_wsdlName}{$this->_wsdlVersion}.wsdl.xml"; - } -} diff --git a/unit_test/Lib/Test/TestFactory.php b/unit_test/Lib/Test/TestFactory.php deleted file mode 100644 index 82b9803..0000000 --- a/unit_test/Lib/Test/TestFactory.php +++ /dev/null @@ -1,47 +0,0 @@ -_logger = new Lib_Utils_FileLogger($logName, 'a+', TRUE); - $this->_soapDir = $soapDir; - } - - /** - * @param int $type - * @param string $target - * @return void - */ - public function run($type, $target) - { - $this->_logger->write(__METHOD__ . ' started'); - - $WsdlTypeEnum = new Lib_Enum_WsdlType(); - $typeName = $WsdlTypeEnum->getById($type); - - // create appropriate test instance and run it - $className = 'Lib_Test_' . ucfirst(strtolower($typeName)) . '_' . $target . 'Test'; - - /* @var $testCase Lib_Test_TestAbstract */ - $testCase = new $className($this->_soapDir); - $testCase->run($this->_logger); - - $this->_logger->write('Lib_Test_TestFactory->run finished'); - } - - public function runAll() - { - // TODO Implement - // Iterate throw all PARTNER and ENTERPRISE tests - } -} \ No newline at end of file diff --git a/unit_test/Lib/Utils/FileLogger.php b/unit_test/Lib/Utils/FileLogger.php deleted file mode 100644 index 4396124..0000000 --- a/unit_test/Lib/Utils/FileLogger.php +++ /dev/null @@ -1,26 +0,0 @@ -_filename = $filename; - $this->_hanlder = fopen($filename, $mode); - $this->_withTimeStamps = $withTimeStamps; - } - - function __destruct() { - fclose($this->_hanlder); - } - - public function write($message) { - fwrite($this->_hanlder, - ($this->_withTimeStamps ? date(DateTime::ATOM) . ' ' : '') . $message . "\n"); - } -} \ No newline at end of file diff --git a/unit_test/index.php b/unit_test/index.php deleted file mode 100644 index 7aaffe5..0000000 --- a/unit_test/index.php +++ /dev/null @@ -1,102 +0,0 @@ - - - - - diff --git a/unit_test/runTest.php b/unit_test/runTest.php deleted file mode 100644 index c45d83d..0000000 --- a/unit_test/runTest.php +++ /dev/null @@ -1,39 +0,0 @@ -run($type, $target); -