Class: Result

Source Location: /CORE/system/api/sql/Result.php

Class Result

Class Overview

This represents a Result for any Database query made with DatabaseConnection.

Located in /CORE/system/api/sql/Result.php [line 36]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: Result.php,v 1.4 2008/11/30 15:21:12 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Descendants
Child Class Description
AdoDBResult This represents a Result from any Request using the AdoDBConnection.
MySQLResult This represents a DB Result for any query made with a MySQLConmnection.

[ Top ]
Method Summary
int   count()   Returns the Number of Results
unknown_type   free()   Free the memory for this result.
void   isError()   Returns whether the Statement was successful or not.
mixed   next()   Gets the next result or FALSE if none is available.

[ Top ]
Methods
count  [line 43]

  int count( )

Returns the Number of Results


API Tags:
Return:  the Number of affected Rows


Redefined in descendants as:

[ Top ]
free  [line 66]

  unknown_type free( )

Free the memory for this result.



Redefined in descendants as:

[ Top ]
isError  [line 58]

  void isError( )

Returns whether the Statement was successful or not.



Redefined in descendants as:

[ Top ]
next  [line 51]

  mixed next( )

Gets the next result or FALSE if none is available.


API Tags:
Return:  the next result in this query or FALSE


Redefined in descendants as:

[ Top ]