new UserSettings()
"User Settings" Tab Helper
- Source:
Methods
-
get() → {object}
-
Get the settings data for the user settings.
- Source:
Returns:
Returns the user settings array.- Type
- object
-
save(settings)
-
Store the user settings into the database.
Parameters:
Name Type Description settings
array Contains the user settings. - Source:
-
validate() → {bool}
-
Validate the settings data. If the validation fails then display a message to the user.
- Source:
Returns:
Returns the validation result.- Type
- bool