Ubiquity  2.4.4
php rapid development framework
EventsManager Class Reference

Manage events. More...

Static Public Member Functions

static start ()
 
static addListener ($eventName, $action)
 
static store ()
 
static trigger ($eventName, &... $params)
 

Static Protected Attributes

static $managedEvents = []
 

Static Private Member Functions

static triggerOne ($action, &$params)
 

Static Private Attributes

static $key = 'events/events'
 

Detailed Description

Manage events.

Author
jc

Definition at line 12 of file EventsManager.php.

Member Function Documentation

◆ addListener()

static addListener (   $eventName,
  $action 
)
static

Definition at line 28 of file EventsManager.php.

◆ start()

static start ( )
static

Definition at line 22 of file EventsManager.php.

◆ store()

static store ( )
static

Definition at line 35 of file EventsManager.php.

◆ trigger()

static trigger (   $eventName,
&...  $params 
)
static

Definition at line 39 of file EventsManager.php.

◆ triggerOne()

static triggerOne (   $action,
$params 
)
staticprivate

Definition at line 47 of file EventsManager.php.

Field Documentation

◆ $key

$key = 'events/events'
staticprivate

Definition at line 14 of file EventsManager.php.

◆ $managedEvents

$managedEvents = []
staticprotected

Definition at line 20 of file EventsManager.php.


The documentation for this class was generated from the following file: