andrew8669
andrew8669

I'm looking for a reference that outlines all of the global events defined in OctoberCMS' core. For example, I'm looking for a "plugin loaded" type of event.

Is there a reference to this anywhere within the documentation?

denis.rendler
denis.rendler

I'm interested in this list as well. Let me know if you find such a list. :)

Gbaumeister
Gbaumeister

+1 this. Documentation lacks this unfortunately....

daftspunk
daftspunk

This should arrive as part of the API documentation, we have it as a planned feature.

LukeTowers
LukeTowers

If @daftspunk wants, I'll be working on adding this to the documentation. In the meantime, you can view my WIP list of events here: https://docs.google.com/spreadsheets/d/17vv4zn_ezp9iFBgYhYuYsmUG4MXW9uuIw7aOIrVcHiM/edit?usp=sharing

rymec0de
rymec0de

daftspunk said:

This should arrive as part of the API documentation, we have it as a planned feature.

Any progress on this?
Also, besides a simple list, I would love an order of execution for those aswell.

Last updated

LukeTowers
LukeTowers

@rymec0de: yes, see https://octobercms.com/docs/api. There won't be an order of execution because it's different for every request, but it's possible that we could generate a list of events fired over the course of a request available as a debugging tool.

Last updated

rymec0de
rymec0de

@LukeTowers: hmm... under Events I only get cms -> theme -> getActiveTheme. Or the idea is that I can browse around to find them there (which I still couldn't even for known events)?

Search doesn't help either, as it looks in all of /docs/ not only /docs/api/.

Last updated

LukeTowers
LukeTowers

The API docs are out of date with the code right now, when Build 420+ goes to master the API docs will be regenerated. However, keep in mind that not all (not even a majority yet actually) of the events are documented in that format yet. If you would like to help with that, we would love to merge pull requests to the repository that would add the inline documentation that is used by the API doc generator.

1-9 of 9