MySQLResultSet Class Reference

Inherits ResultSetCommon, and ResultSet.

List of all members.

Public Member Functions


Member Function Documentation

MySQLResultSet::seek ( $rownum )

 

See also ResultSet::seek()

Implements ResultSet.

MySQLResultSet::next ( )

 

See also ResultSet::next()

Implements ResultSet.

MySQLResultSet::getRecordCount ( )

 

See also ResultSet::getRecordCount()

Implements ResultSet.

MySQLResultSet::close ( )

 

See also ResultSet::close()

Implements 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.

string 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 string
Exceptions
SQLException - If the column specified is not a valid key in current field array.

Reimplemented from ResultSetCommon.


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


Copyright © 2004 Hans Lellelid  
Creole[php5] CVS