summaryrefslogtreecommitdiffstats
path: root/lib/public/Dashboard/Model/WidgetSetting.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-05-27 09:10:40 +0200
committerJulius Härtl <jus@bitgrid.net>2020-07-15 09:24:51 +0200
commit544fcdb549381f233dbfd9ca57cf6e7afb490104 (patch)
tree3f97719183cb8bff8a9eaf22999c05e9de98f33e /lib/public/Dashboard/Model/WidgetSetting.php
parent673d70dfc5ac5cab63bda1c0d0d5d7a21bf420e9 (diff)
downloadnextcloud-server-544fcdb549381f233dbfd9ca57cf6e7afb490104.tar.gz
nextcloud-server-544fcdb549381f233dbfd9ca57cf6e7afb490104.zip
Deprecate old dashboard API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/Dashboard/Model/WidgetSetting.php')
-rw-r--r--lib/public/Dashboard/Model/WidgetSetting.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/public/Dashboard/Model/WidgetSetting.php b/lib/public/Dashboard/Model/WidgetSetting.php
index 62429607602..406811e1f87 100644
--- a/lib/public/Dashboard/Model/WidgetSetting.php
+++ b/lib/public/Dashboard/Model/WidgetSetting.php
@@ -45,6 +45,7 @@ use JsonSerializable;
* @see WidgetTemplate::addSetting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Model
*/
@@ -73,6 +74,7 @@ final class WidgetSetting implements JsonSerializable {
* WidgetSetting constructor.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $type
*/
@@ -85,6 +87,7 @@ final class WidgetSetting implements JsonSerializable {
* Set the name of the setting (full string, no space)
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $name
*
@@ -100,6 +103,7 @@ final class WidgetSetting implements JsonSerializable {
* Get the name of the setting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
@@ -112,6 +116,7 @@ final class WidgetSetting implements JsonSerializable {
* Set the title/display name of the setting.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $title
*
@@ -127,6 +132,7 @@ final class WidgetSetting implements JsonSerializable {
* Get the title of the setting
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
@@ -139,6 +145,7 @@ final class WidgetSetting implements JsonSerializable {
* Set the type of the setting (input, checkbox, ...)
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $type
*
@@ -154,6 +161,7 @@ final class WidgetSetting implements JsonSerializable {
* Get the type of the setting.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
@@ -166,6 +174,7 @@ final class WidgetSetting implements JsonSerializable {
* Set the placeholder (in case of type=input)
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $text
*
@@ -181,6 +190,7 @@ final class WidgetSetting implements JsonSerializable {
* Get the placeholder.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
@@ -193,6 +203,7 @@ final class WidgetSetting implements JsonSerializable {
* Set the default value of the setting.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $value
*
@@ -208,6 +219,7 @@ final class WidgetSetting implements JsonSerializable {
* Get the default value.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return string
*/
@@ -218,6 +230,7 @@ final class WidgetSetting implements JsonSerializable {
/**
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @return array
*/