function _notes_dxclass() { // // main method for notes diagnosis class library // calls form_dxclass, process_dxclass, display_dxclass // 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('notes')) { return print($exitinfo); } $n = new notes; if ($post_vars["submitclass"]) { $n->process_dxclass($menu_id, $post_vars, $get_vars); } $n->form_dxclass($menu_id, $post_vars, $get_vars); $n->display_dxclass($menu_id); }