Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted
  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 .

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...