phpbb\textformatter\s9e\utils::unparse PHP Method

unparse() public method

Return a parsed text to its original form
public unparse ( string $xml ) : string
$xml string Parsed text
return string Original plain text
    public function unparse($xml)
    {
        return \s9e\TextFormatter\Unparser::unparse($xml);
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Remove specified BBCodes and their contents
  *
  * @return string Stripped message text
  */
 protected function process()
 {
     foreach ($this->data as $bbcode) {
         $this->text = $this->text_formatter_utils->remove_bbcode($this->text, $bbcode);
     }
     return $this->text_formatter_utils->unparse($this->text);
 }
All Usage Examples Of phpbb\textformatter\s9e\utils::unparse