Skip to Navigation

3.5. Frontend Modules

Frontend modules are located under "$OTRS_HOE/Kernel/Modules/*.pm". There are two public functions in there - "new()" and "run()" - which are accessed from the Frontend Handle (e.g. index.pl).

"new()" is used to create a frontend module object. The Frontend Handle provides the used frontend module with the basic framework objects. These are, for example: ParamObject (to get formular params), DBObject (to use existing databse connects), LayoutObject (to use templates and other html layout functions), ConfigObject (to access config settings), LogObject (to use the framework log system), UserObject (to get the user functions from the current user), GroupObject (to get the group functions).

For more information on core modules see: http://dev.otrs.org/