name = 'digitalkeys'; $this->tab = 'advertising_marketing'; $this->version = '1.0.0'; $this->author = 'Antadis'; $this->bootstrap = true; parent::__construct(); $this->displayName = $this->l('Digital Keys'); $this->description = $this->l('Digital Keys WS'); } public function install() { return ( Configuration::updateValue('DIGITALKEYS_TOKEN', Tools::encrypt($this->name.Tools::passwdGen())) && parent::install() ); } public function uninstall() { return ( parent::uninstall() && Configuration::deleteByName('DIGITALKEYS_TOKEN') ); } public function getContent() { $this->_html = ''; $this->_html = $this->l('Token:').Configuration::get('DIGITALKEYS_TOKEN'); return $this->_html; } }