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

Class: DB_result

Source Location: /MDB2-2.0.0beta4/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::__construct()
Constructor
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::getRowCounter()
returns the actual row number that was last fetched (count from 0)
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::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 228]
Wrapper that makes MDB2 behave like PEAR DB


[ Top ]


Class Variables

$limit_count =  null

[line 235]


Type:   mixed


[ Top ]

$limit_from =  null

[line 233]


Type:   mixed


[ Top ]

$result =

[line 230]


Type:   mixed
Overrides:   Array


[ Top ]

$row_counter =  null

[line 231]


Type:   mixed


[ Top ]



Method Detail

DB_result (Constructor)   [line 237]

DB_result DB_result( $result)


Parameters:

   $result   — 

[ Top ]

fetchInto   [line 251]

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


Parameters:

   &$arr   — 
   $fetchmode   — 
   $rownum   — 

[ Top ]

fetchRow   [line 242]

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


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

Parameters:

   $fetchmode   — 
   $rownum   — 

[ Top ]

free   [line 286]

void free( )


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

getRowCounter   [line 302]

void getRowCounter( )


Overrides MDB2_Result_Common::getRowCounter() (returns the actual row number that was last fetched (count from 0))
[ Top ]

nextResult   [line 281]

void nextResult( )


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

numCols   [line 271]

void numCols( )


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

numRows   [line 276]

void numRows( )


[ Top ]

tableInfo   [line 296]

void tableInfo( [ $mode = null])


Parameters:

   $mode   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:20:23 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.