ManagerEvent
extends Event
in package
Class ManagerEvent
Tags
Table of Contents
Constants
- EVENT_CREATE = 'OCP\SystemTag\ISystemTagManager::createTag'
- EVENT_DELETE = 'OCP\SystemTag\ISystemTagManager::deleteTag'
- EVENT_UPDATE = 'OCP\SystemTag\ISystemTagManager::updateTag'
Properties
- $beforeTag : ISystemTag
- $event : string
- $tag : ISystemTag
- $propagationStopped : bool
Methods
- __construct() : mixed
- DispatcherEvent constructor.
- getEvent() : string
- getTag() : ISystemTag
- getTagBefore() : ISystemTag
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Constants
EVENT_CREATE
public
mixed
EVENT_CREATE
= 'OCP\SystemTag\ISystemTagManager::createTag'
Tags
EVENT_DELETE
public
mixed
EVENT_DELETE
= 'OCP\SystemTag\ISystemTagManager::deleteTag'
Tags
EVENT_UPDATE
public
mixed
EVENT_UPDATE
= 'OCP\SystemTag\ISystemTagManager::updateTag'
Tags
Properties
$beforeTag
protected
ISystemTag
$beforeTag
$event
protected
string
$event
$tag
protected
ISystemTag
$tag
$propagationStopped
private
bool
$propagationStopped
= false
Tags
Methods
__construct()
DispatcherEvent constructor.
public
__construct(string $event, ISystemTag $tag[, ISystemTag|null $beforeTag = null ]) : mixed
Parameters
- $event : string
- $tag : ISystemTag
- $beforeTag : ISystemTag|null = null
Tags
getEvent()
public
getEvent() : string
Tags
Return values
stringgetTag()
public
getTag() : ISystemTag
Tags
Return values
ISystemTaggetTagBefore()
public
getTagBefore() : ISystemTag
Tags
Return values
ISystemTagisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void