本文整理汇总了PHP中Varien_Data_Form_Element_Abstract::getHtml方法的典型用法代码示例。如果您正苦于以下问题:PHP Varien_Data_Form_Element_Abstract::getHtml方法的具体用法?PHP Varien_Data_Form_Element_Abstract::getHtml怎么用?PHP Varien_Data_Form_Element_Abstract::getHtml使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Varien_Data_Form_Element_Abstract
的用法示例。
在下文中一共展示了Varien_Data_Form_Element_Abstract::getHtml方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getHtml
public function getHtml()
{
$catIds = array();
if (($v = Mage::registry('vendor_data')) && $v->getIsLimitCategories() && ($lc = $v->getLimitCategories())) {
$catIds = explode(',', implode(',', (array) $lc));
}
$this->_renderer = Mage::getSingleton('core/layout')->createBlock('umicrosite/adminhtml_vendor_helper_renderer_categoriesCheckboxes')->setCategoryIds($catIds);
return parent::getHtml();
}
示例2: getHtml
public function getHtml()
{
$this->_renderer = Mage::getSingleton('core/layout')->createBlock('udprod/vendor_product_renderer_quickCreate');
$this->_renderer->setProduct($this->_product);
$this->_renderer->setCfgAttribute($this->getCfgAttribute());
$this->_renderer->setCfgAttributeValue($this->getCfgAttributeValue());
$this->_renderer->setCfgAttributeLabel($this->getCfgAttributeLabel());
return parent::getHtml();
}
示例3: getHtml
public function getHtml()
{
$this->addClass('submit');
return parent::getHtml();
}
示例4: getHtml
public function getHtml()
{
$this->_renderer = Mage::getSingleton('core/layout')->createBlock('udtiership/adminhtml_vendorEditTab_shippingRates_renderer_rates');
return parent::getHtml();
}
示例5: getHtml
public function getHtml()
{
$this->_renderer = Mage::getSingleton('core/layout')->createBlock('udprod/vendor_product_renderer_downloadable', 'admin.product.options');
$this->_renderer->setProduct($this->_product);
return parent::getHtml();
}