ManagerEvent extends Event
Class ManagerEvent
Typically this class isn't instantiated directly but sub classed for specific event types
Tags
Table of Contents
- 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'
- $appID : string
- $event : string
- $groups : \OCP\IGroup[]|null
- __construct() : mixed
- DispatcherEvent constructor.
- getAppID() : string
- getEvent() : string
- getGroups() : string[]
- returns the group Ids
Constants
EVENT_APP_DISABLE
public
mixed
EVENT_APP_DISABLE
= 'OCP\App\IAppManager::disableApp'
EVENT_APP_ENABLE
public
mixed
EVENT_APP_ENABLE
= 'OCP\App\IAppManager::enableApp'
EVENT_APP_ENABLE_FOR_GROUPS
public
mixed
EVENT_APP_ENABLE_FOR_GROUPS
= 'OCP\App\IAppManager::enableAppForGroups'
EVENT_APP_UPDATE
public
mixed
EVENT_APP_UPDATE
= 'OCP\App\IAppManager::updateApp'
Tags
Properties
$appID
protected
string
$appID
$event
protected
string
$event
$groups
protected
\OCP\IGroup[]|null
$groups
Methods
__construct()
DispatcherEvent constructor.
public
__construct(string $event, $appID[, \OCP\IGroup[]|null $groups = null ]) : mixed
In Nextcloud 17.0.0 this event class used a now deprecated/removed Symfony base class that had a constructor (with default arguments). To lower the risk of a breaking change (PHP won't allow parent constructor calls if there is none), this empty constructor's only purpose is to hopefully not break existing sub- classes of this class.
Parameters
Tags
Return values
mixed —getAppID()
public
getAppID() : string
Tags
Return values
string —getEvent()
public
getEvent() : string
Tags
Return values
string —getGroups()
returns the group Ids
public
getGroups() : string[]