aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter/s9e
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-03-03 00:52:31 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:02 +0200
commit694e515f7c812a470a9a1890aa49ba6ad59385fb (patch)
tree4de8074d3e4ce5b8e26ffa239bb106b84f529c39 /phpBB/phpbb/textformatter/s9e
parentb12043d4b076b1e214fd85da28358ba829d47a76 (diff)
downloadforums-694e515f7c812a470a9a1890aa49ba6ad59385fb.tar
forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.tar.gz
forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.tar.bz2
forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.tar.xz
forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.zip
[ticket/11768] Replaced \phpbb\textformatter\parser with an interface
PHPBB3-11768
Diffstat (limited to 'phpBB/phpbb/textformatter/s9e')
-rw-r--r--phpBB/phpbb/textformatter/s9e/parser.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/parser.php b/phpBB/phpbb/textformatter/s9e/parser.php
index 977097462b..de51929994 100644
--- a/phpBB/phpbb/textformatter/s9e/parser.php
+++ b/phpBB/phpbb/textformatter/s9e/parser.php
@@ -19,7 +19,7 @@ use s9e\TextFormatter\Parser\Logger;
/**
* s9e\TextFormatter\Parser adapter
*/
-class parser extends \phpbb\textformatter\parser
+class parser implements \phpbb\textformatter\parser
{
/**
* @var s9e\TextFormatter\Parser
@@ -220,6 +220,17 @@ class parser extends \phpbb\textformatter\parser
}
/**
+ * {@inheritdoc}
+ */
+ public function set_vars(array $vars)
+ {
+ foreach ($vars as $name => $value)
+ {
+ $this->set_var($name, $value);
+ }
+ }
+
+ /**
* Filter a flash object's height
*
* @see bbcode_firstpass::bbcode_flash()