ManagerEvent

class OCP\App\ManagerEvent
Class ManagerEvent
Source:lib/public/App/ManagerEvent.php#34
Parent:OCP\EventDispatcher\Event

Constants

EVENT_APP_ENABLE = OCP\App\IAppManager::enableApp
Source:lib/public/App/ManagerEvent.php#38
Deprecated:22.0.0
EVENT_APP_ENABLE_FOR_GROUPS = OCP\App\IAppManager::enableAppForGroups
Source:lib/public/App/ManagerEvent.php#43
Deprecated:22.0.0
EVENT_APP_DISABLE = OCP\App\IAppManager::disableApp
Source:lib/public/App/ManagerEvent.php#48
Deprecated:22.0.0
EVENT_APP_UPDATE = OCP\App\IAppManager::updateApp
Source:lib/public/App/ManagerEvent.php#54
Since:9.1.0
Deprecated:22.0.0

Properties

protected static property OCP\App\ManagerEvent::$event
Source:lib/public/App/ManagerEvent.php#57
Type:string
protected static property OCP\App\ManagerEvent::$appID
Source:lib/public/App/ManagerEvent.php#59
Type:string
protected static property OCP\App\ManagerEvent::$groups
Source:lib/public/App/ManagerEvent.php#61
Type:\OCP\IGroup[] | null

Methods

public OCP\App\ManagerEvent::__construct($event, $appID, $groups=null)
DispatcherEvent constructor.
Source:

lib/public/App/ManagerEvent.php#71

Parameters:
Since:

9.0.0

public OCP\App\ManagerEvent::getEvent()
Source:lib/public/App/ManagerEvent.php#81
Returns:string
Since:9.0.0
public OCP\App\ManagerEvent::getAppID()
Source:lib/public/App/ManagerEvent.php#89
Returns:string
Since:9.0.0
public OCP\App\ManagerEvent::getGroups()
returns the group Ids
Source:lib/public/App/ManagerEvent.php#98
Returns:string[]
Since:9.0.0