<?php
//--Class Religion--------------------------

include_once "clsbase_Religion.php";

class 
Religion extends base_Religion{

function 
RSReligionByReligionName($xKey){
    
$this->SetQuery("select * from Religion where religionName='$xKey'");
}

function 
RSReligionByLikeReligionName($xKey){
    
$this->SetQuery("select * from Religion where religionName like '%$xKey%' order by religionName");
}

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

function 
RSReligionByReligionNameAndNotReligionId($xKey$yKey){
    
$this->SetQuery("select * from Religion where religionName='$xKey' and religionId!='$yKey'");
}

//--End class Religion---
?>