Utilities / Event
im\util\Event
An event object for the im\util\EventHandler
class Event {
// Properties
public int $flag
public im\util\EventHandler $target
public string $subject = NULL
public mixed $data = NULL
public mixed $meta = NULL
// Methods
public __construct(int $flag, im\util\EventHandler $target, null|string $subject = NULL, mixed $data = NULL, mixed $meta = NULL, bool $recursive = FALSE)
}
Name | Description |
---|---|
Event :: $flag | The event flag that defines the type of event this is |
Event :: $target | The event handler that triggered this event |
Event :: $subject | An optional subject for this event |
Event :: $data | Optional data that can be attached to the event |
Event :: $meta | Additional information that can be attached to the event |
Name | Description |
---|---|
Event :: __construct |