aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/type/type_interface.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-11 12:19:04 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-25 11:52:19 +0200
commite0fadfb4d675df71b359b5d64b614051dda4017e (patch)
tree076abf2ac7f17ea53468ee848c82760a6286cb13 /phpBB/phpbb/notification/type/type_interface.php
parented40846590ea3b80af35aa845dba7e05da88c223 (diff)
downloadforums-e0fadfb4d675df71b359b5d64b614051dda4017e.tar
forums-e0fadfb4d675df71b359b5d64b614051dda4017e.tar.gz
forums-e0fadfb4d675df71b359b5d64b614051dda4017e.tar.bz2
forums-e0fadfb4d675df71b359b5d64b614051dda4017e.tar.xz
forums-e0fadfb4d675df71b359b5d64b614051dda4017e.zip
[ticket/12371] Allow notification types to redirect to a different url
This way we can redirect the post and bookmark notification to the first unread post in the topic PHPBB3-12371
Diffstat (limited to 'phpBB/phpbb/notification/type/type_interface.php')
-rw-r--r--phpBB/phpbb/notification/type/type_interface.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/type/type_interface.php b/phpBB/phpbb/notification/type/type_interface.php
index e3e6898172..2f465aae2b 100644
--- a/phpBB/phpbb/notification/type/type_interface.php
+++ b/phpBB/phpbb/notification/type/type_interface.php
@@ -99,6 +99,13 @@ interface type_interface
public function get_url();
/**
+ * Get the url to redirect after the item has been marked as read
+ *
+ * @return string URL
+ */
+ public function get_redirect_url();
+
+ /**
* URL to unsubscribe to this notification
*
* @param string|bool $method Method name to unsubscribe from (email|jabber|etc), False to unsubscribe from all notifications for this item