Table of Contents
Properties
-
$_db_name
: mixed
-
$_pdo
: mixed
-
$_sem_id
: mixed
-
$_stm
: mixed
Methods
-
__construct()
: mixed
-
beginTransaction()
: mixed
-
commit()
: mixed
-
getDBName()
: mixed
-
lastInsertID()
: mixed
-
rollBack()
: mixed
-
rowCount()
: mixed
-
run()
: mixed
-
acquireSemahore()
: mixed
-
prepare()
: mixed
-
releaseSemahore()
: mixed
-
checkDBAccess()
: bool
$_db_name
protected
mixed
$_db_name
$_pdo
protected
mixed
$_pdo
$_sem_id
protected
mixed
$_sem_id
= null
$_stm
protected
mixed
$_stm
= null
__construct()
public
__construct(mixed $DB) : mixed
Parameters
-
$DB
: mixed
-
beginTransaction()
public
beginTransaction() : mixed
commit()
public
commit() : mixed
getDBName()
public
getDBName() : mixed
lastInsertID()
public
lastInsertID() : mixed
rollBack()
public
rollBack() : mixed
rowCount()
public
rowCount() : mixed
run()
public
run(string $sql, array<string|int, mixed> $values, bool $fetchAll, int $query_type) : mixed
Parameters
-
$sql
: string
-
-
$values
: array<string|int, mixed>
-
-
$fetchAll
: bool
-
-
$query_type
: int
-
acquireSemahore()
protected
acquireSemahore() : mixed
prepare()
protected
prepare(string $sql, int $query_type) : mixed
Parameters
-
$sql
: string
-
-
$query_type
: int
-
releaseSemahore()
protected
releaseSemahore() : mixed
checkDBAccess()
private
checkDBAccess(mixed $DB[, mixed $timeout = 2 ]) : bool
Parameters
-
$DB
: mixed
-
-
$timeout
: mixed
= 2
-