function _questioncat() { 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('patient')) { return print $exitinfo; } if ($post_vars["submitcat"]) { history::process_questioncat($menu_id, $post_vars, $get_vars); } history::form_questioncat($menu_id, $post_vars, $get_vars); history::display_questioncat($menu_id, $post_vars, $get_vars); }