diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-05-22 12:31:15 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-22 15:10:34 +0200 |
commit | 8d472601447f88784f5d9476955830ef78b80421 (patch) | |
tree | b8b36056b294c01c9f419733873384f8c0757b50 /lib/public/activity/imanager.php | |
parent | 5768b3fe2c328b81d9c0aa9eec07846a391d212d (diff) | |
download | nextcloud-server-8d472601447f88784f5d9476955830ef78b80421.tar.gz nextcloud-server-8d472601447f88784f5d9476955830ef78b80421.zip |
Allow types to be method specific
Diffstat (limited to 'lib/public/activity/imanager.php')
-rw-r--r-- | lib/public/activity/imanager.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/public/activity/imanager.php b/lib/public/activity/imanager.php index cadb37da03b..0f5dccd8ba1 100644 --- a/lib/public/activity/imanager.php +++ b/lib/public/activity/imanager.php @@ -81,9 +81,15 @@ interface IManager { /** * Will return additional notification types as specified by other apps + * * @param string $languageCode - * @return array + * @return array Array "stringID of the type" => "translated string description for the setting" + * or Array "stringID of the type" => [ + * 'desc' => "translated string description for the setting" + * 'methods' => [\OCP\Activity\IExtension::METHOD_*], + * ] * @since 8.0.0 + * @changed 8.2.0 - Added support to allow limiting notifications to certain methods */ function getNotificationTypes($languageCode); |