User Tools

Site Tools


mozilla-devel:chrome:content:evergreen:util

list of functions from util/

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.

CVS

file functions
xpcom.jsxp_url_init(aURL)
xp_WebNavigation_init(w)
win.jss_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.jsappend_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.jstextbox_checkdigit(ev)
check_checkdigit(barcode)
util.jsgetString( 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.jsspawn_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.jsxp_sound_init()
snd_bad()
snd_really_bad()
snd_good()
snd_circ_good()
snd_circ_bad()
snd_logon()
snd_logoff()
snd_exit()
ses.jshandle_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.jssPrint(s)
sPrint_old(s)
NSPrint(w)
NSPrint2(w)
GetPrintSettings()
setPrinterDefaultsForSelectedPrinter(aPrintService)
populate.jspopulate_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.jsfilter_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.jsget_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.jsexplode_aou(id)
explode_ap(id)
magic_field_edit( ev, otype, o_id, field, explode )
error.jssdump(level,msg)
arg_dump(args,dump_these)
handle_error(E)
browser_overlay.jsstartEvergreenStaffClient()
startEvergreenOPAC()
evergreenGetSelectedText()
mozilla-devel/chrome/content/evergreen/util.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.