".htmlentities($msg['acquisition_rent_ges'],ENT_QUOTES, $charset)." : ".htmlentities($msg['acquisition_rent_requests'],ENT_QUOTES, $charset).""; switch($action) { case 'list' : entites::setSessionBibliId($id_bibli); $rent_requests = new rent_requests(); print $rent_requests->get_display_list(); break; case 'edit' : $rent_request = new rent_request($id); print $rent_request->get_form(); break; case 'update' : $rent_request = new rent_request($id); $rent_request->set_properties_from_form(); $rent_request->save(); $rent_requests = new rent_requests(); print $rent_requests->get_display_list(); break; case 'delete' : $rent_request = new rent_request($id); $deleted = $rent_request->delete(); $rent_requests = new rent_requests(); $rent_requests->set_messages($deleted['msg_to_display']); print $rent_requests->get_display_list(); break; default: print entites::show_list_biblio('get_display_list', 'rent_requests'); break; }