Moodle  2.2.1
http://www.collinsharper.com
ADODB_db2 Class Reference

Public Member Functions

 _insertid ()
 ADODB_db2 ()
 _connect ($argDSN, $argUsername, $argPassword, $argDatabasename)
 _pconnect ($argDSN, $argUsername, $argPassword, $argDatabasename)
 DBTimeStamp ($ts)
 SQLDate ($fmt, $col=false)
 ServerInfo ()
 CreateSequence ($seqname='adodbseq', $start=1)
 DropSequence ($seqname)
 SelectLimit ($sql, $nrows=-1, $offset=-1, $inputArr=false)
 GenID ($seq='adodbseq', $start=1)
 ErrorMsg ()
 ErrorNo ()
 BeginTrans ()
 CommitTrans ($ok=true)
 RollbackTrans ()
 MetaPrimaryKeys ($table)
 MetaForeignKeys ($table, $owner=FALSE, $upper=FALSE, $asociative=FALSE)
 MetaTables ($ttype=false, $schema=false)
 DB2Types ($t)
 MetaColumns ($table, $normalize=true)
 Prepare ($sql)
 _query ($sql, $inputarr=false)
 UpdateBlob ($table, $column, $val, $where, $blobtype='BLOB')
 _close ()
 _affectedrows ()

Data Fields

 $databaseType = "db2"
 $fmtDate = "'Y-m-d'"
 $concat_operator = '||'
 $sysTime = 'CURRENT TIME'
 $sysDate = 'CURRENT DATE'
 $sysTimeStamp = 'CURRENT TIMESTAMP'
 $fmtTimeStamp = "'Y-m-d H:i:s'"
 $replaceQuote = "''"
 $dataProvider = "db2"
 $hasAffectedRows = true
 $binmode = DB2_BINARY
 $useFetchArray = false
 $_bindInputArray = false
 $_genIDSQL = "VALUES NEXTVAL FOR %s"
 $_genSeqSQL = "CREATE SEQUENCE %s START WITH %s NO MAXVALUE NO CYCLE"
 $_dropSeqSQL = "DROP SEQUENCE %s"
 $_autocommit = true
 $_haserrorfunctions = true
 $_lastAffectedRows = 0
 $uCaseTables = true
 $hasInsertID = true

Detailed Description

Definition at line 30 of file adodb-db2.inc.php.


Member Function Documentation

Definition at line 711 of file adodb-db2.inc.php.

_close ( )

Definition at line 704 of file adodb-db2.inc.php.

_connect ( argDSN,
argUsername,
argPassword,
argDatabasename 
)

Definition at line 70 of file adodb-db2.inc.php.

_insertid ( )

Definition at line 59 of file adodb-db2.inc.php.

_pconnect ( argDSN,
argUsername,
argPassword,
argDatabasename 
)

Definition at line 104 of file adodb-db2.inc.php.

_query ( sql,
inputarr = false 
)

Definition at line 626 of file adodb-db2.inc.php.

ADODB_db2 ( )

Definition at line 64 of file adodb-db2.inc.php.

Definition at line 306 of file adodb-db2.inc.php.

CommitTrans ( ok = true)

Definition at line 315 of file adodb-db2.inc.php.

Here is the call graph for this function:

CreateSequence ( seqname = 'adodbseq',
start = 1 
)

Definition at line 228 of file adodb-db2.inc.php.

DB2Types ( t)

Definition at line 477 of file adodb-db2.inc.php.

Here is the caller graph for this function:

DBTimeStamp ( ts)

Definition at line 137 of file adodb-db2.inc.php.

DropSequence ( seqname)

Definition at line 236 of file adodb-db2.inc.php.

ErrorMsg ( )

Definition at line 276 of file adodb-db2.inc.php.

ErrorNo ( )

Definition at line 285 of file adodb-db2.inc.php.

GenID ( seq = 'adodbseq',
start = 1 
)

Definition at line 267 of file adodb-db2.inc.php.

MetaColumns ( table,
normalize = true 
)

Definition at line 517 of file adodb-db2.inc.php.

Here is the call graph for this function:

MetaForeignKeys ( table,
owner = FALSE,
upper = FALSE,
asociative = FALSE 
)

Definition at line 366 of file adodb-db2.inc.php.

MetaPrimaryKeys ( table)

Definition at line 336 of file adodb-db2.inc.php.

MetaTables ( ttype = false,
schema = false 
)

Definition at line 412 of file adodb-db2.inc.php.

Prepare ( sql)

Definition at line 614 of file adodb-db2.inc.php.

Definition at line 326 of file adodb-db2.inc.php.

Here is the caller graph for this function:

SelectLimit ( sql,
nrows = -1,
offset = -1,
inputArr = false 
)

Definition at line 242 of file adodb-db2.inc.php.

Definition at line 211 of file adodb-db2.inc.php.

SQLDate ( fmt,
col = false 
)

Definition at line 145 of file adodb-db2.inc.php.

UpdateBlob ( table,
column,
val,
where,
blobtype = 'BLOB' 
)

Definition at line 698 of file adodb-db2.inc.php.


Field Documentation

$_autocommit = true

Definition at line 52 of file adodb-db2.inc.php.

$_bindInputArray = false

Definition at line 48 of file adodb-db2.inc.php.

$_dropSeqSQL = "DROP SEQUENCE %s"

Definition at line 51 of file adodb-db2.inc.php.

$_genIDSQL = "VALUES NEXTVAL FOR %s"

Definition at line 49 of file adodb-db2.inc.php.

$_genSeqSQL = "CREATE SEQUENCE %s START WITH %s NO MAXVALUE NO CYCLE"

Definition at line 50 of file adodb-db2.inc.php.

$_haserrorfunctions = true

Definition at line 53 of file adodb-db2.inc.php.

$_lastAffectedRows = 0

Definition at line 54 of file adodb-db2.inc.php.

$binmode = DB2_BINARY

Definition at line 44 of file adodb-db2.inc.php.

$concat_operator = '||'

Definition at line 33 of file adodb-db2.inc.php.

$databaseType = "db2"

Definition at line 31 of file adodb-db2.inc.php.

$dataProvider = "db2"

Definition at line 41 of file adodb-db2.inc.php.

$fmtDate = "'Y-m-d'"

Definition at line 32 of file adodb-db2.inc.php.

$fmtTimeStamp = "'Y-m-d H:i:s'"

Definition at line 39 of file adodb-db2.inc.php.

$hasAffectedRows = true

Definition at line 42 of file adodb-db2.inc.php.

$hasInsertID = true

Definition at line 56 of file adodb-db2.inc.php.

$replaceQuote = "''"

Definition at line 40 of file adodb-db2.inc.php.

$sysDate = 'CURRENT DATE'

Definition at line 36 of file adodb-db2.inc.php.

$sysTime = 'CURRENT TIME'

Definition at line 35 of file adodb-db2.inc.php.

$sysTimeStamp = 'CURRENT TIMESTAMP'

Definition at line 37 of file adodb-db2.inc.php.

$uCaseTables = true

Definition at line 55 of file adodb-db2.inc.php.

$useFetchArray = false

Definition at line 46 of file adodb-db2.inc.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations