Blesta Addons Posted August 30, 2018 Report Posted August 30, 2018 i want to register a custom event for my plugin to trigger it from other plugin. from the Event Components or the Event Util it appear it only search for event that are reside in the their respective directory, so no way to add events without adding files to that directory . is this true or i have missed something? Quote
Tyson Posted August 30, 2018 Report Posted August 30, 2018 The event listeners will fallback to the default location of the core observers if you do not specific your own callback when registering the event. Don't use the Events component, it has been deprecated and will be removed. Use \Blesta\Core\Util\Events\* as described in the documentation. Also take a look at the README under /blesta/core/Util/Events/ on the file system. Blesta Addons 1 Quote
Blesta Addons Posted August 31, 2018 Author Report Posted August 31, 2018 15 hours ago, Tyson said: The event listeners will fallback to the default location of the core observers if you do not specific your own callback when registering the event. Don't use the Events component, it has been deprecated and will be removed. Use \Blesta\Core\Util\Events\* as described in the documentation. Also take a look at the README under /blesta/core/Util/Events/ on the file system. i will try it later , thank for the info . Tyson 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.