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( name, default = null) :
| 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() :
| since |
1.0 |
|---|
Response
stringThe event name.
isStopped
Tell if the event propagation is stopped.
isStopped() :
| since |
1.0 |
|---|
Response
boolTrue if stopped, false otherwise.
stopPropagation
Stops the propagation of the event to further event listeners.
stopPropagation() :
| since |
2.0.0 |
|---|
Response
void