Work In Progress

This book is currently work in progress. Some sections are not yet written. Thank you for your understanding!

Using plugin events

Table classes can call plugin events. For example, Joomla's default Table::check() implementation goes through the onTableCheck plugin event to let plugins perform additional data validation before data is written to the database.

The Table superclasses offer a getDispatcher() method to get a reference to Joomla's Events Dispatcher object. As we noted in the Controllers section this is the preferred way to use plugins in Joomla 4 and beyond.