phpBB

Development Wiki

Events

From phpBB Development Wiki

Revision as of 22:47, 18 March 2012 by Nickvergessen (Talk | contribs)

What are events?

An event is a hook location, also once known as a ledge. When an extension wishes to hook its functionality into the phpBB core at a certain point, it can do so only at available hook locations, or events. For more information, see the wiki article for listeners.

Why do we need events?

They link the identifiers to the point where the code needs modifying and as such they are vital.

Naming

Name Explanation
Events An event is a hook location, also once known as a ledge. When an extension wishes to hook its functionality into the phpBB core at a certain point, it can do so only at available hook locations, or events. For more information, see the wiki article for listeners.
Listeners A listener is a way to injecting or modifying code without having to edit the file. Listeners are injected into points that we call Events. Listeners might also be known as hooks.
Subscriber A subscribed is a collection of listeners
Dispatcher N/A