phpDocumentor

MydbMysqliResult
in package
implements MydbMysqliResultInterface

Tags
author

Sergei Shilko contact@sshilko.com

license

https://opensource.org/licenses/mit-license.php MIT

see
https://github.com/sshilko/php-sql-mydb
access

protected

Table of Contents

Interfaces

MydbMysqliResultInterface

Constants

MYSQLI_ASSOC  : int = \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

Properties

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
psalm-param

array<array-key, string> $warnings

getError()

public getError() : string|null
Attributes
#[Override]
Return values
string|null

getFieldCount()

public getFieldCount() : int
Attributes
#[Override]
Return values
int

getResult()

public getResult() : array<string|int, mixed>|null
Attributes
#[Override]
Return values
array<string|int, mixed>|null

getWarnings()

public getWarnings() : array<string|int, mixed>
Tags
psalm-return

array<array-key, string>

Attributes
#[Override]
Return values
array<string|int, mixed>

setErrorMessage()

public setErrorMessage(string $errorMessage) : void
Parameters
$errorMessage : string
Attributes
#[Override]

setErrorNumber()

public setErrorNumber(int $errorNumber) : void
Parameters
$errorNumber : int
Attributes
#[Override]
On this page

Search results