Message-ID: <38213370.4246.1485862001906.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4245_2126791313.1485862001906" ------=_Part_4245_2126791313.1485862001906 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Events

Events

Introduction

This page presents the events that are triggered by eZ Publish 5.

eZ Publish Core

Event name Triggered when... Usage
ezpublish.siteaccess= After the SiteAccess matching has = occurred.

Gives further control on the ma= tched SiteAccess.

The event listener method receives an eZ\Publ= ish\MVC\Event\PostSiteAccessMatchEvent object.

ezpublish.pre_conten= t_view Right before a view is rendered fo= r a content, via the content view controller.

This event is triggered by the = view manager and allows you to inject additional parameters to the content = view template.

The event listener method receives an eZ\Publish\MV= C\Event\PreContentViewEvent object.

 

ezpublish.api.conten= tException The API throws an exception that c= ould not be caught internally (missing field type, internal error...).

This event allows further progr= ammatic handling (like rendering a custom view) for the exception thrown.

The event listener method receives an eZ\Publish\MVC\Event\APICo= ntentExceptionEvent object.

eZ Publish Legacy

Event name Triggered when... Usage
ezpublish_legacy.bui= ld_kernel_web_handler

Right before the build of the l= egacy kernel web handler.

This event allows to inject par= ameters into the web handler (mainly for internal use)

The event list= ener method receives an eZ\Publish\Legacy\Event\PreBuildKernelWebHand= lerEvent

------=_Part_4245_2126791313.1485862001906--