[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-eventmanager/src/ -> EventInterface.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 96 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

EventInterface:: (10 methods):
  getName()
  getTarget()
  getParams()
  getParam()
  setName()
  setTarget()
  setParams()
  setParam()
  stopPropagation()
  propagationIsStopped()


Interface: EventInterface  - X-Ref

Representation of an event

getName()   X-Ref
Get event name

return: string

getTarget()   X-Ref
Get target/context from which event was triggered

return: null|string|object

getParams()   X-Ref
Get parameters passed to the event

return: array|ArrayAccess

getParam($name, $default = null)   X-Ref
Get a single parameter by name

param: string $name
param: mixed $default Default value to return if parameter does not exist
return: mixed

setName($name)   X-Ref
Set the event name

param: string $name
return: void

setTarget($target)   X-Ref
Set the event target/context

param: null|string|object $target
return: void

setParams($params)   X-Ref
Set event parameters

param: string $params
return: void

setParam($name, $value)   X-Ref
Set a single parameter by key

param: string $name
param: mixed $value
return: void

stopPropagation($flag = true)   X-Ref
Indicate whether or not the parent EventManagerInterface should stop propagating events

param: bool $flag
return: void

propagationIsStopped()   X-Ref
Has this event indicated event propagation should stop?

return: bool



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1