SetQuery("select * from Program where programStatus='Y' order by programId limit $start, $pageSize"); } function RSAllProgram(){ $this->SetQuery("select * from Program order by programConfId"); } function RSAllProgramLimit($start, $pageSize){ $this->SetQuery("select * from Program order by programConfId limit $start, $pageSize"); } function RSProgramGroupLevelId(){ $this->SetQuery("select levelId from Program where programStatus='Y' group by levelId"); } function RSAllProgramGroupLevelId(){ $this->SetQuery("select levelId from Program group by levelId"); } function RSProgramByLevelId($xKey){ $this->SetQuery("select * from Program where levelId='$xKey' and programStatus='Y'"); } /* function selectHTML($name, $ID=""){ $s="\n"; } */ } //--End class Program-- ?>