Properties

$linkID

$linkID : 

Type

$dbHost

$dbHost : 

Type

$dbUser

$dbUser : 

Type

$dbPwd

$dbPwd : 

Type

$dbName

$dbName : 

Type

$dbPrefix

$dbPrefix : 

Type

$result

$result : 

Type

$queryString

$queryString : 

Type

$parameters

$parameters : 

Type

$isClose

$isClose : 

Type

$safeCheck

$safeCheck : 

Type

$showError

$showError : 

Type

$recordLog

$recordLog : 

Type

$isInit

$isInit : 

Type

$pconnect

$pconnect : 

Type

$_fixObject

$_fixObject : 

Type

Methods

__construct()

__construct(  $pconnect = FALSE,   $nconnect = FALSE) 

Parameters

$pconnect
$nconnect

DedeSql()

DedeSql(  $pconnect = FALSE,   $nconnect = TRUE) 

Parameters

$pconnect
$nconnect

Init()

Init(  $pconnect = FALSE) 

Parameters

$pconnect

SetSource()

SetSource(  $host,   $username,   $pwd,   $dbname,   $dbprefix = "dede_") 

Parameters

$host
$username
$pwd
$dbname
$dbprefix

SetParameter()

SetParameter(  $key,   $value) 

Parameters

$key
$value

Open()

Open(  $pconnect = FALSE) 

Parameters

$pconnect

SetLongLink()

SetLongLink() 

GetError()

GetError() 

Close()

Close(  $isok = FALSE) 

Parameters

$isok

ClearErrLink()

ClearErrLink() 

CloseLink()

CloseLink(  $dblink) 

Parameters

$dblink

Esc()

Esc(  $_str) 

Parameters

$_str

ExecuteNoneQuery()

ExecuteNoneQuery(  $sql = '') 

Parameters

$sql

ExecuteNoneQuery2()

ExecuteNoneQuery2(  $sql = '') 

Parameters

$sql

ExecNoneQuery()

ExecNoneQuery(  $sql = '') 

Parameters

$sql

GetFetchRow()

GetFetchRow(  $id = 'me') 

Parameters

$id

GetAffectedRows()

GetAffectedRows() 

Execute()

Execute(  $id = "me",   $sql = '') 

Parameters

$id
$sql

Query()

Query(  $id = "me",   $sql = '') 

Parameters

$id
$sql

GetOne()

GetOne(  $sql = '',   $acctype = MYSQLI_ASSOC) 

Parameters

$sql
$acctype

ExecuteSafeQuery()

ExecuteSafeQuery(  $sql,   $id = "me") 

Parameters

$sql
$id

GetArray()

GetArray(  $id = "me",   $acctype = SQLITE3_ASSOC) 

Parameters

$id
$acctype

GetObject()

GetObject(  $id = "me") 

Parameters

$id

IsTable()

IsTable(  $tbname) 

Parameters

$tbname

GetVersion()

GetVersion(  $isformat = TRUE) 

Parameters

$isformat

GetTableFields()

GetTableFields(  $tbname,   $id = "me") 

Parameters

$tbname
$id

GetFieldObject()

GetFieldObject(  $id = "me") 

Parameters

$id

GetTotalRow()

GetTotalRow(  $id = "me") 

Parameters

$id

GetLastID()

GetLastID() 

FreeResult()

FreeResult(  $id = "me") 

Parameters

$id

FreeResultAll()

FreeResultAll() 

SetQuery()

SetQuery(  $sql) 

Parameters

$sql

SetSql()

SetSql(  $sql) 

Parameters

$sql

RecordLog()

RecordLog(  $runtime) 

Parameters

$runtime

DisplayError()

DisplayError(  $msg) 

Parameters

$msg

GetCurUrl()

GetCurUrl()