Overview

Packages

  • Auth
  • Config
  • Controller
  • Date
  • Db
  • Feed
    • Abstract
    • Writers
  • File
    • Decorator
  • Form
    • Element
  • Image
  • Log
    • Writer
  • Net
    • Exception
    • REST
  • None
  • PHP
  • PHPMailer
  • Session
  • Util
  • Validate
    • Validator
  • Zend
    • Db
      • Adapter
      • Expr
      • Profiler
      • Select
      • Statement
      • Table
    • Loader
      • Autoloader
      • PluginLoader
    • Registry

Classes

  • Zend_Db_Statement
  • Zend_Db_Statement_Db2
  • Zend_Db_Statement_Mysqli
  • Zend_Db_Statement_Oracle
  • Zend_Db_Statement_Pdo
  • Zend_Db_Statement_Pdo_Ibm
  • Zend_Db_Statement_Pdo_Oci
  • Zend_Db_Statement_Sqlsrv

Interfaces

  • Zend_Db_Statement_Interface

Exceptions

  • Zend_Db_Statement_Db2_Exception
  • Zend_Db_Statement_Exception
  • Zend_Db_Statement_Mysqli_Exception
  • Zend_Db_Statement_Oracle_Exception
  • Zend_Db_Statement_Sqlsrv_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Zend_Db_Statement_Pdo_Oci

Proxy class to wrap a PDOStatement object for IBM Databases. Matches the interface of PDOStatement. All methods simply proxy to the matching method in PDOStatement. PDOExceptions thrown by PDOStatement are re-thrown as Zend_Db_Statement_Exception.

Zend_Db_Statement implements Zend_Db_Statement_Interface
Extended by Zend_Db_Statement_Pdo implements IteratorAggregate
Extended by Zend_Db_Statement_Pdo_Oci
Package: Zend\Db\Statement
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Statement/Pdo/Oci.php
Methods summary
public array
# fetchAll( integer $style = null, integer $col = null )

Returns an array containing all of the result set rows.

Returns an array containing all of the result set rows.

Behaves like parent, but if limit() is used, the final result removes the extra column 'zend_db_rownum'

Parameters

$style
integer
OPTIONAL Fetch mode.
$col
integer
OPTIONAL Column number, if fetch mode is by column.

Returns

array
Collection of rows, each in a format by the fetch mode.

Throws

Zend_Db_Statement_Exception

Implementation of

Zend_Db_Statement_Interface::fetchAll
public mixed
# fetch( integer $style = null, integer $cursor = null, integer $offset = null )

Fetches a row from the result set.

Fetches a row from the result set.

Parameters

$style
integer
OPTIONAL Fetch mode for this fetch operation.
$cursor
integer
OPTIONAL Absolute, relative, or other.
$offset
integer
OPTIONAL Number for absolute or relative cursors.

Returns

mixed
Array, object, or scalar depending on fetch mode.

Throws

Zend_Db_Statement_Exception

Implementation of

Zend_Db_Statement_Interface::fetch
Methods inherited from Zend_Db_Statement_Pdo
_bindParam(), _execute(), _prepare(), bindColumn(), bindValue(), closeCursor(), columnCount(), errorCode(), errorInfo(), fetchColumn(), fetchObject(), getAttribute(), getColumnMeta(), getIterator(), nextRowset(), rowCount(), setAttribute(), setFetchMode()
Methods inherited from Zend_Db_Statement
__construct(), _fetchBound(), _parseParameters(), _stripQuoted(), bindParam(), execute(), getAdapter(), getDriverStatement()
Properties inherited from Zend_Db_Statement_Pdo
$_fetchMode
Properties inherited from Zend_Db_Statement
$_adapter, $_attribute, $_bindColumn, $_bindParam, $_queryId, $_sqlParam, $_sqlSplit, $_stmt
Pry Framework API documentation generated by ApiGen 2.6.1