protected function _toHtml() { $urls = json_encode(Mage::helper('M2ePro')->getControllerActions('adminhtml_wizard_installationEbay')); $additionalJs = <<<SCRIPT <script type="text/javascript"> M2ePro.url.add({$urls}); InstallationEbayWizardObj = new WizardInstallationEbay(); </script> SCRIPT; $contentBlock = Mage::helper('M2ePro/Module_Wizard')->createBlock('installation_' . $this->getStep() . '_content', $this->getNick()); return parent::_toHtml() . $additionalJs . $contentBlock->toHtml(); }
protected function _toHtml() { $contentBlock = Mage::helper('M2ePro/Module_Wizard')->createBlock('installation_' . $this->getStep() . '_content', $this->getNick()); return parent::_toHtml() . $contentBlock->toHtml(); }
protected function _toHtml() { /** @var Ess_M2ePro_Helper_Module_Wizard $wizardHelper */ $wizardHelper = $this->helper('M2ePro/Module_Wizard'); return parent::_toHtml() . $wizardHelper->createBlock('congratulation_content', $this->getNick())->toHtml(); }