Db
in package
Table of Contents
Properties
- $charset : mixed
- $collation : mixed
- $dbType : mixed
- $host : mixed
- $id : mixed
- $name : mixed
- $tablePrefix : mixed
- $timezone : mixed
Methods
- __construct() : mixed
- getCharset() : string
- get db character set
- getCollation() : string
- get db Collation
- getdbType() : string
- get db Type Prefix
- getHost() : string
- get db host
- getId() : mixed
- get db id
- getName() : string
- get db name
- getTablePrefix() : string
- get db Table Prefix
- getTimezone() : mixed
- setCharset() : mixed
- set db Charcter set
- setCollation() : mixed
- set db Collation
- setdbType() : mixed
- set db Type
- setHost() : mixed
- set db host
- setId() : mixed
- Set db id
- setName() : mixed
- set db name
- setTablePrefix() : mixed
- set db Table Prefix
- setTimezone() : mixed
Properties
$charset
protected
mixed
$charset
$collation
protected
mixed
$collation
$dbType
protected
mixed
$dbType
$host
protected
mixed
$host
$id
protected
mixed
$id
$name
protected
mixed
$name
$tablePrefix
protected
mixed
$tablePrefix
$timezone
protected
mixed
$timezone
Methods
__construct()
public
__construct([mixed $dbConfig = array() ]) : mixed
Parameters
- $dbConfig : mixed = array()
getCharset()
get db character set
public
getCharset() : string
Return values
string —$charset of the db
getCollation()
get db Collation
public
getCollation() : string
Return values
string —$collation of the db
getdbType()
get db Type Prefix
public
getdbType() : string
Return values
string —$dbType of the db
getHost()
get db host
public
getHost() : string
Return values
string —$host of the db
getId()
get db id
public
getId() : mixed
getName()
get db name
public
getName() : string
Return values
string —$name of the db
getTablePrefix()
get db Table Prefix
public
getTablePrefix() : string
Return values
string —$tablePrefix of the db
getTimezone()
public
getTimezone() : mixed
setCharset()
set db Charcter set
public
setCharset(string $charset) : mixed
Parameters
- $charset : string
-
of the db
setCollation()
set db Collation
public
setCollation(mixed $collation) : mixed
Parameters
- $collation : mixed
setdbType()
set db Type
public
setdbType(string $dbType) : mixed
Parameters
- $dbType : string
-
of the db
setHost()
set db host
public
setHost(string $host) : mixed
Parameters
- $host : string
-
for the db
setId()
Set db id
public
setId([string $id = '' ]) : mixed
Parameters
- $id : string = ''
-
id of the dbUser
setName()
set db name
public
setName([string $name = '' ]) : mixed
Parameters
- $name : string = ''
-
name of the db
setTablePrefix()
set db Table Prefix
public
setTablePrefix(string $tablePrefix) : mixed
Parameters
- $tablePrefix : string
-
of the db
setTimezone()
public
setTimezone(mixed $timezone) : mixed
Parameters
- $timezone : mixed