DB_Mysql_Result Class Reference

Inherits Database_Result.

List of all members.

Public Member Functions

  • free ()
    Free the current result.

Protected Member Functions

  • fetch_row ()
    Fetch the current row as enumerated array.
  • fetch_assoc ()
    Fetch the current row as associative array.
  • num_rows ()
    Return the number of rows of the current result.
  • num_fields ()
    Return the number of fields of the current result.
  • fetch_field ($intOffset)
    Get column information.

Detailed Description

Definition at line 316 of file DB_Mysql.php.


Member Function Documentation

DB_Mysql_Result::fetch_assoc (  )  [protected]

Fetch the current row as associative array.

Returns:
array

Reimplemented from Database_Result.

Definition at line 333 of file DB_Mysql.php.

00334         {
00335                 return @mysql_fetch_assoc($this->resResult);
00336         }

DB_Mysql_Result::fetch_field ( intOffset  )  [protected]

Get column information.

Parameters:
int 
Returns:
object

Reimplemented from Database_Result.

Definition at line 364 of file DB_Mysql.php.

00365         {
00366                 return @mysql_fetch_field($this->resResult, $intOffset);
00367         }

DB_Mysql_Result::fetch_row (  )  [protected]

Fetch the current row as enumerated array.

Returns:
array

Reimplemented from Database_Result.

Definition at line 323 of file DB_Mysql.php.

00324         {
00325                 return @mysql_fetch_row($this->resResult);
00326         }

DB_Mysql_Result::free (  ) 

Free the current result.

Definition at line 373 of file DB_Mysql.php.

00374         {
00375                 if (is_resource($this->resResult))
00376                 {
00377                         @mysql_free_result($this->resResult);
00378                 }
00379         }

DB_Mysql_Result::num_fields (  )  [protected]

Return the number of fields of the current result.

Returns:
int

Reimplemented from Database_Result.

Definition at line 353 of file DB_Mysql.php.

00354         {
00355                 return @mysql_num_fields($this->resResult);
00356         }

DB_Mysql_Result::num_rows (  )  [protected]

Return the number of rows of the current result.

Returns:
int

Reimplemented from Database_Result.

Definition at line 343 of file DB_Mysql.php.

00344         {
00345                 return @mysql_num_rows($this->resResult);
00346         }


The documentation for this class was generated from the following file: