TYPO3 CMS  TYPO3_6-2
ADODB_odbc Class Reference
Inheritance diagram for ADODB_odbc:
ADODB_odbc_mssql ADODB_odbc_oracle

Public Member Functions

 ADODB_odbc ()
 
 _connect ($argDSN, $argUsername, $argPassword, $argDatabasename)
 
 _pconnect ($argDSN, $argUsername, $argPassword, $argDatabasename)
 
 ServerInfo ()
 
 CreateSequence ($seqname='adodbseq', $start=1)
 
 DropSequence ($seqname)
 
 GenID ($seq='adodbseq', $start=1)
 
 ErrorMsg ()
 
 ErrorNo ()
 
 BeginTrans ()
 
 CommitTrans ($ok=true)
 
 RollbackTrans ()
 
 MetaPrimaryKeys ($table, $owner=false)
 
 MetaTables ($ttype=false, $showSchema=false, $mask=false)
 
 ODBCTypes ($t)
 
 MetaColumns ($table, $normalize=true)
 
 Prepare ($sql)
 
 _query ($sql, $inputarr=false)
 
 UpdateBlob ($table, $column, $val, $where, $blobtype='BLOB')
 
 _close ()
 
 _affectedrows ()
 

Public Attributes

 $databaseType = "odbc"
 
 $fmtDate = "'Y-m-d'"
 
 $fmtTimeStamp = "'Y-m-d, h:i:sA'"
 
 $replaceQuote = "''"
 
 $dataProvider = "odbc"
 
 $hasAffectedRows = true
 
 $binmode = ODBC_BINMODE_RETURN
 
 $useFetchArray = false
 
 $_bindInputArray = false
 
 $curmode = SQL_CUR_USE_DRIVER
 
 $_genSeqSQL = "create table %s (id integer)"
 
 $_autocommit = true
 
 $_haserrorfunctions = true
 
 $_has_stupid_odbc_fetch_api_change = true
 
 $_lastAffectedRows = 0
 
 $uCaseTables = true
 
 $_dropSeqSQL = 'drop table %s'
 

Detailed Description

Definition at line 22 of file adodb-odbc.inc.php.

Member Function Documentation

◆ _affectedrows()

ADODB_odbc::_affectedrows ( )

Definition at line 590 of file adodb-odbc.inc.php.

References $_lastAffectedRows.

◆ _close()

ADODB_odbc::_close ( )

Definition at line 583 of file adodb-odbc.inc.php.

◆ _connect()

ADODB_odbc::_connect (   $argDSN,
  $argUsername,
  $argPassword,
  $argDatabasename 
)

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

◆ _pconnect()

ADODB_odbc::_pconnect (   $argDSN,
  $argUsername,
  $argPassword,
  $argDatabasename 
)

Definition at line 72 of file adodb-odbc.inc.php.

References debug().

◆ _query()

ADODB_odbc::_query (   $sql,
  $inputarr = false 
)

Definition at line 502 of file adodb-odbc.inc.php.

References $sql.

Referenced by ADODB_odbc_mssql\_query().

◆ ADODB_odbc()

ADODB_odbc::ADODB_odbc ( )

◆ BeginTrans()

ADODB_odbc::BeginTrans ( )

Definition at line 213 of file adodb-odbc.inc.php.

◆ CommitTrans()

ADODB_odbc::CommitTrans (   $ok = true)

Definition at line 222 of file adodb-odbc.inc.php.

References RollbackTrans().

◆ CreateSequence()

ADODB_odbc::CreateSequence (   $seqname = 'adodbseq',
  $start = 1 
)

Definition at line 125 of file adodb-odbc.inc.php.

◆ DropSequence()

ADODB_odbc::DropSequence (   $seqname)

Definition at line 135 of file adodb-odbc.inc.php.

◆ ErrorMsg()

ADODB_odbc::ErrorMsg ( )

Definition at line 183 of file adodb-odbc.inc.php.

◆ ErrorNo()

ADODB_odbc::ErrorNo ( )

