SugarCRM
in package
Class SugarCRM
Table of Contents
- $session_id : mixed
- $soap_client_obj : mixed
- $sugarcrm_password : mixed
- $sugarcrm_url : mixed
- $sugarcrm_user_name : mixed
- __construct() : mixed
- SugarCRM constructor.
- convertToNameValueList() : array<string|int, mixed>|bool
- getAvailableModules() : bool
- getCalls() : SugarCRMReturnHandler
- getContacts() : SugarCRMReturnHandler
- Search by account name as well, if the email doesn't match but company name does.
- getEmails() : SugarCRMReturnHandler
- getLeads() : SugarCRMReturnHandler
- Search by account name as well, if the email doesn't match but company name does.
- getSoapObject() : null|SoapClient
- getUserGUID() : mixed
- login() : bool
- setCall() : SugarCRMReturnHandler
- setContact() : SugarCRMReturnHandler
- setEmail() : SugarCRMReturnHandler
- setLead() : SugarCRMReturnHandler
- setLeadStatus() : bool
- setRelationship() : SugarCRMReturnHandler
Properties
$session_id
private
mixed
$session_id
= \null
$soap_client_obj
private
mixed
$soap_client_obj
= \null
$sugarcrm_password
private
mixed
$sugarcrm_password
= \null
$sugarcrm_url
private
mixed
$sugarcrm_url
= \null
$sugarcrm_user_name
private
mixed
$sugarcrm_user_name
= \null
Methods
__construct()
SugarCRM constructor.
public
__construct([null $url = null ]) : mixed
Parameters
- $url : null = null
Return values
mixed —convertToNameValueList()
public
convertToNameValueList( $data) : array<string|int, mixed>|bool
Parameters
Return values
array<string|int, mixed>|bool —getAvailableModules()
public
getAvailableModules() : bool
Return values
bool —getCalls()
public
getCalls( $search_field, $search_value[, string $select_fields = '' ][, string $limit = '' ]) : SugarCRMReturnHandler
Parameters
Return values
SugarCRMReturnHandler —getContacts()
Search by account name as well, if the email doesn't match but company name does.
public
getContacts( $search_field, $search_value[, string $select_fields = '' ][, string $limit = '' ]) : SugarCRMReturnHandler
Parameters
Return values
SugarCRMReturnHandler —getEmails()
public
getEmails( $search_field, $search_value[, string $select_fields = '' ][, string $limit = '' ]) : SugarCRMReturnHandler
Parameters
Return values
SugarCRMReturnHandler —getLeads()
Search by account name as well, if the email doesn't match but company name does.
public
getLeads( $search_field, $search_value[, string $select_fields = '' ][, string $limit = '' ]) : SugarCRMReturnHandler
Parameters
Return values
SugarCRMReturnHandler —getSoapObject()
public
getSoapObject() : null|SoapClient
Return values
null|SoapClient —getUserGUID()
public
getUserGUID() : mixed
Return values
mixed —login()
public
login([null $user_name = null ][, null $password = null ]) : bool
Parameters
- $user_name : null = null
- $password : null = null
Return values
bool —setCall()
public
setCall( $data) : SugarCRMReturnHandler
Parameters
Return values
SugarCRMReturnHandler —setContact()
public
setContact( $data) : SugarCRMReturnHandler
Parameters
Return values
SugarCRMReturnHandler —setEmail()
public
setEmail( $data) : SugarCRMReturnHandler
Parameters
Return values
SugarCRMReturnHandler —setLead()
public
setLead( $data) : SugarCRMReturnHandler
Parameters
Return values
SugarCRMReturnHandler —setLeadStatus()
public
setLeadStatus(string $id, $status) : bool
Parameters
Return values
bool —setRelationship()
public
setRelationship( $module1, string $module1_id, $module2, string $module2_id) : SugarCRMReturnHandler