Пример #1
0
 function _notifiable()
 {
     //
     // main submodule for notifiable disease library
     //
     if (func_num_args() > 0) {
         $arg_list = func_get_args();
         $menu_id = $arg_list[0];
         $post_vars = $arg_list[1];
         $get_vars = $arg_list[2];
         $validuser = $arg_list[3];
         $isadmin = $arg_list[4];
         //print_r($arg_list);
     }
     // always check dependencies
     if ($exitinfo = $this->missing_dependencies('notifiable')) {
         return print $exitinfo;
     }
     $n = new notifiable();
     if ($post_vars["submitdisease"]) {
         $n->process_notifiable_disease($menu_id, $post_vars, $get_vars);
     }
     $n->display_notifiable_disease($menu_id, $post_vars, $get_vars);
     $n->form_notifiable_disease($menu_id, $post_vars, $get_vars);
 }