TYPO3 CMS  TYPO3_6-2
ADODB_odbtp Class Reference
Inheritance diagram for ADODB_odbtp:
ADODB_odbtp_unicode

Public Member Functions

 ADODB_odbtp ()
 
 ServerInfo ()
 
 ErrorMsg ()
 
 ErrorNo ()
 
 _insertid ()
 
 _affectedrows ()
 
 CreateSequence ($seqname='adodbseq', $start=1)
 
 DropSequence ($seqname)
 
 GenID ($seq='adodbseq', $start=1)
 
 _connect ($HostOrInterface, $UserOrDSN='', $argPassword='', $argDatabase='')
 
 _pconnect ($HostOrInterface, $UserOrDSN='', $argPassword='', $argDatabase='')
 
 SelectDB ($dbName)
 
 MetaTables ($ttype='', $showSchema=false, $mask=false)
 
 MetaColumns ($table, $upper=true)
 
 MetaPrimaryKeys ($table, $owner='')
 
 MetaForeignKeys ($table, $owner='', $upper=false)
 
 BeginTrans ()
 
 CommitTrans ($ok=true)
 
 RollbackTrans ()
 
 SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0)
 
 Prepare ($sql)
 
 PrepareSP ($sql)
 
 Parameter (&$stmt, &$var, $name, $isOutput=false, $maxLen=0, $type=0)
 
 UpdateBlob ($table, $column, $val, $where, $blobtype='image')
 
 MetaIndexes ($table, $primary=false, $owner=false)
 
 MetaIndexes_mssql ($table, $primary=false, $owner=false)
 
 IfNull ( $field, $ifNull)
 
 _query ($sql, $inputarr=false)
 
 _close ()
 

Public Attributes

 $databaseType = "odbtp"
 
 $dataProvider = "odbtp"
 
 $fmtDate = "'Y-m-d'"
 
 $fmtTimeStamp = "'Y-m-d, h:i:sA'"
 
 $replaceQuote = "''"
 
 $odbc_driver = 0
 
 $hasAffectedRows = true
 
 $hasInsertID = false
 
 $hasGenID = true
 
 $hasMoveFirst = true
 
 $_genSeqSQL = "create table %s (seq_name char(30) not null unique , seq_value integer not null)"
 
 $_dropSeqSQL = "delete from adodb_seq where seq_name = '%s'"
 
 $_bindInputArray = false
 
 $_useUnicodeSQL = false
 
 $_canPrepareSP = false
 
 $_dontPoolDBC = true
 

Detailed Description

Definition at line 17 of file adodb-odbtp.inc.php.

Member Function Documentation

◆ _affectedrows()

ADODB_odbtp::_affectedrows ( )

Definition at line 91 of file adodb-odbtp.inc.php.

◆ _close()

ADODB_odbtp::_close ( )

Definition at line 658 of file adodb-odbtp.inc.php.

◆ _connect()

ADODB_odbtp::_connect (   $HostOrInterface,
  $UserOrDSN = '',
  $argPassword = '',
  $argDatabase = '' 
)

Definition at line 173 of file adodb-odbtp.inc.php.

References ErrorMsg().

Referenced by _pconnect().

◆ _insertid()

ADODB_odbtp::_insertid ( )

Definition at line 81 of file adodb-odbtp.inc.php.

◆ _pconnect()

ADODB_odbtp::_pconnect (   $HostOrInterface,
  $UserOrDSN = '',
  $argPassword = '',
  $argDatabase = '' 
)

Definition at line 286 of file adodb-odbtp.inc.php.

References _connect().

◆ _query()

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

Definition at line 608 of file adodb-odbtp.inc.php.

References $sql.

◆ ADODB_odbtp()

ADODB_odbtp::ADODB_odbtp ( )

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

Referenced by ADODB_odbtp_unicode\ADODB_odbtp_unicode().

◆ BeginTrans()

ADODB_odbtp::BeginTrans ( )

Definition at line 417 of file adodb-odbtp.inc.php.

References $rs.

◆ CommitTrans()

ADODB_odbtp::CommitTrans (   $ok = true)

Definition at line 432 of file adodb-odbtp.inc.php.

References RollbackTrans().

◆ CreateSequence()

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

Definition at line 99 of file adodb-odbtp.inc.php.

◆ DropSequence()

ADODB_odbtp::DropSequence (   $seqname)

Definition at line 123 of file adodb-odbtp.inc.php.

◆ ErrorMsg()

ADODB_odbtp::ErrorMsg ( )

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

Referenced by _connect().

◆ ErrorNo()

ADODB_odbtp::ErrorNo ( )

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

◆ GenID()

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

Definition at line 129 of file adodb-odbtp.inc.php.

