This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
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?
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
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
@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
@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
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