Db/Adapter/Pdo/Ibm/Ids.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Db  
Subpackage
Adapter  
Version
$Id$  

\Zend_Db_Adapter_Pdo_Ibm_Ids

Package: Zend_Db\Adapter
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\Zend_Db_Adapter_Abstract $_adapter = null
Default valuenullDetails
Type
\Zend_Db_Adapter_Abstract

Methods

methodpublic__construct(\Zend_Db_Adapter_Abstract $adapter) : void

Construct the data server class.

It will be used to generate non-generic SQL for a particular data server
Parameters
NameTypeDescription
$adapter\Zend_Db_Adapter_Abstract
methodprotected_getDataType(int $typeNo) : string

Map number representation of a data type to a string

Parameters
NameTypeDescription
$typeNoint
Returns
TypeDescription
string
methodprotected_getPrimaryInfo(int $tabid) : array

Helper method to retrieve primary key column and column location

Parameters
NameTypeDescription
$tabidint
Returns
TypeDescription
array
methodpublicdescribeTable(string $tableName, string $schemaName = null) : array

IDS catalog lookup for describe table

Parameters
NameTypeDescription
$tableNamestring
$schemaNamestring

OPTIONAL

Returns
TypeDescription
array
methodpubliclastSequenceId(string $sequenceName) : integer

IDS-specific last sequence id

Parameters
NameTypeDescription
$sequenceNamestring
Returns
TypeDescription
integer
methodpubliclimit(string $sql, integer $count, integer $offset = 0) : string

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

Parameters
NameTypeDescription
$sqlstring
$countinteger
$offsetinteger

OPTIONAL

Returns
TypeDescription
string
Throws
ExceptionDescription
\Zend_Db_Adapter_Exception
methodpubliclistTables() : array

Returns a list of the tables in the database.

Returns
TypeDescription
array
methodpublicnextSequenceId( $sequenceName) : integer

IDS-specific sequence id value

@param string $sequenceName
Parameters
NameTypeDescription
$sequenceName
Returns
TypeDescription
integer
Documentation was generated by phpDocumentor 2.2.0 .