protected function _rememberAitsysNotification(Aitoc_Aitsys_Model_Module $module, $type) { Mage::register('aitsys_notification', array('module' => $module->getKey(), 'type' => $type), true); }
protected function _makeKey(Aitoc_Aitsys_Model_Module $module) { return self::CONFIG_ENTITY_PREFIX . strtolower($module->getKey()); }
protected function _addLicensedModule(Aitoc_Aitsys_Model_Module $module) { if (!$this->_addEntHash() && $module->getLicense()->getEntHash() || $this->_addEntHash() && !$module->getLicense()->getEntHash()) { $this->_moduleIgnoreList[$module->getKey()] = 'ER_ENT_HASH'; return; } $key = $module->getKey(); $this->tool()->testMsg("Try load licensed module finished: " . $key); if (!isset($this->_modules[$key])) { $this->tool()->testMsg("Add new module"); $this->_modules[$key] = $module; } else { $this->tool()->testMsg("Reset existed module"); $this->_modules[$key]->reset(); } }