[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/event/src/ -> EventInterface.php (summary)

Part of the Joomla Framework Event Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 57 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

EventInterface:: (4 methods):
  getArgument()
  getName()
  isStopped()
  stopPropagation()


Interface: EventInterface  - X-Ref

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

getArgument($name, $default = null)   X-Ref
Get an event argument value.

param: string  $name     The argument name.
param: mixed   $default  The default value if not found.
return: mixed  The argument value or the default value.

getName()   X-Ref
Get the event name.

return: string  The event name.

isStopped()   X-Ref
Tell if the event propagation is stopped.

return: boolean  True if stopped, false otherwise.

stopPropagation()   X-Ref
Stops the propagation of the event to further event listeners.

return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer