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?
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
Blesta Addons Posted August 31, 2018 Author Report Posted August 31, 2018 On 8/30/2018 at 11:34 PM, 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. Expand i will try it later , thank for the info . Tyson 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now