void
connect
( $aUser, $aPassword, [ $aDatabase = ""], [ $aHost = "localhost"], [ $debug = FALSE])
-
$aUser
-
$aPassword
-
$aDatabase
-
$aHost
-
$debug
removes /0 from $aValue
string
convertString
(string $aValue, [boolean $debug = FALSE])
-
string
$aValue
-
boolean
$debug
void
executeBindCMD
( $aQuery, &$aBindArr)
void
executeCmd
( $aQuery, [ $debug = FALSE])
fetch a row into an array
array
fetchArray
(ORACLECURSOR $aCursor, [int $mode = NULL], [boolean $debug = FALSE])
-
ORACLECURSOR
$aCursor
-
int
$mode
-
boolean
$debug
void
freeCursor
( $aCursor)
void
getEmptyTblArr
( $aTable)
void
getError
([ $show = TRUE])
void
getResultArray
( $aCursor)
void
getTableDesc
( $aTable)
void
getTableFields
( $aTable, $owner)
void
getTableList
([ $owner = ""], [ $debug = FALSE])
void
initCon
( $aInitCmd)
void
insert
( $aQuery, [ $aTable = ""], [ $keyfld = ""], [ $debug = FALSE])
-
$aQuery
-
$aTable
-
$keyfld
-
$debug
replaces ' with ''
string
qs_getSlashedValue
(string $aValue, [ $debug = FALSE])
void
query
([ $aQuery = ""], [ $withErrMsg = FALSE])
returns (a column) of the first row match
if $colNr > -1 the column value at position $colNr in the select statement is returned (NOTE: index starts at 0)
if $colNr < 0 a array is returend if $usNames the DB-column names are the index otherwise the index of the returned are is the number in the select order
mixed
quickQuery
(string $aQuery, [int $colNr = -1], [bool $withErrMsg = FALSE], [bool $useNames = TRUE], [bool $secMode = TRUE], [ $debug = FALSE])
-
string
$aQuery
-
int
$colNr
-
bool
$withErrMsg
-
bool
$useNames
-
bool
$secMode
-
$debug