◆ IfNull()

ADODB_odbtp::IfNull (   $field,
  $ifNull 
)

Definition at line 597 of file adodb-odbtp.inc.php.

◆ MetaColumns()

ADODB_odbtp::MetaColumns (   $table,
  $upper = true 
)

Definition at line 324 of file adodb-odbtp.inc.php.

References $rs.

◆ MetaForeignKeys()

ADODB_odbtp::MetaForeignKeys (   $table,
  $owner = '',
  $upper = false 
)

Definition at line 387 of file adodb-odbtp.inc.php.

◆ MetaIndexes()

ADODB_odbtp::MetaIndexes (   $table,
  $primary = false,
  $owner = false 
)

Definition at line 547 of file adodb-odbtp.inc.php.

References MetaIndexes_mssql().

◆ MetaIndexes_mssql()

ADODB_odbtp::MetaIndexes_mssql (   $table,
  $primary = false,
  $owner = false 
)

Definition at line 557 of file adodb-odbtp.inc.php.

References $rs, and $sql.

Referenced by MetaIndexes().

◆ MetaPrimaryKeys()

ADODB_odbtp::MetaPrimaryKeys (   $table,
  $owner = '' 
)

Definition at line 370 of file adodb-odbtp.inc.php.

◆ MetaTables()

ADODB_odbtp::MetaTables (   $ttype = '',
  $showSchema = false,
  $mask = false 
)

Definition at line 302 of file adodb-odbtp.inc.php.

◆ Parameter()

ADODB_odbtp::Parameter ( $stmt,
$var,
  $name,
  $isOutput = false,
  $maxLen = 0,
  $type = 0 
)

Definition at line 509 of file adodb-odbtp.inc.php.

◆ Prepare()

ADODB_odbtp::Prepare (   $sql)

Definition at line 463 of file adodb-odbtp.inc.php.

References $sql.

◆ PrepareSP()

ADODB_odbtp::PrepareSP (   $sql)

Definition at line 478 of file adodb-odbtp.inc.php.

References $sql.

◆ RollbackTrans()

ADODB_odbtp::RollbackTrans ( )

Definition at line 443 of file adodb-odbtp.inc.php.

Referenced by CommitTrans().

◆ SelectDB()

ADODB_odbtp::SelectDB (   $dbName)

Definition at line 292 of file adodb-odbtp.inc.php.

◆ SelectLimit()

ADODB_odbtp::SelectLimit (   $sql,
  $nrows = -1,
  $offset = -1,
  $inputarr = false,
  $secs2cache = 0 
)

Definition at line 453 of file adodb-odbtp.inc.php.

References $sql.

◆ ServerInfo()

ADODB_odbtp::ServerInfo ( )

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

◆ UpdateBlob()

ADODB_odbtp::UpdateBlob (   $table,
  $column,
  $val,
  $where,
  $blobtype = 'image' 
)

Definition at line 535 of file adodb-odbtp.inc.php.

References $sql.

Member Data Documentation

◆ $_bindInputArray

ADODB_odbtp::$_bindInputArray = false

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

◆ $_canPrepareSP

ADODB_odbtp::$_canPrepareSP = false

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

◆ $_dontPoolDBC

ADODB_odbtp::$_dontPoolDBC = true

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

◆ $_dropSeqSQL

ADODB_odbtp::$_dropSeqSQL = "delete from adodb_seq where seq_name = '%s'"

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

◆ $_genSeqSQL

ADODB_odbtp::$_genSeqSQL = "create table %s (seq_name char(30) not null unique , seq_value integer not null)"

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

◆ $_useUnicodeSQL

ADODB_odbtp::$_useUnicodeSQL = false

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

◆ $databaseType

ADODB_odbtp::$databaseType = "odbtp"

Definition at line 18 of file adodb-odbtp.inc.php.

◆ $dataProvider

ADODB_odbtp::$dataProvider = "odbtp"

Definition at line 19 of file adodb-odbtp.inc.php.

◆ $fmtDate

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

Definition at line 20 of file adodb-odbtp.inc.php.

◆ $fmtTimeStamp

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

Definition at line 21 of file adodb-odbtp.inc.php.

◆ $hasAffectedRows

ADODB_odbtp::$hasAffectedRows = true

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

◆ $hasGenID

ADODB_odbtp::$hasGenID = true

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

◆ $hasInsertID

ADODB_odbtp::$hasInsertID = false

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

◆ $hasMoveFirst

ADODB_odbtp::$hasMoveFirst = true

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

◆ $odbc_driver

ADODB_odbtp::$odbc_driver = 0

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

◆ $replaceQuote

ADODB_odbtp::$replaceQuote = "''"

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