DashboardManager

class OC\Dashboard\DashboardManager
Class DashboardManager
Source:lib/private/Dashboard/DashboardManager.php#40
Implements:OCP\Dashboard\IDashboardManager

Properties

Methods

public OC\Dashboard\DashboardManager::registerEventsService($eventsService)
Source:

lib/private/Dashboard/DashboardManager.php#53

Parameters:
public OC\Dashboard\DashboardManager::registerWidgetsService($widgetsService)
Source:

lib/private/Dashboard/DashboardManager.php#61

Parameters:
public OC\Dashboard\DashboardManager::getWidgetConfig($widgetId, $userId)
Source:

lib/private/Dashboard/DashboardManager.php#73

Parameters:
  • $widgetId (string)
  • $userId (string)
Returns:

\OCP\Dashboard\Model\IWidgetConfig

Throws:

\OCP\Dashboard\Exceptions\DashboardAppNotAvailableException

public OC\Dashboard\DashboardManager::createUsersEvent($widgetId, $users, $payload, $uniqueId="")
Source:

lib/private/Dashboard/DashboardManager.php#86

Parameters:
  • $widgetId (string)
  • $users (array)
  • $payload (array)
  • $uniqueId (string)
Throws:

\OCP\Dashboard\Exceptions\DashboardAppNotAvailableException

public OC\Dashboard\DashboardManager::createGroupsEvent($widgetId, $groups, $payload, $uniqueId="")
Source:

lib/private/Dashboard/DashboardManager.php#99

Parameters:
  • $widgetId (string)
  • $groups (array)
  • $payload (array)
  • $uniqueId (string)
Throws:

\OCP\Dashboard\Exceptions\DashboardAppNotAvailableException

public OC\Dashboard\DashboardManager::createGlobalEvent($widgetId, $payload, $uniqueId="")
Source:

lib/private/Dashboard/DashboardManager.php#111

Parameters:
  • $widgetId (string)
  • $payload (array)
  • $uniqueId (string)
Throws:

\OCP\Dashboard\Exceptions\DashboardAppNotAvailableException