コード例 #1
0
ファイル: PolicyController.php プロジェクト: nattaphat/cuse2
 public function getListRole($roleid)
 {
     $rolelist = Usernhc::getRoleById($roleid);
     return View::make('rbac.ajax_rolelist')->with('paginator', $rolelist);
 }
コード例 #2
0
ファイル: PeerController.php プロジェクト: nattaphat/cuse2
 /**
  * [peerRoleList return list of user by role]
  * @param  [type] $roleid [description]
  * @return [type]         [description]
  */
 public function peerRoleList($roleid)
 {
     $rolelist = Usernhc::getRoleById($roleid);
     return View::make('peer.ajax_rolelist')->with('paginator', $rolelist);
 }