MySQLResultSet Class Reference

Inherits ResultSetCommon.

List of all members.

Public Member Functions


Member Function Documentation

MySQLResultSet::seek ( $  rownum)

 

See also ResultSet::seek()

Reimplemented from ResultSet.

MySQLResultSet::next ()

 

See also ResultSet::next()

Reimplemented from ResultSet.

MySQLResultSet::getRecordCount ()

 

See also ResultSet::getRecordCount()

Reimplemented from ResultSet.

MySQLResultSet::close ()

 

See also ResultSet::close()

Reimplemented from ResultSet.

MySQLResultSet::getString ( $  column)

 

Get string version of column. No rtrim() necessary for MySQL, as this happens natively.

See also ResultSet::getString()

Reimplemented from ResultSetCommon.

MySQLResultSet::getTimestamp ( $  column,  $  format = 'Y-m-d H:i:s' )

 

Returns a unix epoch timestamp based on either a TIMESTAMP or DATETIME field.

Parameters:
mixed $column Column name (string) or index (int) starting with 1.

Returns mixed string on success or SQLException if the column specified is not a valid key in current field array.

Reimplemented from ResultSetCommon.


This file is part of the Creole[php4] library.


Copyright © 2004 Hans Lellelid  
Creole[php4] CVS