public function __construct(template $template, helper $controller_helper) { global $convert, $phpbb_filesystem; $this->template = $template; $this->filesystem = $phpbb_filesystem; $this->controller_helper = $controller_helper; $convert = new convert($this); }