set_properties_from_form(); global $form_libelle; // verification validite des donnees fournies $q = $users_group->get_query_if_exists(); $r = pmb_mysql_query($q); $nb = pmb_mysql_result($r, 0, 0); if ($nb > 0) { error_form_message($form_libelle.$msg['admin_usr_grp_lib_used']); } else { $users_group->save(); } //Evenement publié $evt_handler = events_handler::get_instance(); $event = new event_users_group("users_group", "save_form"); $event->set_group_id($id); $evt_handler->send($event); print list_configuration_users_groups_ui::get_instance()->get_display_list(); break; default: configuration_controller::set_model_class_name('users_group'); configuration_controller::set_list_ui_class_name('list_configuration_users_groups_ui'); configuration_controller::proceed($id); break; } ?>