mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
[ticket/13847] Move quote generation to text_formatter.utils
PHPBB3-13847
This commit is contained in:
@@ -28,6 +28,18 @@ interface utils_interface
|
||||
*/
|
||||
public function clean_formatting($text);
|
||||
|
||||
/**
|
||||
* Create a quote block for given text
|
||||
*
|
||||
* Possible attributes:
|
||||
* - author
|
||||
*
|
||||
* @param string $text Quote's text
|
||||
* @param array $attributes Quote's attributes
|
||||
* @return string Quote block to be used in a new post/text
|
||||
*/
|
||||
public function generate_quote($text, array $attributes = array());
|
||||
|
||||
/**
|
||||
* Get a list of quote authors, limited to the outermost quotes
|
||||
*
|
||||
|
Reference in New Issue
Block a user