creole.drivers.odbc
[ class tree: creole.drivers.odbc ] [ index: creole.drivers.odbc ] [ all elements ]

Class: ODBCResultSet

Source Location: /creole/drivers/odbc/ODBCResultSet.php

Class Overview

ResultSetCommon
   |
   --ODBCResultSetCommon
      |
      --ODBCResultSet

ODBC implementation of ResultSet.


Author(s):

Version:

  • $Revision: 1.1 $

Variables

Methods


Inherited Variables

Inherited Methods

Class: ODBCResultSetCommon

ODBCResultSetCommon::__construct()
ODBCResultSetCommon::close()
ODBCResultSetCommon::getFieldNum()
If fetchmode is FETCHMODE_ASSOC, returns the 1-based field index number for the specified column name. Otherwise returns 0 (false).
ODBCResultSetCommon::readLobData()
Reads in any unread LOB data. For long char fields, we may already have up to odbc_longreadlen() bytes in the buffer. These are passed in via the $curdata parm. For long binary fields, no data is read initially since odbc_binmode() is set to ODBC_BINMODE_PASSTHRU.
ODBCResultSetCommon::_setLimit()
This function exists to set limit after ResultSet is instantiated.
ODBCResultSetCommon::_setOffset()
This function exists to set offset after ResultSet is instantiated.

Class: ResultSetCommon

ResultSetCommon::__construct()
ResultSetCommon::absolute()
ResultSetCommon::afterLast()
ResultSetCommon::beforeFirst()
ResultSetCommon::first()
ResultSetCommon::get()
ResultSetCommon::getArray()
ResultSetCommon::getBlob()
ResultSetCommon::getBoolean()
ResultSetCommon::getClob()
ResultSetCommon::getCursorPos()
ResultSetCommon::getDate()
ResultSetCommon::getFetchmode()
ResultSetCommon::getFloat()
ResultSetCommon::getInt()
ResultSetCommon::getIterator()
ResultSetCommon::getResource()
ResultSetCommon::getRow()
ResultSetCommon::getString()
ResultSetCommon::getTime()
ResultSetCommon::getTimestamp()
ResultSetCommon::isAfterLast()
ResultSetCommon::isBeforeFirst()
ResultSetCommon::isIgnoreAssocCase()
ResultSetCommon::last()
ResultSetCommon::previous()
ResultSetCommon::relative()
ResultSetCommon::setFetchmode()
ResultSetCommon::__destruct()
Destructor

Class Details

[line 39]
ODBC implementation of ResultSet.

If the current ODBC driver does not support LIMIT or OFFSET natively, the methods in here perform some adjustments and extra checking to make sure that this behaves the same as RDBMS drivers using native OFFSET/LIMIT.

NOTE: If the driver you are using does not support the odbc_num_rows() function, then you should use the ODBCCachedResultSet class instead.




Tags:

version:  $Revision: 1.1 $
author:  Dave Lawson <dlawson@masterytech.com>


[ Top ]


Class Variables

$numRows =  0

[line 46]

Number of rows in resultset.



Tags:

access:  protected

Type:   int


[ Top ]



Class Methods


constructor __construct [line 51]

ODBCResultSet __construct( Connection $conn, mixed $result, [mixed $fetchmode = null])



Tags:

access:  public
see:  ResultSet::__construct()


Overrides ODBCResultSetCommon::__construct() (parent method not documented)

[ Top ]

method close [line 70]

void close( )



Tags:



Overrides ODBCResultSetCommon::close() (parent method not documented)

[ Top ]

method getBlob [line 143]

void getBlob( mixed $column)



Tags:

access:  public
see:  ResultSet::getBlob()


Overrides ResultSetCommon::getBlob() (parent method not documented)

[ Top ]

method getClob [line 158]

void getClob( mixed $column)



Tags:

access:  public
see:  ResultSet::getClob()


Overrides ResultSetCommon::getClob() (parent method not documented)

[ Top ]

method getRecordCount [line 130]

void getRecordCount( )



Tags:



[ Top ]

method next [line 92]

void next( )



Tags:

access:  public
see:  ResultSet::next()


[ Top ]

method seek [line 79]

void seek( mixed $rownum)



Tags:

access:  public
see:  ResultSet::seek()


[ Top ]


Documentation generated on Mon, 23 Aug 2004 21:52:25 -0400 by phpDocumentor 1.3.0RC3