Documentation

EventPriority
in package

List of event priorities

Events will be called in this order: LOWEST -> LOW -> NORMAL -> HIGH -> HIGHEST -> MONITOR

MONITOR events should not change the event outcome or contents

Table of Contents

ALL  = [self::LOWEST, self::LOW, self::NORMAL, self::HIGH, self::HIGHEST, self::MONITOR]
HIGH  = 2
Event call is of high importance
HIGHEST  = 1
Event call is critical and must have the final say in what happens to the event
LOW  = 4
Event call is of low importance
LOWEST  = 5
Event call is of very low importance and should be ran first, to allow other plugins to further customise the outcome
MONITOR  = 0
Event is listened to purely for monitoring the outcome of an event.
NORMAL  = 3
Event call is neither important or unimportant, and may be ran normally.
fromString()  : int
__construct()  : mixed

Constants

ALL

public mixed ALL = [self::LOWEST, self::LOW, self::NORMAL, self::HIGH, self::HIGHEST, self::MONITOR]

HIGHEST

Event call is critical and must have the final say in what happens to the event

public mixed HIGHEST = 1

LOWEST

Event call is of very low importance and should be ran first, to allow other plugins to further customise the outcome

public mixed LOWEST = 5

MONITOR

Event is listened to purely for monitoring the outcome of an event.

public mixed MONITOR = 0

No modifications to the event should be made under this priority

NORMAL

Event call is neither important or unimportant, and may be ran normally.

public mixed NORMAL = 3

This is the default priority.

Methods

fromString()

public static fromString(string $name) : int
Parameters
$name : string
Tags
throws
InvalidArgumentException
Return values
int

__construct()

private __construct() : mixed
Return values
mixed

Search results