00001 <?PHP 00017 include_once("DropDownList.php"); 00018 00027 class PagesizeSelector extends DropDownList 00028 { 00029 00030 protected $m_FormPrefix = true; 00031 protected function getList(){ 00032 $pagesizes = array(5,10,15,20,25,50); 00033 $list = array(); 00034 foreach($pagesizes as $size){ 00035 array_push($list,array("val"=>$size,"txt"=>$size)); 00036 } 00037 return $list; 00038 } 00039 00040 } 00041 00042 ?>