* Starts a SELECT query on the database by given return type, table name
* and search criteria
*
- * @param $resultType Result type ('array', 'object' and 'indexed' are valid)
* @param $tableName Name of the database table
* @param $criteria Search criteria class
* @return $resultData Result data of the query
* @throws UnsupportedCriteriaException If the criteria is unsupported
* @throws SqlException If an SQL error occurs
*/
- function querySelect ($resultType, $tableName, LocalSearchCriteria $criteriaInstance);
+ function querySelect ($tableName, LocalSearchCriteria $criteriaInstance);
/**
* 'Inserts' a data set instance into a local file database folder
* Starts a SELECT query on the database by given return type, table name
* and search criteria
*
- * @param $resultType Result type ('array', 'object' and 'indexed' are valid)
* @param $tableName Name of the database table
* @param $criteria Local search criteria class
* @return $resultData Result data of the query
* @throws UnsupportedCriteriaException If the criteria is unsupported
* @throws SqlException If an 'SQL error' occurs
*/
- public function querySelect ($resultType, $tableName, LocalSearchCriteria $criteriaInstance) {
+ public function querySelect ($tableName, LocalSearchCriteria $criteriaInstance) {
// The result is null by any errors
$resultData = NULL;
$this->dbLayer->connectToDatabase();
// Get result from query
- $result = $this->dbLayer->querySelect('array', $tableName, $criteriaInstance);
+ $result = $this->dbLayer->querySelect($tableName, $criteriaInstance);
// Return the result
return $result;