SetQuery("select * from College where collegeName='$xKey'"); } function RSCollegeByLikeCollegeNameOrderKey($xKey, $orderByKey){ $this->SetQuery("select * from College where collegeName like '%$xKey%'".$orderByKey); } function RSCollegeByLikeCollegeNameOrderKeyLimit($xKey, $orderByKey, $start, $pageSize){ $this->SetQuery("select * from College where collegeName like '%$xKey%'".$orderByKey." limit $start, $pageSize"); } function RSCollegeByCollegeNameAndNotCollegeCode($xKey, $yKey){ $this->SetQuery("select * from College where collegeName='$xKey' and collegeCode!='$yKey'"); } function RSCollegeLimit($start, $pageSize){ $this->SetQuery("select * from College order by collegeCode limit $start, $pageSize"); } } //--End class College-- ?>