PHP Contao\CoreBundle\EventListener Пространство имен

Классы

Имя Описание
AddToSearchIndexListener Adds a page to the search index after the response has been sent.
BypassMaintenanceListener Adds the maintenance attribute to the request.
CommandSchedulerListener Triggers the Contao command scheduler after the response has been sent.
ContainerScopeListener Changes the container scope based on the route configuration.
DoctrineSchemaListener
ExceptionConverterListener Converts exceptions to HTTP exceptions.
InsecureInstallationListener Ensures that the document root is secure.
LocaleListener Persists the locale from the accept header or the request in the session.
MergeHttpHeadersListener Adds HTTP headers sent by Contao to the Symfony response.
PrettyErrorScreenListener Renders pretty error screens for exceptions.
RefererIdListener Adds the referer ID to the current request.
ResponseExceptionListener Creates a response from an exception.
StoreRefererListener Stores the referer in the session.
ToggleViewListener Sets the TL_VIEW cookie based on the "toggle_view" query parameter.
UserSessionListener Stores and restores the user session.

Traits

Имя Описание
UserAwareTrait Provides methods to test if there is a user.