本文整理汇总了PHP中Mage_Adminhtml_Block_Widget_Form_Container::_beforeToHtml方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Block_Widget_Form_Container::_beforeToHtml方法的具体用法?PHP Mage_Adminhtml_Block_Widget_Form_Container::_beforeToHtml怎么用?PHP Mage_Adminhtml_Block_Widget_Form_Container::_beforeToHtml使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Adminhtml_Block_Widget_Form_Container
的用法示例。
在下文中一共展示了Mage_Adminhtml_Block_Widget_Form_Container::_beforeToHtml方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _beforeToHtml
protected function _beforeToHtml()
{
if ($formBlock = $this->getChild('form')) {
$formBlock->setRendererParams($this->getRendererParams());
}
return parent::_beforeToHtml();
}
示例2: _beforeToHtml
protected function _beforeToHtml()
{
parent::_beforeToHtml();
// ---------------------------------------
$tabs = $this->getLayout()->createBlock('M2ePro/adminhtml_common_amazon_listing_edit_tabs');
$this->setChild('tabs', $tabs);
// ---------------------------------------
return $this;
}
示例3: _beforeToHtml
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();
}
示例4: _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;
}
示例5: _beforeToHtml
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;
}
示例6: _beforeToHtml
protected function _beforeToHtml()
{
parent::_beforeToHtml();
$general = $this->getLayout()->createBlock('M2ePro/adminhtml_ebay_template_edit_general');
$this->setChild('general', $general);
}