mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11768] Added methods to access the library's parser/renderer
PHPBB3-11768
This commit is contained in:
@@ -121,6 +121,16 @@ class renderer extends \phpbb\textformatter\renderer
|
||||
$this->renderer->setParameter('STYLE_ID', $user->style['style_id']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the instance of s9e\TextFormatter\Renderer used by this object
|
||||
*
|
||||
* @return s9e\TextFormatter\Renderer
|
||||
*/
|
||||
public function get_renderer()
|
||||
{
|
||||
return $this->renderer;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user