示例#1
0
 public function action_Create()
 {
     PermissionHelper::Verification('Editor');
     $id = $_GET['id'];
     $model = UserRoleHelper::PopulateUserRoleCreateViewModel(UserRoleService::GetById($id));
     $this->view->generate('/Role/Create_view.php', 'template_view.php', $model);
 }