<?php
//--Class Prefix--------------------------

include_once "clsbase_Prefix.php";

class 
Prefix extends base_Prefix {

function 
RSPrefixByPrefixName($xKey){
    
$this->SetQuery("select * from Prefix where prefixName='$xKey'");
}

function 
RSPrefixByLikePrefixName($xKey){
    
$this->SetQuery("select * from Prefix where prefixName like '%$xKey%' order by prefixName");
}

function 
RSPrefixByLikePrefixNameLimit($xKey$start$pageSize){
    
$this->SetQuery("select * from Prefix where prefixName like '%$xKey%' order by prefixName limit $start, $pageSize");
}

function 
RSPrefixByPrefixNameAndNotPrefixId($xKey$yKey){
    
$this->SetQuery("select * from Prefix where prefixName='$xKey' and prefixId!='$yKey'");
}

function 
RSPrefixLimit($start$pageSize){
    
$this->SetQuery("select * from Prefix order by prefixId limit $start, $pageSize");
}

//--End class Prefix--
?>