Public Member Functions | |
__construct ($p1, $selectSql=null) | |
Creates a new QueryDataSet based on a connection and a select string. | |
getSelectSql () | |
get the Select String that was used to create this QueryDataSet |
Definition at line 46 of file QueryDataSet.php.
QueryDataSet::__construct | ( | $ | p1, | |
$ | selectSql = null | |||
) |
Creates a new QueryDataSet based on a connection and a select string.
This class can be instantiated with a couple signatures:
mixed | $p1 Connecton or ResultSet (depending on signature) | |
string | $selectStmt SELECT SQL (only if $p1 is Connection) |
Definition at line 58 of file QueryDataSet.php.
References DataSet::$selectSql, and DataSet::resultSet().
00059 { 00060 if ($selectSql !== null) { 00061 $this->conn = $p1; 00062 $this->selectSql = $selectSql; 00063 } else { 00064 $this->resultSet = $p1; 00065 } 00066 }
QueryDataSet::getSelectSql | ( | ) |
get the Select String that was used to create this QueryDataSet
Reimplemented from DataSet.
Definition at line 73 of file QueryDataSet.php.