当前位置: 首页>>代码示例>>PHP>>正文


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怎么用?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;
 }
开发者ID:xiaoguizhidao,项目名称:blingjewelry-prod,代码行数:8,代码来源:Button.php

示例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());
     }
 }
开发者ID:TusharKDonda,项目名称:maruti,代码行数:8,代码来源:Button.php

示例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');
 }
开发者ID:okite11,项目名称:frames21,代码行数:20,代码来源:Unitofmeasure.php

示例4: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('conversionpro/system/config/import.phtml');
 }
开发者ID:jokusafet,项目名称:MagentoSource,代码行数:5,代码来源:Import.php

示例5: _construct

 /**
  * Set template
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('sc_cmsblockmanagement/system/config/exportbutton.phtml');
 }
开发者ID:Vedariy,项目名称:test,代码行数:8,代码来源:Exportbutton.php

示例6: _construct

 /**
  * @inheritdoc
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('nostotagging/system/config/currency/formats.phtml');
 }
开发者ID:nosto,项目名称:nosto-magento-extension,代码行数:8,代码来源:Formats.php

示例7: _construct

 /**
  * _construct
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('merchandiser/config/button.phtml');
 }
开发者ID:hientruong90,项目名称:ee_14_installer,代码行数:8,代码来源:Rebuild.php

示例8: _construct

 protected function _construct()
 {
     $this->setTemplate('modulodepago2/system/config/medios.phtml');
     return parent::_construct();
 }
开发者ID:TodoPago,项目名称:Plugin-Magento,代码行数:5,代码来源:Front.php

示例9: _construct

 /**
  * Construct the block and set the corresponding template.
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('dpd/system/config/availability.phtml');
 }
开发者ID:vovayatsyuk,项目名称:magento-DPD_Shipping,代码行数:8,代码来源:Availability.php

示例10: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate(self::TEMPLATE_PATH);
 }
开发者ID:finelinePG,项目名称:finelink-dev,代码行数:5,代码来源:Resourcebrowser.php

示例11: _construct

 /**
  * Set template
  */
 protected function _construct()
 {
     $this->setTemplate('enterprise/logging/system/config/actions.phtml');
     return parent::_construct();
 }
开发者ID:hientruong90,项目名称:ee_14_installer,代码行数:8,代码来源:Actions.php

示例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();
 }
开发者ID:billadams,项目名称:forever-frame,代码行数:6,代码来源:Clone.php

示例13: _construct

 /**
  * Set phtml template
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $template = $this->setTemplate('shopgo/shipping_core/system/config/dwa_button.phtml');
 }
开发者ID:amr-z,项目名称:shipping-core,代码行数:9,代码来源:DwaButton.php

示例14: _construct

 protected function _construct()
 {
     parent::_construct();
     $template = $this->setTemplate('shopgo/skynet_shipping/system/config/verify_account_button.phtml');
 }
开发者ID:amr-z,项目名称:skynet-shipping,代码行数:5,代码来源:VerifyAccountButton.php

示例15: _construct

 protected function _construct()
 {
     parent::_construct();
     //return;
     // $this->setTemplate('atwix/system/config/button.phtml');
 }
开发者ID:Ryan-Odonnell,项目名称:Magento,代码行数:6,代码来源:Button.php


注:本文中的Mage_Adminhtml_Block_System_Config_Form_Field::_construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。