* The call can be done from any Service.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard
*/
* Register a IWidgetsService.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param IWidgetsService $widgetsService
*/
* Register a IEventsService.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param IEventsService $eventsService
*/
* @see IWidgetConfig
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param string $userId
* that are running dashboard.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $users
* Create push notifications for groups. (ie. createUsersEvent())
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $groups
* Create push notifications for everyone. (ie. createUsersEvent())
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $payload
* Multiple widget can be defined in the same appinfo/info.xml.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard
*/
* Should returns the (unique) Id of the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Should returns the [display] name of the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* This description is displayed in the listing of the available widgets.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* @see WidgetTemplate
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return WidgetTemplate
*/
* @see WidgetSetup
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return WidgetSetup
*/
* @see IWidgetConfig
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param IWidgetConfig $settings
*/
* @see IWidgetRequest
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param IWidgetRequest $request
*/
* @see IDashboardWidget::loadWidget
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Model
*/
* Returns the userId
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Returns the widgetId
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* ]
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* Dashboard app.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* Returns if the widget is enabled/displayed in this user's dashboard.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return bool
*/
* @see IDashboardWidget::requestWidget
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Model
*/
* Get the widgetId.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Get the WidgetClass.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return IDashboardWidget
*/
* callback);
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* @see getRequest
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Returns the result.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* add a result (as string)
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $key
* @param string $result
* add a result (as array)
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $key
* @param array $result
* @see WidgetTemplate::addSetting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Model
*/
* WidgetSetting constructor.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $type
*/
* Set the name of the setting (full string, no space)
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $name
*
* Get the name of the setting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Set the title/display name of the setting.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $title
*
* Get the title of the setting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Set the type of the setting (input, checkbox, ...)
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $type
*
* Get the type of the setting.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Set the placeholder (in case of type=input)
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $text
*
* Get the placeholder.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Set the default value of the setting.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $value
*
* Get the default value.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
/**
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* @see IDashboardWidget::getWidgetSetup
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Model
*/
*
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $type
*
* Returns all sizes defined for the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* Add a new size to the setup.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $type
* @param int $width
* Returns menu entries.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* $text is the display name of the menu entry.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $function
* @param string $icon
* $delay is the time in seconds between each call.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $function
* @param int $delay
* Get delayed jobs.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* Get the push function, called when an event is send to the front-end
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* frontend.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $function
*
* Returns the default settings for a widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* @see WidgetSetting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param array $settings
*
/**
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* @see IDashboardWidget::getWidgetTemplate
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Model
*/
* Get the icon class of the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* @see addCss
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $icon
*
* Get CSS files to be included when displaying a widget
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* path and name of CSS files
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param array $css
*
* Add a CSS file to be included when displaying a widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $css
*
* Get JS files to be included when loading a widget
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* Set an array of JS files to be included when loading a widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param array $js
*
* Add a JS file to be included when loading a widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $js
*
* Get the HTML file that contains the content of the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* Set the HTML file that contains the content of the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $content
*
* Get the JS function to be called when loading the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
* dashboard
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $function
*
* @see WidgetSetting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return WidgetSetting[]
*/
* Define all WidgetSetting for the widget.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @see WidgetSetting
*
* @see WidgetSetting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param WidgetSetting $setting
*
* @see WidgetSetting::setName
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $key
*
/**
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/
* are used by the IDashboardManager when creating push event.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Service
*/
* @see IDashboardManager::createUsersEvent
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $users
* @see IDashboardManager::createGroupsEvent
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $groups
* @see IDashboardManager::createGlobalEvent
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $payload
* configuration of a widget for a user.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Service
*/
* Returns the IWidgetConfig for a widgetId and userId
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param string $userId