Public Member Functions | Public Attributes

ADODB_db2 Class Reference

List of all members.

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 ()

Public Attributes

 $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

ADODB_db2::_affectedrows (  ) 

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

ADODB_db2::_close (  ) 

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

ADODB_db2::_connect ( argDSN,
argUsername,
argPassword,
argDatabasename 
)

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

ADODB_db2::_insertid (  ) 

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

ADODB_db2::_pconnect ( argDSN,
argUsername,
argPassword,
argDatabasename 
)

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

ADODB_db2::_query ( sql,
inputarr = false 
)

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

References $sql.

ADODB_db2::ADODB_db2 (  ) 

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

ADODB_db2::BeginTrans (  ) 

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

ADODB_db2::CommitTrans ( ok = true  ) 

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

References RollbackTrans().

Here is the call graph for this function:

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

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

ADODB_db2::DB2Types ( t  ) 

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

Referenced by MetaColumns().

Here is the caller graph for this function:

ADODB_db2::DBTimeStamp ( ts  ) 

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

References UnixTimeStamp().

Here is the call graph for this function:

ADODB_db2::DropSequence ( seqname  ) 

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

ADODB_db2::ErrorMsg (  ) 

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

ADODB_db2::ErrorNo (  ) 

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

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

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

ADODB_db2::MetaColumns ( table,
normalize = true 
)

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

References $rs, and DB2Types().

Here is the call graph for this function:

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

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

References $rs.

ADODB_db2::MetaPrimaryKeys ( table  ) 

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

References $rs.

ADODB_db2::MetaTables ( ttype = false,
schema = false 
)

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

References $rs.

ADODB_db2::Prepare ( sql  ) 

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

References $sql.

ADODB_db2::RollbackTrans (  ) 

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

Referenced by CommitTrans().

Here is the caller graph for this function:

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

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

References $rs, and $sql.

ADODB_db2::ServerInfo (  ) 

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

References $row.

ADODB_db2::SQLDate ( fmt,
col = false 
)

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

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

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


Member Data Documentation

ADODB_db2::$_autocommit = true

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

ADODB_db2::$_bindInputArray = false

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

ADODB_db2::$_dropSeqSQL = "DROP SEQUENCE %s"

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

ADODB_db2::$_genIDSQL = "VALUES NEXTVAL FOR %s"

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

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

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

ADODB_db2::$_haserrorfunctions = true

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

ADODB_db2::$_lastAffectedRows = 0

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

ADODB_db2::$binmode = DB2_BINARY

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

ADODB_db2::$concat_operator = '||'

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

ADODB_db2::$databaseType = "db2"

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

ADODB_db2::$dataProvider = "db2"

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

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

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

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

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

ADODB_db2::$hasAffectedRows = true

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

ADODB_db2::$hasInsertID = true

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

ADODB_db2::$replaceQuote = "''"

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

ADODB_db2::$sysDate = 'CURRENT DATE'

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

ADODB_db2::$sysTime = 'CURRENT TIME'

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

ADODB_db2::$sysTimeStamp = 'CURRENT TIMESTAMP'

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

ADODB_db2::$uCaseTables = true

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

ADODB_db2::$useFetchArray = false

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


The documentation for this class was generated from the following file: