Blesta Source Documentation

AppController extends Observer

The AppController event observer

Table of Contents

Methods

preAction() Handle AppController.preAction events.
structure() Handle AppController.structure events.
triggerEvent() Handle event triggers
triggerDeprecatedEvent() Triggers a deprecated event
Methods

preAction()

Handle AppController.preAction events.

public static preAction(EventInterface $event) : EventInterface
Parameters
$event : EventInterface

An event object for AppController.preAction events

Return values
EventInterface

The processed event object

structure()

Handle AppController.structure events.

public static structure(EventInterface $event) : EventInterface
Parameters
$event : EventInterface

An event object for AppController.structure events

Return values
EventInterface

The processed event object

triggerDeprecatedEvent()

Triggers a deprecated event

protected static triggerDeprecatedEvent(string $eventName, array<string|int, mixed> $params) : mixed
Parameters
$eventName : string

The name of the deprecated event to trigger

$params : array<string|int, mixed>

The parameters to pass to the event

Tags
subpackage

core.Util.Events.Observers

copyright

Copyright (c) 2019, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results