Class: AdoDBResult

Source Location: /CORE/system/classes/sql/AdoDBResult.php

Class AdoDBResult

Class Overview

This represents a Result from any Request using the AdoDBConnection.

Located in /CORE/system/classes/sql/AdoDBResult.php [line 37]

Result
   |
   --AdoDBResult
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: AdoDBResult.php,v 1.2 2006/11/26 22:04:25 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Result

Result::count()
Returns the Number of Results
Result::free()
Free the memory for this result.
Result::isError()
Returns whether the Statement was successful or not.
Result::next()
Gets the next result or FALSE if none is available.

[ Top ]
Method Summary
AdoDBResult   AdoDBResult()   Initializes the Object with the given Database result.
int   count()   Returns the Number of Results within the ResultSet.
void   isError()   Returns whether the Statement was successful or not.
array   next()   Gets the Result from the ResultSet.

[ Top ]
Methods
Constructor AdoDBResult  [line 48]

  AdoDBResult AdoDBResult( mixed &$sqlResult  )

Initializes the Object with the given Database result.

Parameters:
mixed   &$sqlResult:  the ersult from the AdoDBConnection


[ Top ]
count  [line 56]

  int count( )

Returns the Number of Results within the ResultSet.


API Tags:
Return:  the Number of results


Redefinition of:
Result::count()
Returns the Number of Results

[ Top ]
isError  [line 75]

  void isError( )

Returns whether the Statement was successful or not.



Redefinition of:
Result::isError()
Returns whether the Statement was successful or not.

[ Top ]
next  [line 64]

  array next( )

Gets the Result from the ResultSet.


API Tags:
Return:  the next array in the result


Redefinition of:
Result::next()
Gets the next result or FALSE if none is available.

[ Top ]