Class MySQLResult

Description

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

  • version: $Id: MySQLResult.php,v 1.7 2006/11/26 22:04:25 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
Result
   |
   --MySQLResult
Method Summary
MySQLResult MySQLResult (Object $sqlResult)
int count ()
void isError ()
array next ()
Methods
Constructor MySQLResult (line 49)

Initializes the Object with the given Database result.

MySQLResult MySQLResult (Object $sqlResult)
  • Object $sqlResult: a DB Result Array
count (line 57)

Returns the Number of Results within the ResultSet.

  • return: the Number of results
int count ()

Redefinition of:
Result::count()
Returns the Number of Results
isError (line 73)

Returns whether the Statement was successful or not.

void isError ()

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

Gets the Result from the ResultSet.

  • return: the next array in the result
array next ()

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

Inherited Methods

Inherited From Result

Result::count()
Result::isError()
Result::next()

Documentation generated by phpDocumentor 1.3.1