SQL
in package
Class SQL
Table of Contents
- affectedRows() : int
- Kapselt mysqli_affected_rows()
- close() : void
- mysqli_close()
- escape() : string
- Kapselt mysqli_real_escape_string()
- fieldName() : string
- Kapselt mysqli_field_name()
- freeResult() : void
- Free the result
- getAssoc() : array<string|int, mixed>|null
- Kapselt mysqli_fetch_assoc()
- getRow() : array<string|int, mixed>|false|null
- Kapselt mysqli_fetch_row()
- insertID() : int|string
- Kapselt mysqli_insert_id()
- numFields() : int
- Kapselt mysqli_num_fields()
- numRows() : int|string
- Kapselt mysqli_num_rows()
- query() : bool|mysqli_result
- Kapselt mysqli_query()
- result() : mixed
- Kapselt mysqli_result()
- init() : mysqli
Methods
affectedRows()
Kapselt mysqli_affected_rows()
public
static affectedRows() : int
Return values
int —$string
close()
mysqli_close()
public
static close() : void
Return values
void —escape()
Kapselt mysqli_real_escape_string()
public
static escape(string $string) : string
Parameters
- $string : string
Return values
string —$string
fieldName()
Kapselt mysqli_field_name()
public
static fieldName( $result, $index) : string
Parameters
Return values
string —$string
freeResult()
Free the result
public
static freeResult( $result) : void
Parameters
Return values
void —getAssoc()
Kapselt mysqli_fetch_assoc()
public
static getAssoc( $result) : array<string|int, mixed>|null
Parameters
Return values
array<string|int, mixed>|null —getRow()
Kapselt mysqli_fetch_row()
public
static getRow( $result) : array<string|int, mixed>|false|null
Parameters
Return values
array<string|int, mixed>|false|null —insertID()
Kapselt mysqli_insert_id()
public
static insertID() : int|string
Return values
int|string —$string
numFields()
Kapselt mysqli_num_fields()
public
static numFields( $result) : int
Parameters
Return values
int —numRows()
Kapselt mysqli_num_rows()
public
static numRows( $result) : int|string
Parameters
Return values
int|string —query()
Kapselt mysqli_query()
public
static query(string $strSQL) : bool|mysqli_result
Ermoeglicht logging
Parameters
- $strSQL : string
Tags
Return values
bool|mysqli_result —$result
result()
Kapselt mysqli_result()
public
static result(mixed $result, int $row, mixed $field) : mixed
Parameters
- $result : mixed
- $row : int
- $field : mixed
Return values
mixed —init()
protected
static init() : mysqli