function __construct($name, BfoxToolsController $tools, $toolContextName, $refContextName) { $this->core = $tools->core; parent::__construct($name); $this->toolContextName = $toolContextName; $this->refContextName = $refContextName; $this->template = 'bfox-tool-content-' . $name; }