Menu

## Object_Sync_Sf_Salesforce_Soap_Partner extends SforcePartnerClient
in package

class-object-sync-sf-salesforce-soap-partner.php : 15

Object_Sync_Sf_Salesforce_Soap_Partner class.

### Table of Contents

$file : string
  The main plugin file
$is_authorized : bool
  Whether Salesforce is authorized
$refreshed : bool
  Whether Salesforce is refreshed
$salesforce_api : array<string|int, mixed>
  Object_Sync_Sf_Salesforce class This contains Salesforce API methods
$salesforce_get_api : array<string|int, mixed>
  The salesforce_get_api() helper method from root class This contains Salesforce API methods and flags.
$soap_client_directory : string
  The directory where the Soap client is stored
$wsdl : string
  The path to the WSDL file
__construct() : mixed
  Constructor for soap class
is_authorized() : bool
  Get whether Salesforce is authorized
try_soap() : array<string|int, mixed>
  Try to use the SOAP API
set_authorized() : mixed
  Set whether Salesforce is authorized
init() : mixed
  Initialize.

### Properties

#### $file

class-object-sync-sf-salesforce-soap-partner.php : 22

The main plugin file

`public string $file`

#### $is_authorized

class-object-sync-sf-salesforce-soap-partner.php : 52

Whether Salesforce is authorized

`public bool $is_authorized`

#### $refreshed

class-object-sync-sf-salesforce-soap-partner.php : 59

Whether Salesforce is refreshed

`public bool $refreshed`

#### $salesforce_api

class-object-sync-sf-salesforce-soap-partner.php : 45

Object_Sync_Sf_Salesforce class This contains Salesforce API methods

`public array<string|int, mixed> $salesforce_api`

#### $salesforce_get_api

class-object-sync-sf-salesforce-soap-partner.php : 37

The salesforce_get_api() helper method from root class This contains Salesforce API methods and flags.

`public array<string|int, mixed> $salesforce_get_api`

#### $soap_client_directory

class-object-sync-sf-salesforce-soap-partner.php : 29

The directory where the Soap client is stored

`public string $soap_client_directory`

#### $wsdl

class-object-sync-sf-salesforce-soap-partner.php : 66

The path to the WSDL file

`public string $wsdl`

### Methods

#### __construct()

class-object-sync-sf-salesforce-soap-partner.php : 71

Constructor for soap class

`public __construct() : mixed`

##### Return values

mixed —

#### is_authorized()

class-object-sync-sf-salesforce-soap-partner.php : 131

Get whether Salesforce is authorized

`public is_authorized() : bool`

##### Return values

bool —

$is_authorized whether Salesforce is authorized.

#### try_soap()

class-object-sync-sf-salesforce-soap-partner.php : 142

Try to use the SOAP API

`public try_soap(string $function) : array<string|int, mixed>`

##### Parameters

$function : string

  function we want to call.

##### Tags

throws
  SoapFault

  $e If there is an error from SOAP.

##### Return values

array<string|int, mixed> —

$results

#### set_authorized()

class-object-sync-sf-salesforce-soap-partner.php : 122

Set whether Salesforce is authorized

`protected set_authorized(bool $is_authorized) : mixed`

##### Parameters

$is_authorized : bool

  whether Salesforce is authorized.

##### Return values

mixed —

#### init()

class-object-sync-sf-salesforce-soap-partner.php : 87

Initialize.

`private init() : mixed`

##### Return values

mixed —

## Search results