You are here

protected function SalesforceSoapPartner::setConnected in Salesforce Suite 7.3

Setter for isConnected private variable.

Parameters

bool $is_connected: Boolean to indicate whether the instance made a successful connection to the SOAP API.

2 calls to SalesforceSoapPartner::setConnected()
SalesforceSoapPartner::trySoap in modules/salesforce_soap/salesforce_soap.inc
Wrap SF SOAP API resources in a try-catch so that we can automatically re-auth when we have an invalid session id / access token.
SalesforceSoapPartner::__construct in modules/salesforce_soap/salesforce_soap.inc
Constructor for SalesforceSoapPartner.

File

modules/salesforce_soap/salesforce_soap.inc, line 65
Contains SalesforceSoapPartner.

Class

SalesforceSoapPartner
Expose the partner SOAP API by extending SforcePartnerClient and configuring it with the OAUTH credentials and endpoints from the Salesforce API class.

Code

protected function setConnected($is_connected) {
  $this->isConnected = $is_connected;
}