MDB2
[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ]

Class: DB_result

Source Location: /MDB2-2.0.0RC1/MDB2/Wrapper/peardb.php

Class Overview

MDB2_Result
   |
   --MDB2_Result_Common
      |
      --DB_result

Wrapper that makes MDB2 behave like PEAR DB


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: MDB2_Result_Common

MDB2_Result_Common::MDB2_Result_Common()
MDB2_Result_Common::bindColumn()
Set bind variable to a column.
MDB2_Result_Common::fetchAll()
Fetch and return a column of data (it uses fetchRow for that)
MDB2_Result_Common::fetchCol()
Fetch and return a column of data (it uses current for that)
MDB2_Result_Common::fetchOne()
fetch single column from the first row from a result set
MDB2_Result_Common::fetchRow()
Fetch and return a row of data
MDB2_Result_Common::free()
Free the internal resources associated with result.
MDB2_Result_Common::getColumnNames()
Retrieve the names of columns returned by the DBMS in a query result or from the cache.
MDB2_Result_Common::getResource()
return the resource associated with the result object
MDB2_Result_Common::nextResult()
Move the internal result pointer to the next available result
MDB2_Result_Common::numCols()
Count the number of columns returned by the DBMS in a query result.
MDB2_Result_Common::numRows()
returns the number of rows in a result object
MDB2_Result_Common::rowCount()
returns the actual row number that was last fetched (count from 0)
MDB2_Result_Common::seek()
seek to a specific row in a result set
MDB2_Result_Common::setResultTypes()
Define the list of types to be associated with the columns of a given result set.

Class Details

[line 229]
Wrapper that makes MDB2 behave like PEAR DB


[ Top ]


Class Variables

$limit_count =  null

[line 236]


Type:   mixed


[ Top ]

$limit_from =  null

[line 234]


Type:   mixed


[ Top ]

$result =

[line 231]


Type:   mixed
Overrides:   Array


[ Top ]

$row_counter =  null

[line 232]


Type:   mixed


[ Top ]



Method Detail

DB_result (Constructor)   [line 238]

DB_result DB_result( mixed $result)


[ Top ]

fetchInto   [line 252]

void fetchInto( mixed &$arr, [mixed $fetchmode = MDB2_FETCHMODE_DEFAULT], [mixed $rownum = null])


[ Top ]

fetchRow   [line 243]

void &fetchRow( [mixed $fetchmode = MDB2_FETCHMODE_DEFAULT], [mixed $rownum = null])


Overrides MDB2_Result_Common::fetchRow() (Fetch and return a row of data)
[ Top ]

free   [line 287]

void free( )


Overrides MDB2_Result_Common::free() (Free the internal resources associated with result.)
[ Top ]

getRowCounter   [line 303]

void getRowCounter( )


[ Top ]

nextResult   [line 282]

void nextResult( )


Overrides MDB2_Result_Common::nextResult() (Move the internal result pointer to the next available result)
[ Top ]

numCols   [line 272]

void numCols( )


Overrides MDB2_Result_Common::numCols() (Count the number of columns returned by the DBMS in a query result.)
[ Top ]

numRows   [line 277]

void numRows( )


Overrides MDB2_Result_Common::numRows() (returns the number of rows in a result object)
[ Top ]

tableInfo   [line 297]

void tableInfo( [mixed $mode = null])


[ Top ]


Documentation generated on Wed, 21 Dec 2005 06:31:20 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.