API Documentation

Db/Statement/Pdo/Oci.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Db
subpackage
Statement
version
$Id: Oci.php 21105 2010-02-19 21:27:09Z mikaelkael $
Classes
Zend_Db_Statement_Pdo_Oci

Description

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.

Zend_Db_Statement_Pdo_Oci

Extends from
Zend_Db_Statement_Pdo
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Db
subpackage
Statement
Methods
fetchAll
fetch

Description

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.

Methods

fetch

fetch( int $style = null, int $cursor = null, int $offset = null ) : mixed

Fetches a row from the result set.

Arguments
$style
int
OPTIONAL Fetch mode for this fetch operation.
$cursor
int
OPTIONAL Absolute, relative, or other.
$offset
int
OPTIONAL Number for absolute or relative cursors.
Output
mixed
Array, object, or scalar depending on fetch mode.
Details
visibility
public
final
false
static
false
throws

fetchAll

fetchAll( int $style = null, int $col = null ) : array

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'

Arguments
$style
int
OPTIONAL Fetch mode.
$col
int
OPTIONAL Column number, if fetch mode is by column.
Output
array
Collection of rows, each in a format by the fetch mode.
Details
visibility
public
final
false
static
false
throws
Documentation was generated by DocBlox.