function array_page($array,$rows){ import("ORG.Util.Page"); //导入分页类 $count=count($array); $Page=new Page($count,$rows); $list=array_slice($array,$Page->firstRow,$Page->listRows); return $list;}
function array_page($array,$rows){
import("ORG.Util.Page"); //导入分页类
$count=count($array);
$Page=new Page($count,$rows);
$list=array_slice($array,$Page->firstRow,$Page->listRows);
return $list;
}