aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorWesley Fok <wesley.fok@yp.ca>2016-08-03 13:20:42 -0400
committerWesley Fok <wesley.fok@yp.ca>2016-08-03 13:20:42 -0400
commitba13832085bf05eb5ab19aeb9681b16c7a119df9 (patch)
tree7fb014aeb08e614fe060dfeede0ea05885ff4d7d /phpBB/feed.php
parent2081a7809540db661193be376c1220a2c21acff4 (diff)
parentf68820762b2d78bc26c59724a3dd98091bb3379b (diff)
downloadforums-ba13832085bf05eb5ab19aeb9681b16c7a119df9.tar
forums-ba13832085bf05eb5ab19aeb9681b16c7a119df9.tar.gz
forums-ba13832085bf05eb5ab19aeb9681b16c7a119df9.tar.bz2
forums-ba13832085bf05eb5ab19aeb9681b16c7a119df9.tar.xz
forums-ba13832085bf05eb5ab19aeb9681b16c7a119df9.zip
Merge remote-tracking branch 'upstream/3.1.x' into ticket/14638-3.1.x
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index e0c0b01db6..6fd0ed800f 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -84,6 +84,20 @@ $feed->open();
// Iterate through items
while ($row = $feed->get_item())
{
+ /**
+ * Event to modify the feed row
+ *
+ * @event core.feed_modify_feed_row
+ * @var int forum_id Forum ID
+ * @var string mode Feeds mode (forums|topics|topics_new|topics_active|news)
+ * @var array row Array with feed data
+ * @var int topic_id Topic ID
+ *
+ * @since 3.1.10-RC1
+ */
+ $vars = array('forum_id', 'mode', 'row', 'topic_id');
+ extract($phpbb_dispatcher->trigger_event('core.feed_modify_feed_row', compact($vars)));
+
// BBCode options to correctly disable urls, smilies, bbcode...
if ($feed->get('options') === NULL)
{