本文整理匯總了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();
}