MydbMysqliResult
in package
implements
MydbMysqliResultInterface
Tags
Table of Contents
Interfaces
Constants
- MYSQLI_ASSOC = \MYSQLI_ASSOC
Properties
- $errorMessage : string|null
- $errorNumber : int
- $fieldsCount : int
- $result : array<string|int, mixed>|null
- $warnings : array<string|int, mixed>
Methods
- __construct() : mixed
- getError() : string|null
- getFieldCount() : int
- getResult() : array<string|int, mixed>|null
- getWarnings() : array<string|int, mixed>
- setErrorMessage() : void
- setErrorNumber() : void
Constants
MYSQLI_ASSOC
protected
mixed
MYSQLI_ASSOC
= \MYSQLI_ASSOC
Properties
$errorMessage
protected
string|null
$errorMessage
= null
$errorNumber
protected
int
$errorNumber
= 0
$fieldsCount
protected
int
$fieldsCount
$result
protected
array<string|int, mixed>|null
$result
= null
$warnings
protected
array<string|int, mixed>
$warnings
Tags
Methods
__construct()
public
__construct(mysqli_result|null $result, array<string|int, mixed> $warnings, int $fieldsCount) : mixed
Parameters
- $result : mysqli_result|null
- $warnings : array<string|int, mixed>
- $fieldsCount : int
Tags
getError()
public
getError() : string|null
Return values
string|nullgetFieldCount()
public
getFieldCount() : int
Return values
intgetResult()
public
getResult() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetWarnings()
public
getWarnings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>setErrorMessage()
public
setErrorMessage(string $errorMessage) : void
Parameters
- $errorMessage : string
setErrorNumber()
public
setErrorNumber(int $errorNumber) : void
Parameters
- $errorNumber : int