This stuff is in a lot of flux and is mostly for my own personal reference. At some point the internal API will stabilize and I'll document these.
file | functions |
---|---|
xpcom.js | xp_url_init(aURL) xp_WebNavigation_init(w) |
win.js | s_alert(s) new_window(chrome,params) SafeWindowOpen(url,title,features) register_window(w) register_patron_window(w) unregister_patron_window(w) close_all_windows() |
widgets.js | append_treeitem() cycle_attribute(e,a,v) disable_widgets() empty_listbox(e) empty_widget(e) enable_widgets() fake_tab_for_textboxes(w,current) find_tree_via_children(tree,children_func,find_func) focus_widget(e) get_list_from_tree_selection(tree_w) incr_progressmeter(meter,increment) radio_checkbox(ev) set_decks(params) swap_attributes(e,a1,a2) toggle_hidden_grid_rows(grid) xul_setAttributes(el,attrs) |
validate.js | textbox_checkdigit(ev) check_checkdigit(barcode) |
util.js | getString( key ) getFormattedString( key, strArray ) string_to_array(s) yesno(value) formatted_date(date,format) interval_to_seconds( $interval ) debug() counter_init(id) counter_incr(id) counter_peek(id) timer_init(id) timer_elapsed(id) dump_ns_node( node ) nodeset2tree(ns) ns_addChild(ns,p,c) print_tabs(t) pretty_print(s) super_dump(o,t) super_dump_norecurse(o,t) |
spawn_win.js | spawn_interface(d,tab_flag,tabbox,chrome,label,passthru_params) spawn_batch_copy_editor(d,tab_flag,passthru_params) spawn_bill_pay(d,tab_flag,passthru_params)\\spawn_check_in(d,tab_flag,passthru_params) spawn_check_out(d,tab_flag,passthru_params) spawn_circ_display(d,tab_flag,passthru_params) spawn_circ_list(d,tab_flag,passthru_params) spawn_circ_search(d,tab_flag,passthru_params) spawn_copy_browser(d,tab_flag,passthru_params) spawn_main() spawn_marc_editor(d,tab_flag,passthru_params) spawn_opac_navigator(d,tab_flag,passthru_params) spawn_oclc_import(d,tab_flag,params) spawn_patron_edit(d,tab_flag,passthru_params) spawn_patron_register(d,tab_flag,passthru_params) spawn_copy_stat_cat_edit(d,tab_flag,passthru_params) spawn_patron_stat_cat_edit(d,tab_flag,passthru_params) spawn_survey_admin_wizard(d,tab_flag,passthru_params) spawn_z3950_import(d,tab_flag,passthru_params) |
sound.js | xp_sound_init() snd_bad() snd_really_bad() snd_good() snd_circ_good() snd_circ_bad() snd_logon() snd_logoff() snd_exit() |
ses.js | handle_session(app) handle_request(ses,meth) user_request(app,name,params) user_async_request(app,name,params,func) sample_func(request) _user_request(app,name,params) |
print.js | sPrint(s) sPrint_old(s) NSPrint(w) NSPrint2(w) GetPrintSettings() setPrinterDefaultsForSelectedPrinter(aPrintService) |
populate.js | populate_listbox_with_local_stat_cats_myself(local_stat_cats,local_cat_entries,listbox,libs,app,method,editable) populate_rows_with_local_stat_cats(local_stat_cats,local_stat_cat_entries,rows,editable) populate_copy_status_list(menulist,menupopup,defaultccs) populate_copy_location_list(menulist,menupopup,defaultacpl) populate_lib_list(menulist,menupopup,defaultlib,id_flag) populate_lib_list_with_branch(menulist,menupopup,defaultlib,branch,id_flag) populate_user_profile(menulist,menupopup,defaultap) populate_ident_types(menulist,menupopup,repeatid,defaultcit) populate_name_prefix(menulist,menupopup,defaultvalue) populate_name_suffix(menulist,menupopup,defaultvalue) |
functional.js | filter_list(list,f) find_list(list,f) map_list(list,f) map_object_to_list(obj,f) convert_object_list_to_hash(list) find_id_object_in_list(list,id) find_attr_object_in_list(list,attr,value) |
fm_utils.js | get_my_orgs(user_ou) get_other_orgs(org,other_orgs) flatten_ou_branch(branch) find_ou(tree,id) find_ou_by_shortname(tree,sn) |
explode.js | explode_aou(id) explode_ap(id) magic_field_edit( ev, otype, o_id, field, explode ) |
error.js | sdump(level,msg) arg_dump(args,dump_these) handle_error(E) |
browser_overlay.js | startEvergreenStaffClient() startEvergreenOPAC() evergreenGetSelectedText() |