OnMODXInit
Last updated Apr 29th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn moreEvent: OnMODXInit¶
Fires when the MODX object is initialized.
- Service: 5 - Template Service 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¶
| File | core/src/Revolution/modX.php |
|---|---|
| Class | MODX\Revolution\modX |
| Method | public function initialize($contextKey = 'web', $options = null) |
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










