TYPO3 CMS  TYPO3_6-2
ADODB_ibase Class Reference
Inheritance diagram for ADODB_ibase:
ADODB_borland_ibase ADODB_firebird

Public Member Functions

 ADODB_ibase ()
 
 _connect ($argHostname, $argUsername, $argPassword, $argDatabasename, $persist=false)
 
 _pconnect ($argHostname, $argUsername, $argPassword, $argDatabasename)
 
 MetaPrimaryKeys ($table, $owner_notused=false, $internalKey=false)
 
 ServerInfo ()
 
 BeginTrans ()
 
 CommitTrans ($ok=true)
 
 _Execute ($sql, $inputarr=false)
 
 RollbackTrans ()
 
 MetaIndexes ($table, $primary=FALSE, $owner=false)
 
 RowLock ($tables, $where, $col=false)
 
 CreateSequence ($seqname, $startID=1)
 
 DropSequence ($seqname)
 
 GenID ($seqname='adodbseq', $startID=1)
 
 SelectDB ($dbName)
 
 _handleerror ()
 
 ErrorNo ()
 
 ErrorMsg ()
 
 Prepare ($sql)
 
 _query ($sql, $iarr=false)
 
 _close ()
 
 _ConvertFieldType (&$fld, $ftype, $flen, $fscale, $fsubtype, $fprecision, $dialect3)
 
 MetaColumns ($table, $normalize=true)
 
 BlobEncode ( $blob)
 
 BlobDecode ($blob)
 
 _BlobDecode_old ( $blob)
 
 _BlobDecode ( $blob)
 
 UpdateBlobFile ($table, $column, $path, $where, $blobtype='BLOB')
 
 UpdateBlob ($table, $column, $val, $where, $blobtype='BLOB')
 
 OldUpdateBlob ($table, $column, $val, $where, $blobtype='BLOB')
 
 SQLDate ($fmt, $col=false)
 

Public Attributes

 $databaseType = "ibase"
 
 $dataProvider = "ibase"
 
 $replaceQuote = "''"
 
 $ibase_datefmt = '%Y-%m-%d'
 
 $fmtDate = "'Y-m-d'"
 
 $ibase_timestampfmt = "%Y-%m-%d %H:%M:%S"
 
 $ibase_timefmt = "%H:%M:%S"
 
 $fmtTimeStamp = "'Y-m-d, H:i:s'"
 
 $concat_operator ='||'
 
 $_transactionID
 
 $metaTablesSQL = "select rdb\$relation_name from rdb\$relations where rdb\$relation_name not like 'RDB\$%'"
 
 $metaColumnsSQL = "select a.rdb\$field_name, a.rdb\$null_flag, a.rdb\$default_source, b.rdb\$field_length, b.rdb\$field_scale, b.rdb\$field_sub_type, b.rdb\$field_precision, b.rdb\$field_type from rdb\$relation_fields a, rdb\$fields b where a.rdb\$field_source = b.rdb\$field_name and a.rdb\$relation_name = '%s' order by a.rdb\$field_position asc"
 
 $ibasetrans
 
 $hasGenID = true
 
 $_bindInputArray = true
 
 $buffers = 0
 
 $dialect = 1
 
 $sysDate = "cast('TODAY' as timestamp)"
 
 $sysTimeStamp = "CURRENT_TIMESTAMP"
 
 $ansiOuter = true
 
 $hasAffectedRows = false
 
 $poorAffectedRows = true
 
 $blobEncodeType = 'C'
 
 $role = false
 

Detailed Description

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

Member Function Documentation

◆ _BlobDecode()

ADODB_ibase::_BlobDecode (   $blob)

Definition at line 571 of file adodb-ibase.inc.php.

◆ _BlobDecode_old()

ADODB_ibase::_BlobDecode_old (   $blob)

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

◆ _close()

ADODB_ibase::_close ( )

Definition at line 375 of file adodb-ibase.inc.php.

◆ _connect()

ADODB_ibase::_connect (   $argHostname,
  $argUsername,
  $argPassword,
  $argDatabasename,
  $persist = false 
)

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

References _handleerror().

Referenced by _pconnect().

◆ _ConvertFieldType()

ADODB_ibase::_ConvertFieldType ( $fld,
  $ftype,
  $flen,
  $fscale,
  $fsubtype,
  $fprecision,
  $dialect3 
)

Definition at line 382 of file adodb-ibase.inc.php.

Referenced by MetaColumns().

◆ _Execute()

ADODB_ibase::_Execute (   $sql,
  $inputarr = false 
)

Definition at line 162 of file adodb-ibase.inc.php.

References $sql.

◆ _handleerror()

ADODB_ibase::_handleerror ( )

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

Referenced by _connect(), and _query().

◆ _pconnect()

ADODB_ibase::_pconnect (   $argHostname,
  $argUsername,
  $argPassword,
  $argDatabasename 
)

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

References _connect().

◆ _query()

ADODB_ibase::_query (   $sql,
  $iarr = false 
)

Definition at line 313 of file adodb-ibase.inc.php.

References $_transactionID, $conn, $sql, and _handleerror().

◆ ADODB_ibase()

ADODB_ibase::ADODB_ibase ( )

◆ BeginTrans()

ADODB_ibase::BeginTrans ( )

Definition at line 136 of file adodb-ibase.inc.php.

References $_transactionID.

Referenced by RowLock().

◆ BlobDecode()

ADODB_ibase::BlobDecode (   $blob)

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

◆ BlobEncode()

ADODB_ibase::BlobEncode (   $blob)

Definition at line 540 of file adodb-ibase.inc.php.

◆ CommitTrans()

ADODB_ibase::CommitTrans (   $ok = true)

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

References RollbackTrans().

◆ CreateSequence()

