

Fonctions membres publiques | |
| ADODB_oracle () | |
| DBDate ($d) | |
| DBTimeStamp ($ts) | |
| BindDate ($d) | |
| BindTimeStamp ($d) | |
| BeginTrans () | |
| CommitTrans ($ok=true) | |
| RollbackTrans () | |
| ErrorMsg () | |
| ErrorNo () | |
| _connect ($argHostname, $argUsername, $argPassword, $argDatabasename, $mode=0) | |
| _pconnect ($argHostname, $argUsername, $argPassword, $argDatabasename) | |
| _query ($sql, $inputarr=false) | |
| _close () | |
Attributs publics | |
| $databaseType = "oracle" | |
| $replaceQuote = "''" | |
| string that represents FALSE for a database | |
| $concat_operator = '||' | |
| maximum size of blobs or large text fields (262144 = 256K)-- some db's die otherwise like foxpro | |
| $_curs | |
| $_initdate = true | |
| $metaTablesSQL = 'select table_name from cat' | |
| $metaColumnsSQL = "select cname,coltype,width from col where tname='%s' order by colno" | |
| $sysDate = "TO_DATE(TO_CHAR(SYSDATE,'YYYY-MM-DD'),'YYYY-MM-DD')" | |
| Use 'true' to store the item compressed (uses zlib). | |
| $sysTimeStamp = 'SYSDATE' | |
| name of function that returns the current date | |
| $connectSID = true | |
| ADODB_oracle::ADODB_oracle | ( | ) |
| ADODB_oracle::DBDate | ( | $ | d | ) |
Converts a date "d" to a string that the database can understand.
| d | a date in Unix date time format. |
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::DBTimeStamp | ( | $ | ts | ) |
Converts a timestamp "ts" to a string that the database can understand.
| ts | a timestamp in Unix date time format. |
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::BindDate | ( | $ | d | ) |
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::BindTimeStamp | ( | $ | d | ) |
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::BeginTrans | ( | ) |
Begin a Transaction. Must be followed by CommitTrans() or RollbackTrans().
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::CommitTrans | ( | $ | ok = true |
) |
If database does not support transactions, always return true as data always commited
| $ok | set to false to rollback transaction, true to commit |
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::RollbackTrans | ( | ) |
If database does not support transactions, rollbacks always fail, so return false
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::ErrorMsg | ( | ) |
| ADODB_oracle::ErrorNo | ( | ) |
| ADODB_oracle::_connect | ( | $ | argHostname, | |
| $ | argUsername, | |||
| $ | argPassword, | |||
| $ | argDatabasename, | |||
| $ | mode = 0 | |||
| ) |
| ADODB_oracle::_pconnect | ( | $ | argHostname, | |
| $ | argUsername, | |||
| $ | argPassword, | |||
| $ | argDatabasename | |||
| ) |
| ADODB_oracle::_query | ( | $ | sql, | |
| $ | inputarr = false | |||
| ) |
| ADODB_oracle::_close | ( | ) |
| ADODB_oracle::$databaseType = "oracle" |
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::$replaceQuote = "''" |
| ADODB_oracle::$concat_operator = '||' |
maximum size of blobs or large text fields (262144 = 256K)-- some db's die otherwise like foxpro
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::$_curs |
| ADODB_oracle::$_initdate = true |
| ADODB_oracle::$metaTablesSQL = 'select table_name from cat' |
Réimplémentée à partir de ADOConnection.
| ADODB_oracle::$metaColumnsSQL = "select cname,coltype,width from col where tname='%s' order by colno" |
| ADODB_oracle::$sysDate = "TO_DATE(TO_CHAR(SYSDATE,'YYYY-MM-DD'),'YYYY-MM-DD')" |
| ADODB_oracle::$sysTimeStamp = 'SYSDATE' |
| ADODB_oracle::$connectSID = true |
1.5.3