*/ /** * Klasa stBazzarBackendComponents * * @package stBazzarPlugin * @subpackage actions */ class stBazzarBackendComponents extends autostBazzarBackendComponents { /** * Generowanie pliku xml */ public function executeGenerateXml() { $this->generate = false; if ($this->getRequest()->hasParameter('generate')) $this->generate = true; $stBazzar = new stBazzar(); $this->checkedConfig = false; $shopId = $stBazzar->getConfig('shop_id'); $shopName = $stBazzar->getConfig('shop_name'); if (!empty($shopId) && !empty($shopName)) $this->checkedConfig = true; $this->steps = $stBazzar->getStepsCount(); } }