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
string
The argument name.- default
mixed
The default value if not found.
Response
mixed
The argument value or the default value.
getName
Get the event name.
getName() : string
since |
1.0 |
---|
Response
string
The event name.
isStopped
Tell if the event propagation is stopped.
isStopped() : bool
since |
1.0 |
---|
Response
bool
True if stopped, false otherwise.
stopPropagation
Stops the propagation of the event to further event listeners.
stopPropagation() : void
since |
2.0.0 |
---|