Class Event
-
Joomla\Event\AbstractEvent
implements
Joomla\Event\EventInterface,
ArrayAccess,
Serializable,
Countable
-
Joomla\Event\Event
Methods summary
public
Joomla\Event\Event
|
#
addArgument( string $name, mixed $value )
Add an event argument, only if it is not existing.
Add an event argument, only if it is not existing.
Parameters
- $name
string - $name The argument name.
- $value
mixed - $value The argument value.
Returns
Since
1.0
|
public
Joomla\Event\Event
|
#
setArgument( string $name, mixed $value )
Set the value of an event argument. If the argument already exists, it will
be overridden.
Set the value of an event argument. If the argument already exists, it will
be overridden.
Parameters
- $name
string - $name The argument name.
- $value
mixed - $value The argument value.
Returns
Since
1.0
|
public
mixed
|
#
removeArgument( string $name )
Remove an event argument.
Remove an event argument.
Parameters
- $name
string - $name The argument name.
Returns
mixed - The old argument value or null if it is not existing.
Since
1.0
|
public
array
|
#
clearArguments( )
Clear all event arguments.
Clear all event arguments.
Returns
array - The old arguments.
Since
1.0
|
public
|
#
stop( )
Stop the event propagation.
Stop the event propagation.
Since
1.0
|
public
|
#
offsetSet( string $name, mixed $value )
Set the value of an event argument.
Set the value of an event argument.
Parameters
- $name
string - $name The argument name.
- $value
mixed - $value The argument value.
Throws
Since
1.0
|
public
|
#
offsetUnset( string $name )
Remove an event argument.
Remove an event argument.
Parameters
- $name
string - $name The argument name.
Since
1.0
|
__construct()
,
count()
,
getArgument()
,
getArguments()
,
getName()
,
hasArgument()
,
isStopped()
,
offsetExists()
,
offsetGet()
,
serialize()
,
unserialize()
Magic methods summary
Properties summary
$arguments
,
$name
,
$stopped