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
$limit
protected
mixed
$limit
= \null
$result_data
protected
mixed
$result_data
= \null
$select_fields
protected
mixed
$select_fields
= []
Methods
__construct()
SugarCRMReturnHandler constructor.
public
__construct( $result_data[, array<string|int, mixed> $select_fields = [] ][, string $limit = '' ]) : mixed
Parameters
Return values
mixed —convertFromNameValueList()
public
convertFromNameValueList( $data) : array<string|int, mixed>|bool
Parameters
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
Return values
array<string|int, mixed>|bool —isFault()
public
isFault() : bool
Return values
bool —isValid()
public
isValid() : bool