Class: SystemSettings

SystemSettings

Constructor

new SystemSettings()

"System Settings" Tab Helper
Source:

Methods

get() → {array}

Prepare the system settings array. This method uses the DOM elements of the backend/settings page, so it can't be used in another page.
Source:
Returns:
Returns the system settings array.
Type
array

save(settings)

Save the system settings. This method is run after changes are detected on the tab input fields.
Parameters:
Name Type Description
settings array Contains the system settings data.
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