ADODB_borland_ibase Class Reference

Inheritance diagram for ADODB_borland_ibase:

Inheritance graph
[legend]
Collaboration diagram for ADODB_borland_ibase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ADODB_borland_ibase ()
 BeginTrans ()
 ServerInfo ()
SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0)

Public Attributes

 $databaseType = "borland_ibase"


Detailed Description

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


Member Function Documentation

ADODB_borland_ibase.ADODB_borland_ibase (  ) 

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

References ADODB_ibase.ADODB_ibase().

Here is the call graph for this function:

ADODB_borland_ibase.BeginTrans (  ) 

Begin a Transaction. Must be followed by CommitTrans() or RollbackTrans().

Returns:
true if succeeded or false if database does not support transactions

Reimplemented from ADODB_ibase.

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

ADODB_borland_ibase.ServerInfo (  ) 

Get server version info...

Returns:
An array with 2 elements: $arr['string'] is the description string, and $arr[version] is the version (also a string).

Reimplemented from ADODB_ibase.

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

References $arr, and $s.

& ADODB_borland_ibase.SelectLimit ( sql,
nrows = -1,
offset = -1,
inputarr = false,
secs2cache = 0 
)

Will select, getting rows from $offset (1-based), for $nrows. This simulates the MySQL "select * from table limit $offset,$nrows" , and the PostgreSQL "select * from table limit $nrows offset $offset". Note that MySQL and PostgreSQL parameter ordering is the opposite of the other. eg. SelectLimit('select * from table',3); will return rows 1 to 3 (1-based) SelectLimit('select * from table',3,2); will return rows 3 to 5 (1-based)

Uses SELECT TOP for Microsoft databases (when $this->hasTop is set) BUG: Currently SelectLimit fails with $sql with LIMIT or TOP clause already set

Parameters:
sql 
[offset] is the row to start calculations from (1-based)
[nrows] is the number of rows to get
[inputarr] array of bind variables
[secs2cache] is a private parameter only used by jlim
Returns:
the recordset ($rs->databaseType == 'array')

Reimplemented from ADOConnection.

Definition at line 58 of file adodb-borland_ibase.inc.php.

References $sql, ADOConnection.CacheExecute(), and ADOConnection.Execute().

Here is the call graph for this function:


Member Data Documentation

ADODB_borland_ibase.$databaseType = "borland_ibase"

Reimplemented from ADODB_ibase.

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


The documentation for this class was generated from the following file:
This documentation is part of typo3-unleashed.net.
It's an automatically created code documentation of the TYPO3 Content Management System.
Created with doxygen