QueryDataSet Class Reference

Inherits DataSet.

List of all members.

Public Member Functions


Constructor & Destructor Documentation

QueryDataSet::QueryDataSet ( &$  p1,  $  selectSql = null )

 

Creates a new QueryDataSet based on a connection and a select string

This class can be instantiated with a couple signatures:

  • new QueryDataSet($conn, "SELECT * FROM mytable");
  • new QueryDataSet($rs);

Parameters:
mixed $p1 Connecton or ResultSet (depending on signature)
string $selectStmt SELECT SQL (only if $p1 is Connection)


Member Function Documentation

& QueryDataSet::getSelectSql ()

 

get the Select String that was used to create this QueryDataSet

Returns a select string

Reimplemented from DataSet.


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


Copyright © 2004 Hans Lellelid  
Creole[php4] CVS