This namespace contains the special module functions for the Dashboard.
- Source:
Methods
-
(static) EventsTicketCalendarInit(Params)
-
Initializes the event ticket calendar.
Parameters:
Name Type Description ParamsObject Hash with different config options. Properties
Name Type Description MonthNamesArray Array containing the localized strings for each month. MonthNamesShortArray Array containing the localized strings for each month on shorth format. DayNamesArray Array containing the localized strings for each week day. DayNamesShortArray Array containing the localized strings for each week day on short format. ButtonTextArray Array containing the localized strings for each week day on short format. Properties
Name Type Description todayString Localized string for the word "Today". monthString Localized string for the word "month". weekString Localized string for the word "week". dayString Localized string for the word "day". EventsArray Array of hashes including the data for each event. - Source:
-
(static) Init()
-
Initialize the dashboard module.
- Source:
-
(static) InitCustomerIDAutocomplete($Input)
-
Initialize autocompletion for CustomerID.
Parameters:
Name Type Description $InputjQueryObject Input element to add auto complete to. - Source:
-
(static) InitCustomerUserAutocomplete($Input)
-
Initialize autocompletion for CustomerUser.
Parameters:
Name Type Description $InputjQueryObject Input element to add auto complete to. - Source:
-
(static) InitStatsConfiguration($Container)
-
Initializes the configuration page for a stats dashboard widget.
Parameters:
Name Type Description $ContainerjQueryObject - Source:
-
(static) InitUserAutocomplete($Input, Subaction)
-
Initialize autocompletion for User.
Parameters:
Name Type Description $InputjQueryObject Input element to add auto complete to. SubactionString Subaction to execute, "SearchCustomerID" or "SearchCustomerUser". - Source:
-
(static) RegisterUpdatePreferences($ClickedElement, ElementID, $Form)
-
This function binds a click event on an html element to update the preferences of the given dahsboard widget
Parameters:
Name Type Description $ClickedElementjQueryObject The jQuery object of the element(s) that get the event listener. ElementIDstring The ID of the element whose content should be updated with the server answer. $FormjQueryObject The jQuery object of the form with the data for the server request. - Source: