本文整理汇总了PHP中Mage_Adminhtml_Block_System_Config_Form_Field::_construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Block_System_Config_Form_Field::_construct方法的具体用法?PHP Mage_Adminhtml_Block_System_Config_Form_Field::_construct怎么用?PHP Mage_Adminhtml_Block_System_Config_Form_Field::_construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Adminhtml_Block_System_Config_Form_Field
的用法示例。
在下文中一共展示了Mage_Adminhtml_Block_System_Config_Form_Field::_construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _prepareLayout
public function _prepareLayout()
{
parent::_construct();
if (!$this->getTemplate()) {
$this->setTemplate('bronto/verify/permissionchecker/button.phtml');
}
return $this;
}
示例2: _construct
protected function _construct()
{
parent::_construct();
$template = $this->setTemplate('shopgo/aramex_shipping/system/config/button.phtml');
if (Mage::registry('aramex_suppliers_data') && Mage::registry('aramex_suppliers_data')->getId()) {
$template->setData('id', Mage::registry('aramex_suppliers_data')->getId());
}
}
示例3: _construct
/**
* Define params and variables
*
* @return void
*/
public function _construct()
{
parent::_construct();
$carrierModel = Mage::getSingleton('usa/shipping_carrier_dhl_international');
$this->setInch($this->jsQuoteEscape($carrierModel->getCode('unit_of_dimension_cut', 'I')));
$this->setCm($this->jsQuoteEscape($carrierModel->getCode('unit_of_dimension_cut', 'C')));
$this->setHeight($this->jsQuoteEscape($carrierModel->getCode('dimensions', 'height')));
$this->setDepth($this->jsQuoteEscape($carrierModel->getCode('dimensions', 'depth')));
$this->setWidth($this->jsQuoteEscape($carrierModel->getCode('dimensions', 'width')));
$kgWeight = 70;
$this->setDivideOrderWeightNoteKg($this->jsQuoteEscape($this->__('Allows breaking total order weight into smaller pieces if it exeeds %s %s to ensure accurate calculation of shipping charges.', $kgWeight, 'kg')));
$weight = round(Mage::helper('usa')->convertMeasureWeight($kgWeight, Zend_Measure_Weight::KILOGRAM, Zend_Measure_Weight::POUND), 3);
$this->setDivideOrderWeightNoteLbp($this->jsQuoteEscape($this->__('Allows breaking total order weight into smaller pieces if it exeeds %s %s to ensure accurate calculation of shipping charges.', $weight, 'pounds')));
$this->setTemplate('usa/dhl/unitofmeasure.phtml');
}
示例4: _construct
protected function _construct()
{
parent::_construct();
$this->setTemplate('conversionpro/system/config/import.phtml');
}
示例5: _construct
/**
* Set template
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('sc_cmsblockmanagement/system/config/exportbutton.phtml');
}
示例6: _construct
/**
* @inheritdoc
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('nostotagging/system/config/currency/formats.phtml');
}
示例7: _construct
/**
* _construct
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('merchandiser/config/button.phtml');
}
示例8: _construct
protected function _construct()
{
$this->setTemplate('modulodepago2/system/config/medios.phtml');
return parent::_construct();
}
示例9: _construct
/**
* Construct the block and set the corresponding template.
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('dpd/system/config/availability.phtml');
}
示例10: _construct
protected function _construct()
{
parent::_construct();
$this->setTemplate(self::TEMPLATE_PATH);
}
示例11: _construct
/**
* Set template
*/
protected function _construct()
{
$this->setTemplate('enterprise/logging/system/config/actions.phtml');
return parent::_construct();
}
示例12: _construct
protected function _construct()
{
parent::_construct();
$this->_affiliateConfigRoot = Mage::getConfig()->getNode(null, $this->getScope(), $this->getScopeCode());
$this->_affiliateConfigData = Mage::getModel('adminhtml/config_data')->setSection($this->getRequest()->getParam('section', ''))->setWebsite($this->getRequest()->getParam('website', ''))->setStore($this->getRequest()->getParam('store', ''))->load();
}
示例13: _construct
/**
* Set phtml template
*
*/
protected function _construct()
{
parent::_construct();
$template = $this->setTemplate('shopgo/shipping_core/system/config/dwa_button.phtml');
}
示例14: _construct
protected function _construct()
{
parent::_construct();
$template = $this->setTemplate('shopgo/skynet_shipping/system/config/verify_account_button.phtml');
}
示例15: _construct
protected function _construct()
{
parent::_construct();
//return;
// $this->setTemplate('atwix/system/config/button.phtml');
}