@@ 201-204 (lines=4) @@ | ||
198 | ||
199 | if ($class_exists) { |
|
200 | $this->parser = new $parser_class_name($manifest_obj, $this); |
|
201 | } else { |
|
202 | throw new \PluginException(_elgg_services()->translator->translate('PluginException:NoAvailableParser', |
|
203 | array($this->apiVersion, $this->getPluginID()))); |
|
204 | } |
|
205 | ||
206 | if (!$this->parser->parse()) { |
|
207 | throw new \PluginException(_elgg_services()->translator->translate('PluginException:ParserError', |
|
@@ 206-209 (lines=4) @@ | ||
203 | array($this->apiVersion, $this->getPluginID()))); |
|
204 | } |
|
205 | ||
206 | if (!$this->parser->parse()) { |
|
207 | throw new \PluginException(_elgg_services()->translator->translate('PluginException:ParserError', |
|
208 | array($this->apiVersion, $this->getPluginID()))); |
|
209 | } |
|
210 | } |
|
211 | ||
212 | /** |