Метод |
Описание |
|
__construct ( array $config = null ) |
Construct with a config array. |
|
__destruct ( ) |
|
|
delete ( $condition = null, $table = null ) |
|
|
fetchArray ( $sql ) |
|
|
getNumRows ( $key, $value, $table = null ) |
|
|
getRecordNum ( $table = null ) |
|
|
has ( $key, $value, $table = null ) |
|
|
hasTable ( $tableName ) |
|
|
insert ( $data, $table = null ) |
|
|
prepareConnection ( array $config = null ) : mysqli |
Try to connect to the database with given config. |
|
query ( $sql ) |
|
|
select ( string $key, string $value, array $condition = null, string $table = null, boolean $dont_fetch_array = false ) : array | resources |
Select records from table |
|
table ( $tableName, $no_prefix = false ) |
|
|
update ( $key, $value, $condition = null, $table = null ) |
|
|