TYPO3 CMS  TYPO3_7-6
ADODB_odbtp Class Reference
Inheritance diagram for ADODB_odbtp:
ADODB_odbtp_unicode

Public Member Functions

 __construct ()
 
 ServerInfo ()
 
 ErrorMsg ()
 
 ErrorNo ()
 
 _insertid ()
 
 _affectedrows ()
 
 CreateSequence ($seqname='adodbseq', $start=1)
 
 DropSequence ($seqname='adodbseq')
 
 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, $param=true)
 
 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 19 of file adodb-odbtp.inc.php.

Constructor & Destructor Documentation

◆ __construct()

ADODB_odbtp::__construct ( )

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

Member Function Documentation

◆ _affectedrows()

ADODB_odbtp::_affectedrows ( )

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

◆ _close()

ADODB_odbtp::_close ( )

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

◆ _connect()

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

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

References ErrorMsg().

Referenced by _pconnect().

◆ _insertid()

ADODB_odbtp::_insertid ( )

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

◆ _pconnect()

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

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

References _connect().

◆ _query()

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

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

References $sql.

◆ BeginTrans()

ADODB_odbtp::BeginTrans ( )

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

References $rs.

◆ CommitTrans()

ADODB_odbtp::CommitTrans (   $ok = true)

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

References RollbackTrans().

◆ CreateSequence()

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

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

◆ DropSequence()

ADODB_odbtp::DropSequence (   $seqname = 'adodbseq')

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

◆ ErrorMsg()

ADODB_odbtp::ErrorMsg ( )

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

Referenced by _connect().

◆ ErrorNo()

ADODB_odbtp::ErrorNo ( )

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

◆ GenID()

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

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

◆ IfNull()

ADODB_odbtp::IfNull (   $field,
  $ifNull 
)

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

◆ MetaColumns()

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

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

References $rs.

◆ MetaForeignKeys()

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

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

References $a.

◆ MetaIndexes()

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

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

References MetaIndexes_mssql().

◆ MetaIndexes_mssql()

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

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

References $rs, and $sql.

Referenced by MetaIndexes().

◆ MetaPrimaryKeys()

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

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

◆ MetaTables()

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

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

◆ Parameter()

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

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

◆ Prepare()

ADODB_odbtp::Prepare (   $sql)

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

References $sql.

◆ PrepareSP()

ADODB_odbtp::PrepareSP (   $sql,
  $param = true 
)

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

References $sql.

◆ RollbackTrans()

ADODB_odbtp::RollbackTrans ( )

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

Referenced by CommitTrans().

◆ SelectDB()

ADODB_odbtp::SelectDB (   $dbName)

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

◆ SelectLimit()

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

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

References $sql.

◆ ServerInfo()

ADODB_odbtp::ServerInfo ( )

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

◆ UpdateBlob()

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

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

References $sql.

Member Data Documentation

◆ $_bindInputArray

ADODB_odbtp::$_bindInputArray = false

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

◆ $_canPrepareSP

ADODB_odbtp::$_canPrepareSP = false

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

◆ $_dontPoolDBC

ADODB_odbtp::$_dontPoolDBC = true

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

◆ $_dropSeqSQL

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

Definition at line 32 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 31 of file adodb-odbtp.inc.php.

◆ $_useUnicodeSQL

ADODB_odbtp::$_useUnicodeSQL = false

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

◆ $databaseType

ADODB_odbtp::$databaseType = "odbtp"

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

◆ $dataProvider

ADODB_odbtp::$dataProvider = "odbtp"

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

◆ $fmtDate

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

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

◆ $fmtTimeStamp

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

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

◆ $hasAffectedRows

ADODB_odbtp::$hasAffectedRows = true

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

◆ $hasGenID

ADODB_odbtp::$hasGenID = true

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

◆ $hasInsertID

ADODB_odbtp::$hasInsertID = false

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

◆ $hasMoveFirst

ADODB_odbtp::$hasMoveFirst = true

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

◆ $odbc_driver

ADODB_odbtp::$odbc_driver = 0

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

◆ $replaceQuote

ADODB_odbtp::$replaceQuote = "''"

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