日期:2014-05-17 浏览次数:20554 次
<a href="<?php echo $this->preurl ?>/view/memberlist" target="contentframe">查看用户列表</a>
class Admin_ViewController extends Kslf_Controller_Action_Admin
{
public function memberlistAction(){
$request=$this->getRequest();
$this->view->headTitle('查看用户列表');
$auth = Zend_Auth::getInstance();
$options=array();
// 一些操作代码省略了。
$this->view->memberlist=$list->itemlist;
$this->view->status_translation_arr=$status_translation_arr;
$this->view->allowEdit=($auth->getIdentity()->user_type=='administrator')?true:false;
}