This namespace contains the special functions for SystemConfiguration.VacationDays module.
Methods
-
(static) AddArrayItem($Object)
-
Add new item to the array
Parameters:
Name Type Description $ObjectjQueryObject jquery object. - Source:
-
(static) AddHashKeyClick($Object)
-
Handle add new hash key
Parameters:
Name Type Description $ObjectjQueryObject jquery object. - Source:
-
(static) CheckboxValueSet($Object)
-
This function sets the hidden input field value according to the checkbox($Object) state.
Parameters:
Name Type Description $ObjectjQueryObject jQueryObject - Source:
-
(static) Init()
-
This function initializes module functionality.
- Source:
-
(static) InitButtonVisibility($Object)
-
Initialize add button visibility.
Parameters:
Name Type Description $ObjectjQueryObject jQueryObject - Source:
-
(static) InitConfigurationTree(RedirectAction, Category, UserModificationActive) → {Boolean}
-
This function initializes Configuration Tree
Parameters:
Name Type Description RedirectActionString Action parameter for next http request. CategoryString If a category should be considered when the tree is rendered (category key) UserModificationActiveString Limit to settings that can be modified by users. - Source:
Returns:
- redirect- Type
- Boolean
-
(static) RemoveItem($Object)
-
Remove complete item from the array/hash
Parameters:
Name Type Description $ObjectjQueryObject jquery object. - Source:
-
(static) RevertToHistoricalValue($Object) → {Boolean}
-
Delete user setting.
Parameters:
Name Type Description $ObjectjQueryObject jquery object - Source:
Returns:
- false in case delete all values is not needed- Type
- Boolean
-
(static) SettingRender(Response, $Widget)
-
This function renders setting received by AJAX call(Response) to the provided $Widget.
Parameters:
Name Type Description ResponseObject AJAX response $WidgetjQueryObject jQueryObject - Source:
-
(static) SettingReset($Object, ResetOptions)
-
Reset setting to the default value.
Parameters:
Name Type Description $ObjectjQueryObject jquery object ResetOptionsNumber reset-globally,reset-locally - Source:
-
(static) Update($Object, ToggleValid, ToggleUserModification)
-
This function updates the setting.
Parameters:
Name Type Description $ObjectjQueryObject jquery object. ToggleValidBoolean toggle ValidID ToggleUserModificationBoolean toggle UserModificationActive - Source: