Class Zend_Db_Adapter_Pdo_Oci

Description

Class for connecting to Oracle databases and performing common operations.

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Db/Adapter/Pdo/Oci.php (line 41)

Zend_Db_Adapter_Abstract
   |
   --Zend_Db_Adapter_Pdo_Abstract
      |
      --Zend_Db_Adapter_Pdo_Oci
Variable Summary
 string $_pdoType
Method Summary
 array describeTable (string $tableName, [string $schemaName = null])
 integer lastInsertId ([ $tableName = null], [ $primaryKey = null], string $sequenceName)
 string limit (string $sql, integer $count, [integer $offset = 0])
 array listTables ()
 string _dsn ()
 string _quote (string $value)
Variables
Methods
describeTable (line 111)

Returns the column descriptions for a table.

The return value is an associative array keyed by the column name, as returned by the RDBMS.

The value of each array element is an associative array with the following keys:

SCHEMA_NAME => string; name of database or schema TABLE_NAME => string; COLUMN_NAME => string; column name COLUMN_POSITION => number; ordinal position of column in table DATA_TYPE => string; SQL datatype name of column DEFAULT => string; default expression of column, null if none NULLABLE => boolean; true if column can have nulls LENGTH => number; length of CHAR/VARCHAR SCALE => number; scale of NUMERIC/DECIMAL PRECISION => number; precision of NUMERIC/DECIMAL UNSIGNED => boolean; unsigned property of an integer type PRIMARY => boolean; true if column is part of the primary key

  • access: public
  • todo: Discover column position.
  • todo: Discover integer unsigned property.
  • todo: Improve discovery of primary key columns.
array describeTable (string $tableName, [string $schemaName = null])
  • string $tableName
  • string $schemaName: OPTIONAL

Redefinition of:
Zend_Db_Adapter_Abstract::describeTable()
Returns the column descriptions for a table.
lastInsertId (line 158)

Gets the last inserted ID.

  • access: public
  • throws: Zend_Db_Adapter_Exception
integer lastInsertId ([ $tableName = null], [ $primaryKey = null], string $sequenceName)
  • string $sequenceName: Name of table (or sequence) associated with sequence.
  • $tableName
  • $primaryKey

Redefinition of:
Zend_Db_Adapter_Pdo_Abstract::lastInsertId()
Gets the last inserted ID.
limit (line 177)

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

  • access: public
string limit (string $sql, integer $count, integer $offset)
  • string $sql
  • integer $count
  • integer $offset

Redefinition of:
Zend_Db_Adapter_Abstract::limit()
Adds an adapter-specific LIMIT clause to the SELECT statement.
listTables (line 75)

Returns a list of the tables in the database.

  • access: public
array listTables ()

Redefinition of:
Zend_Db_Adapter_Abstract::listTables()
Returns a list of the tables in the database.
_dsn (line 56)

Creates a PDO DSN for the adapter from $this->_config settings.

  • access: protected
string _dsn ()

Redefinition of:
Zend_Db_Adapter_Pdo_Abstract::_dsn()
Creates a PDO DSN for the adapter from $this->_config settings.
_quote (line 145)

Quote a raw string.

  • return: Quoted string
  • access: public
string _quote (string $value)
  • string $value: Raw string

Redefinition of:
Zend_Db_Adapter_Pdo_Abstract::_quote()
Quote a raw string.

Inherited Methods

Inherited From Zend_Db_Adapter_Pdo_Abstract

 Zend_Db_Adapter_Pdo_Abstract::lastInsertId()
 Zend_Db_Adapter_Pdo_Abstract::prepare()
 Zend_Db_Adapter_Pdo_Abstract::query()
 Zend_Db_Adapter_Pdo_Abstract::setFetchMode()
 Zend_Db_Adapter_Pdo_Abstract::_beginTransaction()
 Zend_Db_Adapter_Pdo_Abstract::_commit()
 Zend_Db_Adapter_Pdo_Abstract::_connect()
 Zend_Db_Adapter_Pdo_Abstract::_dsn()
 Zend_Db_Adapter_Pdo_Abstract::_quote()
 Zend_Db_Adapter_Pdo_Abstract::_rollBack()

Inherited From Zend_Db_Adapter_Abstract

 Zend_Db_Adapter_Abstract::__construct()
 Zend_Db_Adapter_Abstract::beginTransaction()
 Zend_Db_Adapter_Abstract::commit()
 Zend_Db_Adapter_Abstract::delete()
 Zend_Db_Adapter_Abstract::describeTable()
 Zend_Db_Adapter_Abstract::fetchAll()
 Zend_Db_Adapter_Abstract::fetchAssoc()
 Zend_Db_Adapter_Abstract::fetchCol()
 Zend_Db_Adapter_Abstract::fetchOne()
 Zend_Db_Adapter_Abstract::fetchPairs()
 Zend_Db_Adapter_Abstract::fetchRow()
 Zend_Db_Adapter_Abstract::getConnection()
 Zend_Db_Adapter_Abstract::getFetchMode()
 Zend_Db_Adapter_Abstract::getProfiler()
 Zend_Db_Adapter_Abstract::getQuoteIdentifierSymbol()
 Zend_Db_Adapter_Abstract::insert()
 Zend_Db_Adapter_Abstract::lastInsertId()
 Zend_Db_Adapter_Abstract::limit()
 Zend_Db_Adapter_Abstract::listTables()
 Zend_Db_Adapter_Abstract::prepare()
 Zend_Db_Adapter_Abstract::query()
 Zend_Db_Adapter_Abstract::quote()
 Zend_Db_Adapter_Abstract::quoteIdentifier()
 Zend_Db_Adapter_Abstract::quoteInto()
 Zend_Db_Adapter_Abstract::rollBack()
 Zend_Db_Adapter_Abstract::select()
 Zend_Db_Adapter_Abstract::setFetchMode()
 Zend_Db_Adapter_Abstract::update()
 Zend_Db_Adapter_Abstract::_beginTransaction()
 Zend_Db_Adapter_Abstract::_commit()
 Zend_Db_Adapter_Abstract::_connect()
 Zend_Db_Adapter_Abstract::_quote()
 Zend_Db_Adapter_Abstract::_rollBack()

Documentation generated on Wed, 21 Feb 2007 11:55:34 -0800 by phpDocumentor 1.3.1