Helper to allow deferred rendering of BB codes in text.
This is useful when putting BB code into a template. The text does not need to explicitly be rendered in the View.
When this object is coerced to a string, the text will be rendered.
package | XenForo_BbCode |
---|
__construct(string | array $text, \XenForo_BbCode_Parser $parser, array $extraStates)
string
array
May be already parsed array
\XenForo_BbCode_Parser
array
__toString() : string
string
$_extraStates : array
$_text : string | array
May be already parsed array.