Exemplo n.º 1
0
 public function actionIndex()
 {
     $users = UserModel::getAllByColumn('role', 'admin');
     $view = new View();
     $view->users = $users;
     $view->display('admin_user/index.php');
     return true;
 }