aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter/utils_interface.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-05-03 16:06:42 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-05-15 02:10:46 +0200
commitf5ce9f273829ba470a1348b4314cddb58f552da0 (patch)
treeaee0124c7f03c93298c358e77005299eea856f1d /phpBB/phpbb/textformatter/utils_interface.php
parent98db63e8ccf7effd4213f3ef2b1152c5f6ef6295 (diff)
downloadforums-f5ce9f273829ba470a1348b4314cddb58f552da0.tar
forums-f5ce9f273829ba470a1348b4314cddb58f552da0.tar.gz
forums-f5ce9f273829ba470a1348b4314cddb58f552da0.tar.bz2
forums-f5ce9f273829ba470a1348b4314cddb58f552da0.tar.xz
forums-f5ce9f273829ba470a1348b4314cddb58f552da0.zip
[ticket/13680] Updated quote notifications
Added get_quote_authors() to text_formatter.utils service to retrieve the names used in first-level quotes PHPBB3-13680
Diffstat (limited to 'phpBB/phpbb/textformatter/utils_interface.php')
-rw-r--r--phpBB/phpbb/textformatter/utils_interface.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/phpbb/textformatter/utils_interface.php b/phpBB/phpbb/textformatter/utils_interface.php
index 132dc8ece4..183c426161 100644
--- a/phpBB/phpbb/textformatter/utils_interface.php
+++ b/phpBB/phpbb/textformatter/utils_interface.php
@@ -29,6 +29,14 @@ interface utils_interface
public function clean_formatting($text);
/**
+ * Get a list of quote authors, limited to the first level of quotes
+ *
+ * @param string $text Parsed text
+ * @return string[] List of authors
+ */
+ public function get_quote_authors($text);
+
+ /**
* Remove given BBCode and its content, at given nesting depth
*
* @param string $text Parsed text