EventInterface

Interface for events.

An event has a name and its propagation can be stopped.

since

1.0

package

Joomla Framework

Methods

getArgument

Get an event argument value.

getArgument(string name, mixed default = null) : mixed
since

2.0.0

Arguments

name

stringThe argument name.

default

mixedThe default value if not found.

Response

mixedThe argument value or the default value.

getName

Get the event name.

getName() : string
since

1.0

Response

stringThe event name.

isStopped

Tell if the event propagation is stopped.

isStopped() : bool
since

1.0

Response

boolTrue if stopped, false otherwise.

stopPropagation

Stops the propagation of the event to further event listeners.

stopPropagation() : void
since

2.0.0