OTRS API Reference JavaScript

Namespace: Core.Init

Core. Init

This namespace contains initialization functionalities.
Author:
  • OTRS AG

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

(static) ExecuteInitByName(Namespace)

This function calls Init function from the passed name space string.
Parameters:
Name Type Description
Namespace String the name space where Init function will be called from.

(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