Пример #1
0
 public static function hasPermission($userid, $role_id, $permission_id)
 {
     $role_model = new RoleModel();
     return $role_model->hasPermission($userid, $role_id, $permission_id);
 }