mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11663] Add the doc block about the parameters.
PHPBB3-11663
This commit is contained in:
parent
53888ec540
commit
7a02a8bcf2
1 changed files with 8 additions and 0 deletions
|
@ -481,6 +481,14 @@ function generate_text_for_display($text, $uid, $bitfield, $flags, $censor_text
|
|||
* For parsing custom parsed text to be stored within the database.
|
||||
* This function additionally returns the uid and bitfield that needs to be stored.
|
||||
* Expects $text to be the value directly from request_var() and in it's non-parsed form
|
||||
*
|
||||
* @param string $text The text to be replaced with the parsed one
|
||||
* @param string $uid The BBCode uid for this parse
|
||||
* @param string $bitfield The BBCode bitfield for this parse
|
||||
* @param int $flags The allow_bbcode, allow_urls and allow_smilies compiled into a single integer.
|
||||
* @param bool $allow_bbcode If BBCode is allowed (i.e. if BBCode is parsed)
|
||||
* @param bool $allow_urls If urls is allowed
|
||||
* @param bool $allow_smilies If smilies are allowed
|
||||
*
|
||||
* @return array An array of string with the errors that occurred while parsing
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue