Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Event nameTriggered when...Usage
ezpublish.siteaccessAfter the SiteAccess matching has occurred.

Gives further control on the matched SiteAccess.

The event listener method receives an eZ\Publish\MVC\Event\PostSiteAccessMatchEvent object.

ezpublish.pre_content_viewRight before a view is rendered for a content item, 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\MVC\Event\PreContentViewEvent object.

 

ezpublish.api.contentExceptionThe API throws an exception that could not be caught internally (missing field type, internal error...).

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

The event listener method receives an eZ\Publish\MVC\Event\APIContentExceptionEvent object.

...