* adjust the export feature of testcase module.

This commit is contained in:
wangchunsheng
2011-05-03 06:10:22 +00:00
parent 0045081904
commit fb024afd4a
3 changed files with 86 additions and 99 deletions
-19
View File
@@ -115,25 +115,6 @@ class testcaseModel extends model
return $case;
}
/**
* getByQuery
*
* @param string $productID
* @param string $query
* @param string $orderBy
* @access public
* @return void
*/
public function getByQuery($productID, $query, $orderBy)
{
$tmpTestcases = $this->dao->select('*')->from(TABLE_CASE)->alias('t1')->where($query)
->andWhere('product')->eq((int)$productID)
->andWhere('deleted')->eq(0)
->orderBy($orderBy)
->fetchAll();
return $tmpTestcases;
}
/**
* Update a case.
*