00001 <?PHP 00017 include_once("DropDownList.php"); 00018 00027 class PageSelector extends DropDownList 00028 { 00029 00030 protected $m_FormPrefix = true; 00031 public function getList(){ 00032 $formobj=$this->getFormObj(); 00033 $list=array(); 00034 for($i=1;$i<=$formobj->m_TotalPages;$i++){ 00035 array_push($list,array("val"=>$i,"txt"=>$i)); 00036 } 00037 return $list; 00038 } 00039 00040 } 00041 00042 ?>