Definition at line 192 of file adodb-odbc.inc.php.

◆ GenID()

ADODB_odbc::GenID (   $seq = 'adodbseq',
  $start = 1 
)

Definition at line 147 of file adodb-odbc.inc.php.

◆ MetaColumns()

ADODB_odbc::MetaColumns (   $table,
  $normalize = true 
)

Definition at line 383 of file adodb-odbc.inc.php.

References $_has_stupid_odbc_fetch_api_change, $rs, and ODBCTypes().

◆ MetaPrimaryKeys()

ADODB_odbc::MetaPrimaryKeys (   $table,
  $owner = false 
)

Definition at line 243 of file adodb-odbc.inc.php.

References $_has_stupid_odbc_fetch_api_change, and $rs.

◆ MetaTables()

ADODB_odbc::MetaTables (   $ttype = false,
  $showSchema = false,
  $mask = false 
)

Definition at line 277 of file adodb-odbc.inc.php.

References $_has_stupid_odbc_fetch_api_change, and $rs.

◆ ODBCTypes()

ADODB_odbc::ODBCTypes (   $t)

Definition at line 343 of file adodb-odbc.inc.php.

Referenced by MetaColumns().

◆ Prepare()

ADODB_odbc::Prepare (   $sql)

Definition at line 490 of file adodb-odbc.inc.php.

References $sql.

◆ RollbackTrans()

ADODB_odbc::RollbackTrans ( )

Definition at line 233 of file adodb-odbc.inc.php.

Referenced by CommitTrans().

◆ ServerInfo()

ADODB_odbc::ServerInfo ( )

Definition at line 95 of file adodb-odbc.inc.php.

◆ UpdateBlob()

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

Definition at line 577 of file adodb-odbc.inc.php.

Member Data Documentation

◆ $_autocommit

ADODB_odbc::$_autocommit = true

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

◆ $_bindInputArray

ADODB_odbc::$_bindInputArray = false

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

◆ $_dropSeqSQL

ADODB_odbc::$_dropSeqSQL = 'drop table %s'

Definition at line 134 of file adodb-odbc.inc.php.

◆ $_genSeqSQL

ADODB_odbc::$_genSeqSQL = "create table %s (id integer)"

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

◆ $_has_stupid_odbc_fetch_api_change

ADODB_odbc::$_has_stupid_odbc_fetch_api_change = true

Definition at line 38 of file adodb-odbc.inc.php.

Referenced by MetaColumns(), MetaPrimaryKeys(), and MetaTables().

◆ $_haserrorfunctions

ADODB_odbc::$_haserrorfunctions = true

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

◆ $_lastAffectedRows

ADODB_odbc::$_lastAffectedRows = 0

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

Referenced by _affectedrows().

◆ $binmode

ADODB_odbc::$binmode = ODBC_BINMODE_RETURN

Definition at line 29 of file adodb-odbc.inc.php.

◆ $curmode

ADODB_odbc::$curmode = SQL_CUR_USE_DRIVER

Definition at line 34 of file adodb-odbc.inc.php.

◆ $databaseType

ADODB_odbc::$databaseType = "odbc"

Definition at line 23 of file adodb-odbc.inc.php.

◆ $dataProvider

ADODB_odbc::$dataProvider = "odbc"

Definition at line 27 of file adodb-odbc.inc.php.

◆ $fmtDate

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

Definition at line 24 of file adodb-odbc.inc.php.

◆ $fmtTimeStamp

ADODB_odbc::$fmtTimeStamp = "'Y-m-d, h:i:sA'"

Definition at line 25 of file adodb-odbc.inc.php.

◆ $hasAffectedRows

ADODB_odbc::$hasAffectedRows = true

Definition at line 28 of file adodb-odbc.inc.php.

◆ $replaceQuote

ADODB_odbc::$replaceQuote = "''"

Definition at line 26 of file adodb-odbc.inc.php.

◆ $uCaseTables

ADODB_odbc::$uCaseTables = true

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

◆ $useFetchArray

ADODB_odbc::$useFetchArray = false

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