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  = \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

$warnings

protected array<string|int, mixed> $warnings
Tags
psalm-var

array<array-key, string>

phpcs:disable

SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion.RequiredConstructorPropertyPromotion

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

getResult()

public getResult() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getWarnings()

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

array<array-key, string>

Return values
array<string|int, mixed>

setErrorMessage()

public setErrorMessage(string $errorMessage) : void
Parameters
$errorMessage : string

setErrorNumber()

public setErrorNumber(int $errorNumber) : void
Parameters
$errorNumber : int

        
On this page

Search results