getContext()->getRequest(); // 查询新闻分类表,根据sort顺序排列 $sql = "select * from lkt_news_class order by sort"; $r = $db->select($sql); $request->setAttribute("list",$r); return View :: INPUT; } public function execute() { } public function getRequestMethods(){ return Request :: NONE; } } ?>