SetQuery("select * from `Condition` where `condition` like '%$xKey%' order by conditionId"); } function RSConditionByConditionLimit($xKey, $start, $pageSize){ $this->SetQuery("select * from `Condition` where `condition` like '%$xKey%' order by conditionId limit $start, $pageSize"); } function RSConditionByConditionType($xKey){ $this->SetQuery("select * from `Condition` where conditionType='$xKey' order by conditionId"); } function RSConditionByConditionTypeLimit($xKey, $start, $pageSize){ $this->SetQuery("select * from `Condition` where conditionType='$xKey' order by conditionId limit $start, $pageSize"); } } //--End class Condition-- ?>