Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Db_Adapter_Pdo_Ibm_Ids Class Reference

Public Member Functions

 __construct ($adapter)
 Construct the data server class.
 
 listTables ()
 Returns a list of the tables in the database.
 
 describeTable ($tableName, $schemaName=null)
 IDS catalog lookup for describe table.
 
 limit ($sql, $count, $offset=0)
 Adds an IDS-specific LIMIT clause to the SELECT statement.
 
 lastSequenceId ($sequenceName)
 IDS-specific last sequence id.
 
 nextSequenceId ($sequenceName)
 IDS-specific sequence id value.
 

Protected Member Functions

 _getDataType ($typeNo)
 Map number representation of a data type to a string.
 
 _getPrimaryInfo ($tabid)
 Helper method to retrieve primary key column and column location.
 

Protected Attributes

 $_adapter = null
 

Constructor & Destructor Documentation

__construct (   $adapter)

Construct the data server class.

It will be used to generate non-generic SQL for a particular data server

Parameters
Zend_Db_Adapter_Abstract$adapter

Member Function Documentation

_getDataType (   $typeNo)
protected

Map number representation of a data type to a string.

Parameters
int$typeNo
Returns
string
_getPrimaryInfo (   $tabid)
protected

Helper method to retrieve primary key column and column location.

Parameters
int$tabid
Returns
array
describeTable (   $tableName,
  $schemaName = null 
)

IDS catalog lookup for describe table.

Parameters
string$tableName
string$schemaNameOPTIONAL
Returns
array

The ordering of columns is defined by the query so we can map to variables to improve readability

lastSequenceId (   $sequenceName)

IDS-specific last sequence id.

Parameters
string$sequenceName
Returns
integer
limit (   $sql,
  $count,
  $offset = 0 
)

Adds an IDS-specific LIMIT clause to the SELECT statement.

Parameters
string$sql
integer$count
integer$offsetOPTIONAL
Exceptions
Zend_Db_Adapter_Exception
Returns
string
See Also
Zend_Db_Adapter_Exception
Zend_Db_Adapter_Exception
listTables ( )

Returns a list of the tables in the database.

Returns
array
nextSequenceId (   $sequenceName)

IDS-specific sequence id value.

Parameters
string$sequenceName
Returns
integer

Member Data Documentation

$_adapter = null
protected