ManagerEvent
extends Event
in package
Class ManagerEvent
Tags
Table of Contents
Constants
- EVENT_APP_DISABLE = 'OCP\App\IAppManager::disableApp'
- EVENT_APP_ENABLE = 'OCP\App\IAppManager::enableApp'
- EVENT_APP_ENABLE_FOR_GROUPS = 'OCP\App\IAppManager::enableAppForGroups'
- EVENT_APP_UPDATE = 'OCP\App\IAppManager::updateApp'
Properties
- $appID : string
- $event : string
- $groups : array<string|int, IGroup>|null
- $propagationStopped : bool
Methods
- __construct() : mixed
- DispatcherEvent constructor.
- getAppID() : string
- getEvent() : string
- getGroups() : array<string|int, string>
- returns the group Ids
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Constants
EVENT_APP_DISABLE
public
mixed
EVENT_APP_DISABLE
= 'OCP\App\IAppManager::disableApp'
Tags
EVENT_APP_ENABLE
public
mixed
EVENT_APP_ENABLE
= 'OCP\App\IAppManager::enableApp'
Tags
EVENT_APP_ENABLE_FOR_GROUPS
public
mixed
EVENT_APP_ENABLE_FOR_GROUPS
= 'OCP\App\IAppManager::enableAppForGroups'
Tags
EVENT_APP_UPDATE
public
mixed
EVENT_APP_UPDATE
= 'OCP\App\IAppManager::updateApp'
Tags
Properties
$appID
protected
string
$appID
$event
protected
string
$event
$groups
protected
array<string|int, IGroup>|null
$groups
$propagationStopped
private
bool
$propagationStopped
= false
Tags
Methods
__construct()
DispatcherEvent constructor.
public
__construct(string $event, mixed $appID[, array<string|int, IGroup>|null $groups = null ]) : mixed
Parameters
- $event : string
- $appID : mixed
- $groups : array<string|int, IGroup>|null = null
Tags
getAppID()
public
getAppID() : string
Tags
Return values
stringgetEvent()
public
getEvent() : string
Tags
Return values
stringgetGroups()
returns the group Ids
public
getGroups() : array<string|int, string>
Tags
Return values
array<string|int, string>isPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void