Properties

$_uniqueId

$_uniqueId : 

Type

$_conf

$_conf : 

Type

$_appConf

$_appConf : 

Type

$_execute

$_execute : 

Type

$_instances

$_instances : 

Type

$_defaultDb

$_defaultDb : 

Type

$_currentDb

$_currentDb : 

Type

Methods

__construct()

__construct(  $conf = array()) 

Parameters

$conf

unInstallNow()

unInstallNow(  $isComplete = false) 

Parameters

$isComplete

getConfPack()

getConfPack() 

setUniqueId()

setUniqueId(  $name) 

Parameters

$name

getConf()

getConf() 

getAppConf()

getAppConf() 

triggerThrowable()

triggerThrowable(\Throwable  $e) 

Parameters

\Throwable $e

handleThrowable()

handleThrowable(\Throwable  $e) 

Parameters

\Throwable $e

heartBeat()

heartBeat() 

query()

query(  $sql) 

Parameters

$sql

getRow()

getRow(  $sql,   $value = array()) 

Parameters

$sql
$value

getAll()

getAll(  $sql,   $value = array()) 

Parameters

$sql
$value

count()

count(  $sql,   $value = array()) 

Parameters

$sql
$value

fetchAll()

fetchAll(  $mode = \PDO::FETCH_BOTH) 

Parameters

$mode

lastId()

lastId() 

selectDb()

selectDb(  $db) 

Parameters

$db

__destruct()

__destruct() 

getComponent()

getComponent(  $haver,   $componentName,   $params = array()) 

Parameters

$haver
$componentName
$params

unInstall()

unInstall(  $isComplete = false) 

Parameters

$isComplete

getValueFromConf()

getValueFromConf(  $key,   $default = '') 

Parameters

$key
$default

init()

init() 

getPdoHandle()

getPdoHandle() 

prepare()

prepare(  $sql,   $value = array()) 

Parameters

$sql
$value

execute()

execute() 

finish()

finish()