OTRS API Reference JavaScript

Namespace: Core.Init

Core. Init

This namespace contains initialization functionalities.
Author:
  • OTRS AG
Source:

Methods

(static) ExecuteInit(InitializationBlock)

Initialize the OTRS app. Call all init function of all previously registered JS namespaces. Parameter defines, which initialization block should be executed.
Parameters:
Name Type Description
InitializationBlock String The block of registered namespaces that should be initialized
Source:

(static) RegisterNamespace(NewNamespace, InitializationBlock)

Register a new JavaScript namespace for the OTRS app. Parameters define, when the init function of the registered namespace should be executed.
Parameters:
Name Type Description
NewNamespace Object The new namespace to register
InitializationBlock String The name of the initialization block in which the namespace should be registered
Source: