Ejemplo n.º 1
0
 public function listUsersAction()
 {
     $identity = Zend_Auth::getInstance()->getIdentity();
     $model = new Model_Wep();
     //print_r($identity->account_id);exit;
     $usersList = $model->getUsersByAccountId('user', $identity->account_id, array('role_id' => '2'));
     //print_r($usersList);exit;
     $this->view->users = $usersList;
     //$this->_helper->layout()->setLayout('layout_wep');
 }