ADODB_ibase::CreateSequence (   $seqname,
  $startID = 1 
)

Definition at line 253 of file adodb-ibase.inc.php.

◆ DropSequence()

ADODB_ibase::DropSequence (   $seqname)

Definition at line 260 of file adodb-ibase.inc.php.

◆ ErrorMsg()

ADODB_ibase::ErrorMsg ( )

Definition at line 299 of file adodb-ibase.inc.php.

◆ ErrorNo()

ADODB_ibase::ErrorNo ( )

Definition at line 293 of file adodb-ibase.inc.php.

◆ GenID()

ADODB_ibase::GenID (   $seqname = 'adodbseq',
  $startID = 1 
)

Definition at line 266 of file adodb-ibase.inc.php.

References $rs.

◆ MetaColumns()

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

Definition at line 479 of file adodb-ibase.inc.php.

References $rs, and _ConvertFieldType().

◆ MetaIndexes()

ADODB_ibase::MetaIndexes (   $table,
  $primary = FALSE,
  $owner = false 
)

Definition at line 190 of file adodb-ibase.inc.php.

References $rs, and $sql.

◆ MetaPrimaryKeys()

ADODB_ibase::MetaPrimaryKeys (   $table,
  $owner_notused = false,
  $internalKey = false 
)

Definition at line 105 of file adodb-ibase.inc.php.

References $sql.

◆ OldUpdateBlob()

ADODB_ibase::OldUpdateBlob (   $table,
  $column,
  $val,
  $where,
  $blobtype = 'BLOB' 
)

Definition at line 659 of file adodb-ibase.inc.php.

◆ Prepare()

ADODB_ibase::Prepare (   $sql)

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

References $sql.

◆ RollbackTrans()

ADODB_ibase::RollbackTrans ( )

Definition at line 177 of file adodb-ibase.inc.php.

Referenced by CommitTrans().

◆ RowLock()

ADODB_ibase::RowLock (   $tables,
  $where,
  $col = false 
)

Definition at line 245 of file adodb-ibase.inc.php.

References BeginTrans().

◆ SelectDB()

ADODB_ibase::SelectDB (   $dbName)

Definition at line 283 of file adodb-ibase.inc.php.

◆ ServerInfo()

ADODB_ibase::ServerInfo ( )

Definition at line 121 of file adodb-ibase.inc.php.

References $dialect.

◆ SQLDate()

ADODB_ibase::SQLDate (   $fmt,
  $col = false 
)

Definition at line 670 of file adodb-ibase.inc.php.

References $sysDate.

◆ UpdateBlob()

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

Definition at line 625 of file adodb-ibase.inc.php.

◆ UpdateBlobFile()

ADODB_ibase::UpdateBlobFile (   $table,
  $column,
  $path,
  $where,
  $blobtype = 'BLOB' 
)

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

Member Data Documentation

◆ $_bindInputArray

ADODB_ibase::$_bindInputArray = true

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

◆ $_transactionID

ADODB_ibase::$_transactionID

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

Referenced by _query(), ADODB_borland_ibase\BeginTrans(), and BeginTrans().

◆ $ansiOuter

ADODB_ibase::$ansiOuter = true

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

◆ $blobEncodeType

ADODB_ibase::$blobEncodeType = 'C'

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

◆ $buffers

ADODB_ibase::$buffers = 0

Definition at line 47 of file adodb-ibase.inc.php.

◆ $concat_operator

ADODB_ibase::$concat_operator ='||'

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

◆ $databaseType

ADODB_ibase::$databaseType = "ibase"

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

◆ $dataProvider

ADODB_ibase::$dataProvider = "ibase"

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

◆ $dialect

ADODB_ibase::$dialect = 1

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

Referenced by ADODB_borland_ibase\ServerInfo(), and ServerInfo().

◆ $fmtDate

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

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

◆ $fmtTimeStamp

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

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

◆ $hasAffectedRows

ADODB_ibase::$hasAffectedRows = false

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

◆ $hasGenID

ADODB_ibase::$hasGenID = true

Definition at line 45 of file adodb-ibase.inc.php.

◆ $ibase_datefmt

ADODB_ibase::$ibase_datefmt = '%Y-%m-%d'

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

◆ $ibase_timefmt

ADODB_ibase::$ibase_timefmt = "%H:%M:%S"

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

◆ $ibase_timestampfmt

ADODB_ibase::$ibase_timestampfmt = "%Y-%m-%d %H:%M:%S"

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

◆ $ibasetrans

ADODB_ibase::$ibasetrans

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

◆ $metaColumnsSQL

ADODB_ibase::$metaColumnsSQL = "select a.rdb\$field_name, a.rdb\$null_flag, a.rdb\$default_source, b.rdb\$field_length, b.rdb\$field_scale, b.rdb\$field_sub_type, b.rdb\$field_precision, b.rdb\$field_type from rdb\$relation_fields a, rdb\$fields b where a.rdb\$field_source = b.rdb\$field_name and a.rdb\$relation_name = '%s' order by a.rdb\$field_position asc"

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

◆ $metaTablesSQL

ADODB_ibase::$metaTablesSQL = "select rdb\$relation_name from rdb\$relations where rdb\$relation_name not like 'RDB\$%'"

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

◆ $poorAffectedRows

ADODB_ibase::$poorAffectedRows = true

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

◆ $replaceQuote

ADODB_ibase::$replaceQuote = "''"

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

◆ $role

ADODB_ibase::$role = false

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

◆ $sysDate

ADODB_ibase::$sysDate = "cast('TODAY' as timestamp)"

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

Referenced by SQLDate().

◆ $sysTimeStamp

ADODB_ibase::$sysTimeStamp = "CURRENT_TIMESTAMP"

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