Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Observer / listener / event

Code that reacts to something that happened elsewhere without the source knowing it: ezpEvent listeners, notification handlers, cache listeners. 10 instances in Exponential.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/standards/patterns/observer.md

On this page

Observer / listener / event

Note

This page is generated from the source code by php bin/php/exppatterncatalogue.php --write. Do not edit it by hand: change the code or the generator, then run the command again. How the patterns are recognized: the pattern catalogue.

Code that reacts to something that happened elsewhere without the source knowing it: ezpEvent listeners, notification handlers, cache listeners.

GroupBehavior
Instances10
Recognized byClass name contains Listener, Observer or Subscriber, or has attach()/notify()/addListener() methods; every ezpEvent notify()/filter() call (see the hooks page).
Extension pointevent.ini [Event] Listeners[]=EVENT@CALLBACK; notification.ini [NotificationEventHandlerSettings] AvailableNotificationEventTypes[].

Classes by area

extension/cjw_newsletter (2)

All patterns of extension/cjw_newsletter

ClassKindFileDescriptionExtension point
CjwNewsletterSubscriberExportclassextension/cjw_newsletter/classes/importexport/cjwnewslettersubscriberexport.php:22The subscribers of one list as CSV, with filters (subscription status, a date range on a chosen date) and a choice of columns.–
Exponential\View\Extension\CjwNewsletter\Newsletter\SubscriberExportclass extends ModuleViewextension/cjw_newsletter/classes/runnable/views/newsletter/subscriber_export.php:15newsletter/subscriber_export/: the subscribers of a list as a CSV file, with filters (status, a date range) and a choice of columns.–

extension/expai (1)

All patterns of extension/expai

ClassKindFileDescriptionExtension point
expAiPackageDraftListenerclassextension/expai/classes/expaipackagedraftlistener.php:21Listens to the kernel's event package/install/drafts (eZPackage::notifyDraftsInstalled(): after any install of a package as drafts, in Setup › Packag…–

extension/explayouts (2)

All patterns of extension/explayouts

ClassKindFileDescriptionExtension point
expLayoutsSiteBundleEventclassextension/explayouts/classes/explayoutssitebundleevent.php:4––
expLayoutsSiteBundleEventListenerclassextension/explayouts/classes/explayoutssitebundleeventlistener.php:4––

kernel/classes/datatable (1)

All patterns of kernel/classes/datatable

ClassKindFileDescriptionExtension point
expDataSyncListenerclasskernel/classes/datatable/sync/expdatasynclistener.php:20The live mirror of the data table synchronisations (doc/eng-us/features/6.0/data-tables.md, "Live mirror"): the kernel notifies content/publish, cont…–

kernel/classes/requestclassifier (1)

All patterns of kernel/classes/requestclassifier

ClassKindFileDescriptionExtension point
expRequestVerdictListenerInterfaceinterfacekernel/classes/requestclassifier/exprequestverdictlistenerinterface.php:18Told about every verdict of the request classifier after its security.log line is written (settings/requestclassifier.ini [ClassifierSettings] Listen…–

kernel/private (1)

All patterns of kernel/private

ClassKindFileDescriptionExtension point
ezpEventclasskernel/private/classes/ezpevent.php:20This class handles internal kernel events in Exponential, aka hooks.–

kernel/private/classes/clusterfilehandlers (1)

All patterns of kernel/private/classes/clusterfilehandlers

ClassKindFileDescriptionExtension point
eZClusterEventListenerinterfacekernel/private/classes/clusterfilehandlers/interfaces/ezclustereventlistener.php:14Interface to be implemented by any cluster event listener–

kernel/private/classes/httpcache (1)

All patterns of kernel/private/classes/httpcache

ClassKindFileDescriptionExtension point
ezpHttpCacheListenerclasskernel/private/classes/httpcache/ezphttpcachelistener.php:27The kernel side of the role-aware HTTP cache: stores rendered content views for the early exit and Velocity's parent to serve, and turns the kernel's…–

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x