Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Some plugins may need to be invoked to perform certain tasks immediately before or after an action has occurred. For this reason plugins may register plugin events. These Events automatically initialize the plugin and invoke the desired event handler (i.e. callback method) when triggered. All event handlers accept a single \Blesta\Core\Util\Events\Common\EventInterface (previously an EventObject). parameter.

For performing tasks at regular intervals see Plugin Cron Tasks.

...