Class DB
Provides generic database methods
Abstract
Namespace: CJPGDK\PhpHttpAuth\Database
Package: CJPGDK\PhpHttpAuth
Author: Christian M. Jensen cmj@cjpg.dk
Version: 1.0.0
Since: 1.0.0
Located at src/CJPGDK/PhpHttpAuth/Database/DB.php
Namespace: CJPGDK\PhpHttpAuth\Database
Package: CJPGDK\PhpHttpAuth
Author: Christian M. Jensen cmj@cjpg.dk
Version: 1.0.0
Since: 1.0.0
Located at src/CJPGDK/PhpHttpAuth/Database/DB.php
abstract public
boolean
|
|
abstract public
object[]
|
|
abstract public
object
|
|
abstract public
boolean
|
|
abstract public
|
|
protected
|
|
protected
mixed
|
|
protected
|
|
protected
mixed
|
|
protected
|
#
setConnectionDatabseName( mixed $dbName, mixed $default = null )
Set the databsename to use when connecting to the database |
protected
mixed
|
|
protected
|
#
setConnectionPassword( mixed $passwd, mixed $default = null )
Set the password to use when connecting to the database |
protected
mixed
|
|
protected
|
#
setConnectionUser( mixed $user, mixed $default = null )
Set the username to use when connecting to the database |
protected
mixed
|
|
protected
|
|
protected
mixed
|
protected
array
|
$dbConnectionSettings
|
#
array(
'host' => null,
'user' => null,
'passwd' => null,
'databsename' => null,
'port' => null,
'socket' => null,
)
|
public
string
|
$usersTableName
Name of the table that holds the users |
#
"users"
|
public
array
|
$tableColumns
An array that indicates the names of the columns in the table that contains the users |
#
array(
'id' => 'id_users',
'username' => 'username',
'password' => 'password'
)
|