Module Events

Introduction

Event is record of occurrence of a specific situation in system. The application reads events from event queue and takes the actions specified by the developer.

Available Events

Below is the list of available events connected with the components only. More information about event’s operations in a system can be found in the events section.

Views

The creation of all the foo component’s views:

composing: antares/foo::*

The creation of the foo component’s admin.foo.index view:

composing: antares/foo::admin.foo.index
Component’s Start

A registration of a component (the register() method in a service provider):

extension.started: components/foo

Component’s start (the boot() method in a service provider):

extension.booted: components/foo
Placeholder

The creation of the placeholder’s view:

creating: antares/foo::admin.partials._foo_placeholder

Before the foo component’s placeholder:

placeholder.before.foo

After the foo component’s placeholder:

placeholder.after.foo

Before the creation of an element in the main menu:

antares.ready: menu.before.foo

After the creation of an element in the main menu:

antares.ready: menu.after.foo

Before the creation of an element in a breadcrumb:

antares.ready: menu.before.foo-breadcrumb

After the creation of an element in a breadcrumb:

antares.ready: menu.after.foo-breadcrumb

Before the creation of a submenu’s element in a breadcrumb:

antares.ready: menu.before.foo-add

After the creation of a submenu’s element in a breadcrumb:

antares.ready: menu.after.foo-add
Pane Menu

Before the creation of a menu’s element in a pane:

antares.ready: menu.before.foo-item

After the creation of a menu’s element in a pane:

antares.ready: menu.after.foo-item

Before the creation of a menu’s element in a pane containing submenu:

antares.ready: menu.before.foo-item-submenu

After the creation of a menu’s element in a pane containing submenu:

antares.ready: menu.after.foo-item-submenu

Before the creation of a submenu’s element in a pane:

antares.ready: menu.before.foo-item-submenu-element

After the creation of a submenu’s element in a pane:

antares.ready: menu.after.foo-item-submenu-element
Pane

Before the creation of a pane’s view:

creating: antares/foundation::components.placeholder_left

After the creation of a pane’s view:

composing: antares/foundation::components.placeholder_left
Eloquent

Before the start of the Foo component’s Eloquent model:

eloquent.booting: Antares\Foo\Model\FooRow

After the start of the Foo component’s Eloquent model:

eloquent.booted: Antares\Foo\Model\FooRow