Skip to content

WFES Base version 2 getter functions

AlterTobi edited this page Apr 24, 2025 · 8 revisions

getter

all functions are prefixed by window.wfes.g

baseVersion()

returns wfes-Base's version

canAppeal()

curentPage() - since v2.5.0

returns a constant for the current page, see wfPages()

edit()

logStorageName() - since v2.3.0

returns IDB storage name for notification log messages

isPage(...PAGES) - since v2.5.0

param: one or more constants from wfPages() returns true, if current page one of ...pages, false otherwise

nominationDetail()

returns details of selected nomination

nominationsList()

returns the nominations list

messages()

properties()

reviewAppeal()

reviewDecision()

reviewPageData()

settings()

showcase()

userId()

returns a hash, based on user's email

wfPages()

returns object of constants for the various pages { HOME, REVIEW, PROFILE, MANAGE, MANAGE_DETAIL, PROPERTIES, SETTINGS, HELP}

wfVersion()

Clone this wiki locally