diff options
| author | JoshyPHP <s9e.dev@gmail.com> | 2015-02-23 19:03:41 +0100 |
|---|---|---|
| committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:02 +0200 |
| commit | c1ba3a678d5a565b74d893c57eb5133623702350 (patch) | |
| tree | 7902f508e607c7fcc368bd4dfcc218bc10ecbad8 /phpBB/phpbb/textformatter | |
| parent | 414dcae422d21693aad746b4a7a0d49517e478d9 (diff) | |
| download | forums-c1ba3a678d5a565b74d893c57eb5133623702350.tar forums-c1ba3a678d5a565b74d893c57eb5133623702350.tar.gz forums-c1ba3a678d5a565b74d893c57eb5133623702350.tar.bz2 forums-c1ba3a678d5a565b74d893c57eb5133623702350.tar.xz forums-c1ba3a678d5a565b74d893c57eb5133623702350.zip | |
[ticket/11768] Added methods to access the library's parser/renderer
PHPBB3-11768
Diffstat (limited to 'phpBB/phpbb/textformatter')
| -rw-r--r-- | phpBB/phpbb/textformatter/s9e/parser.php | 10 | ||||
| -rw-r--r-- | phpBB/phpbb/textformatter/s9e/renderer.php | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/parser.php b/phpBB/phpbb/textformatter/s9e/parser.php index 8e78a18d40..b717dea962 100644 --- a/phpBB/phpbb/textformatter/s9e/parser.php +++ b/phpBB/phpbb/textformatter/s9e/parser.php @@ -192,6 +192,16 @@ class parser extends \phpbb\textformatter\parser } /** + * Return the instance of s9e\TextFormatter\Parser used by this object + * + * @return s9e\TextFormatter\Parser + */ + public function get_parser() + { + return $this->parser; + } + + /** * {@inheritdoc} */ public function set_var($name, $value) diff --git a/phpBB/phpbb/textformatter/s9e/renderer.php b/phpBB/phpbb/textformatter/s9e/renderer.php index 3ec5f38029..3ccb40cc2d 100644 --- a/phpBB/phpbb/textformatter/s9e/renderer.php +++ b/phpBB/phpbb/textformatter/s9e/renderer.php @@ -122,6 +122,16 @@ class renderer extends \phpbb\textformatter\renderer } /** + * Return the instance of s9e\TextFormatter\Renderer used by this object + * + * @return s9e\TextFormatter\Renderer + */ + public function get_renderer() + { + return $this->renderer; + } + + /** * {@inheritdoc} */ public function get_viewcensors() |
