<?php
//--Class Condition--------------------------

include_once "clsbase_Condition.php";

class 
Condition extends base_Condition{

function 
RSConditionByCondition($xKey){
    
$this->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--
?>