"TYPO3 4.0.1: ADODB_ibase Class Reference", "datetime" => "Sat Dec 2 19:23:14 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>


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) | |
| 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) |
| BlobEncode ($blob) | |
| BlobDecode ($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 = "''" | |
| string that represents FALSE for a database | |
| $ibase_datefmt = '%Y-%m-%d' | |
| $fmtDate = "'Y-m-d'" | |
| uppercase function | |
| $ibase_timestampfmt = "%Y-%m-%d %H:%M:%S" | |
| $ibase_timefmt = "%H:%M:%S" | |
| $fmtTimeStamp = "'Y-m-d, H:i:s'" | |
| used by DBDate() as the default date format used by the database | |
| $concat_operator = '||' | |
| maximum size of blobs or large text fields (262144 = 256K)-- some db's die otherwise like foxpro | |
| $_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 | |
| has ability to run MoveFirst(), scrolling backwards | |
| $_bindInputArray = true | |
| A boolean variable to state whether its a persistent connection or normal connection. */. | |
| $buffers = 0 | |
| $dialect = 1 | |
| $sysDate = "cast('TODAY' as timestamp)" | |
| cache for 1 hour | |
| $sysTimeStamp = "cast('NOW' as timestamp)" | |
| name of function that returns the current date | |
| $ansiOuter = true | |
| operator to use for right outer join in WHERE clause | |
| $hasAffectedRows = false | |
| supports autoincrement ID? | |
| $poorAffectedRows = true | |
| $blobEncodeType = 'C' | |
| $role = false | |
Definition at line 29 of file adodb-ibase.inc.php.
|
|
Begin a Transaction. Must be followed by CommitTrans() or RollbackTrans().
Reimplemented from ADOConnection. Reimplemented in ADODB_borland_ibase. Definition at line 136 of file adodb-ibase.inc.php. Referenced by RowLock(). |
|
|
If database does not support transactions, always return true as data always commited
Reimplemented from ADOConnection. Definition at line 145 of file adodb-ibase.inc.php. References RollbackTrans(). |
|
|
Reimplemented from ADOConnection. Definition at line 299 of file adodb-ibase.inc.php. |
|
|
Reimplemented from ADOConnection. Definition at line 293 of file adodb-ibase.inc.php. |
|
||||||||||||
|
Generates a sequence id and stores it in $this->genID; GenID is only available if $this->hasGenID = true;
Reimplemented from ADOConnection. Definition at line 266 of file adodb-ibase.inc.php. References ADOConnection::Execute(). |
|
||||||||||||||||
|
List indexes on a table as an array.
Reimplemented from ADOConnection. Definition at line 190 of file adodb-ibase.inc.php. References ADOConnection::$false, ADOConnection::Execute(), and ADOConnection::SetFetchMode(). |
|
|
Should prepare the sql statement and return the stmt resource. For databases that do not support this, we return the $sql. To ensure compatibility with databases that do not support prepare: $stmt = $db->Prepare("insert into table (id, name) values (?,?)"); $db->Execute($stmt,array(1,'Jill')) or die('insert failed'); $db->Execute($stmt,array(2,'Joe')) or die('insert failed');
Reimplemented from ADOConnection. Definition at line 304 of file adodb-ibase.inc.php. |
|
|
If database does not support transactions, rollbacks always fail, so return false
Reimplemented from ADOConnection. Definition at line 177 of file adodb-ibase.inc.php. Referenced by CommitTrans(). |
|
|
Choose a database to connect to. Many databases do not support this.
Reimplemented from ADOConnection. Definition at line 283 of file adodb-ibase.inc.php. |
|
|
Get server version info...
Reimplemented from ADOConnection. Reimplemented in ADODB_borland_ibase, and ADODB_firebird. Definition at line 121 of file adodb-ibase.inc.php. References ADOConnection::_findvers(). |
|
||||||||||||||||||||||||
|
Update a blob column, given a where clause. There are more sophisticated blob handling functions that we could have implemented, but all require a very complex API. Instead we have chosen something that is extremely simple to understand and use. Note: $blobtype supports 'BLOB' and 'CLOB', default is BLOB of course. Usage to update a $blobvalue which has a primary key blob_id=1 into a field blobtable.blobcolumn: UpdateBlob('blobtable', 'blobcolumn', $blobvalue, 'blob_id=1'); Insert example: $conn->Execute('INSERT INTO blobtable (id, blobcol) VALUES (1, null)'); $conn->UpdateBlob('blobtable','blobcol',$blob,'id=1'); Reimplemented from ADOConnection. Definition at line 599 of file adodb-ibase.inc.php. |
|
||||||||||||||||||||||||
|
Usage: UpdateBlob('TABLE', 'COLUMN', '/path/to/file', 'ID=1'); $blobtype supports 'BLOB' and 'CLOB' $conn->Execute('INSERT INTO blobtable (id, blobcol) VALUES (1, null)'); $conn->UpdateBlob('blobtable','blobcol',$blobpath,'id=1'); Reimplemented from ADOConnection. Definition at line 571 of file adodb-ibase.inc.php. References ADOConnection::Execute(). |