Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:entwickler:hooks [2026/08/26 21:04] – kainhofer | en:entwickler:hooks [2026/08/26 22:33] (current) – kainhofer | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| Admidio' | Admidio' | ||
| modify core Admidio behavior without patching core files or subclassing core classes: | modify core Admidio behavior without patching core files or subclassing core classes: | ||
| - | * You register a callback function for any of the documented | + | * You register a callback function for any of the documented |
| - | * At several strategic spots in the code, Admidio core dispatches a named hoo, at that point | + | * At several strategic spots in the code, Admidio core dispatches a named hook |
| * Core calls all registered callback functions for the particular named hook. | * Core calls all registered callback functions for the particular named hook. | ||
| Line 146: | Line 146: | ||
| } | } | ||
| // reject an email outside the association' | // reject an email outside the association' | ||
| - | if ($userData-> | + | if ($userData-> |
| throw new Exception(' | throw new Exception(' | ||
| } | } | ||
| Line 202: | Line 202: | ||
| Hooks:: | Hooks:: | ||
| if ($page-> | if ($page-> | ||
| - | $page-> | + | $page-> |
| } | } | ||
| }); | }); | ||