TimeTrex API Manual

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

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
$data :
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
$search_field :
$search_value :
$select_fields : string = ''
$limit : string = ''
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
$search_field :
$search_value :
$select_fields : string = ''
$limit : string = ''
Return values
SugarCRMReturnHandler

getEmails()

public getEmails( $search_field,  $search_value[, string $select_fields = '' ][, string $limit = '' ]) : SugarCRMReturnHandler
Parameters
$search_field :
$search_value :
$select_fields : string = ''
$limit : string = ''
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
$search_field :
$search_value :
$select_fields : string = ''
$limit : string = ''
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

setLeadStatus()

public setLeadStatus(string $id,  $status) : bool
Parameters
$id : string

UUID

$status :
Return values
bool

Search results