protected function _beforeToHtml() { if ($formBlock = $this->getChild('form')) { $formBlock->setRendererParams($this->getRendererParams()); } return parent::_beforeToHtml(); }
protected function _beforeToHtml() { parent::_beforeToHtml(); // --------------------------------------- $tabs = $this->getLayout()->createBlock('M2ePro/adminhtml_common_amazon_listing_edit_tabs'); $this->setChild('tabs', $tabs); // --------------------------------------- return $this; }
protected function _beforeToHtml() { // --------------------------------------- $this->setChild('wizard_marketplace_form', $this->getLayout()->createBlock('M2ePro/adminhtml_wizard_amazon_installation_marketplace_form')); // --------------------------------------- $step = 'marketplace'; $buttonBlock = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => Mage::helper('M2ePro')->__('Proceed'), 'onclick' => 'WizardAmazonMarketplaceHandlerObj.proceedAction(\'' . $step . '\');', 'class' => 'process_marketplace_button')); $this->setChild('process_marketplace_button', $buttonBlock); // --------------------------------------- return parent::_beforeToHtml(); }
protected function _beforeToHtml() { parent::_beforeToHtml(); // --------------------------------------- $data = array('allowed_tabs' => $this->getAllowedTabs()); $tabs = $this->getLayout()->createBlock('M2ePro/adminhtml_ebay_listing_template_edit_tabs'); $tabs->addData($data); $this->setChild('tabs', $tabs); // --------------------------------------- return $this; }
protected function _beforeToHtml() { parent::_beforeToHtml(); //------------------------------ $parameters = array('allowed_tabs' => $this->getAllowedTabs(), 'policy_localization' => $this->getData('policy_localization')); $tabs = $this->getLayout()->createBlock('M2ePro/adminhtml_ebay_listing_template_edit_tabs', '', $parameters); $tabs->setDestElementId('transferring_policies_block'); $this->setChild('tabs', $tabs); //------------------------------ return $this; }
protected function _beforeToHtml() { parent::_beforeToHtml(); $general = $this->getLayout()->createBlock('M2ePro/adminhtml_ebay_template_edit_general'); $this->setChild('general', $general); }