Class: MySQLResult

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

Class MySQLResult

Class Overview

This represents a DB Result for any query made with a MySQLConmnection.

Located in /CORE/system/classes/sql/MySQLResult.php [line 38]

Result
   |
   --MySQLResult
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: MySQLResult.php,v 1.8 2008/11/30 15:37:18 kpapst Exp $
Copyright:  Copyright (C) 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
MySQLResult   MySQLResult()   Initializes the Object with the given Database result.
int   count()   Returns the Number of Results within the ResultSet.
void   free()  
void   isError()   Returns whether the Statement was successful or not.
array   next()   Gets the Result from the ResultSet.

[ Top ]
Methods
Constructor MySQLResult  [line 50]

  MySQLResult MySQLResult( Object $sqlResult  )

Initializes the Object with the given Database result.

Parameters:
Object   $sqlResult:  a DB Result Array


[ Top ]
count  [line 58]

  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 ]
free  [line 78]

  void free( )



Redefinition of:
Result::free()
Free the memory for this result.

[ Top ]
isError  [line 74]

  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 66]

  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 ]