Jump to main content Jump to doc navigation

OnMODXInit

Other versions: 3.x — Other languages: EN RU — Found a problem? Please edit this page or report an issue.

Event: OnMODXInit

Invoked upon initialization of the MODX object.

  • Service: 5 - Manager Access Events
  • Group: System

Event Parameters

Name Description
contextKey The context_key of the context being initialized
options Any options passed to the initialize() function

Remarks

Previous event ?
Next event ?
File core/model/modx/modx.class.php
Class class modx
Method public function initialize($contextKey= 'web', $options = null)

See Also