This namespace contains functions that are used in the backend section of
the applications.
- Source:
Members
-
<static> EXCEPTIONS_TITLE
-
Backend Constants
- Source:
Methods
-
<static> displayNotification(message, actions)
-
Display backend notifications to user. Using this method you can display notifications to the use with custom messages. If the 'actions' array is provided then an action link will be displayed too.
Parameters:
Name Type Description message
string Notification message actions
array An array with custom actions that will be available to the user. Every array item is an object that contains the 'label' and 'function' key values. - Source:
-
<static> handleAjaxExceptions(response) → {bool}
-
All backend js code has the same way of dislaying exceptions that are raised on the server during an ajax call.
Parameters:
Name Type Description response
object Contains the server response. If exceptions or warnings are found, user friendly messages are going to be displayed to the user. - Source:
Returns:
Returns whether the the ajax callback should continue the execution or stop, due to critical server exceptions.- Type
- bool
-
<static> placeFooterToBottom()
-
Place the backend footer always on the bottom of the page.
- Source: