TimeTrex API Manual

SugarCRMReturnHandler
in package

Class SugarCRMReturnHandler

Table of Contents

$limit  : mixed
$result_data  : mixed
$select_fields  : mixed
__construct()  : mixed
SugarCRMReturnHandler constructor.
convertFromNameValueList()  : array<string|int, mixed>|bool
getOne()  : bool|mixed
Returns one column from one row returned.
getRecordCount()  : bool|int
getResult()  : array<string|int, mixed>|bool
getRow()  : array<string|int, mixed>|bool
Returns the array of just one row.
handleResult()  : array<string|int, mixed>|bool
Used by getResult()
isFault()  : bool
isValid()  : bool

Properties

Methods

__construct()

SugarCRMReturnHandler constructor.

public __construct( $result_data[, array<string|int, mixed> $select_fields = [] ][, string $limit = '' ]) : mixed
Parameters
$result_data :
$select_fields : array<string|int, mixed> = []
$limit : string = ''
Return values
mixed

convertFromNameValueList()

public convertFromNameValueList( $data) : array<string|int, mixed>|bool
Parameters
$data :
Return values
array<string|int, mixed>|bool

getOne()

Returns one column from one row returned.

public getOne() : bool|mixed
Return values
bool|mixed

getRecordCount()

public getRecordCount() : bool|int
Return values
bool|int

getResult()

public getResult([array<string|int, mixed> $select_fields = [] ][, string $limit = '' ]) : array<string|int, mixed>|bool
Parameters
$select_fields : array<string|int, mixed> = []
$limit : string = ''
Return values
array<string|int, mixed>|bool

getRow()

Returns the array of just one row.

public getRow([array<string|int, mixed> $select_fields = [] ]) : array<string|int, mixed>|bool
Parameters
$select_fields : array<string|int, mixed> = []
Return values
array<string|int, mixed>|bool

handleResult()

Used by getResult()

public handleResult( $result[, array<string|int, mixed> $select_fields = [] ][, string $limit = '' ]) : array<string|int, mixed>|bool
Parameters
$result :
$select_fields : array<string|int, mixed> = []
$limit : string = ''
Return values
array<string|int, mixed>|bool

Search results