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


PHP Mage_Adminhtml_Block_Widget::_construct方法代码示例

本文整理汇总了PHP中Mage_Adminhtml_Block_Widget::_construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Block_Widget::_construct方法的具体用法?PHP Mage_Adminhtml_Block_Widget::_construct怎么用?PHP Mage_Adminhtml_Block_Widget::_construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Mage_Adminhtml_Block_Widget的用法示例。


在下文中一共展示了Mage_Adminhtml_Block_Widget::_construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _construct

 /**
  * Init the tab and set it's template
  */
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('demac/catalog_multilocationinventory.phtml');
     $this->loadLocationsInventoriesData();
     $this->loadGlobalInventory($this->getProductId());
 }
开发者ID:googlygoo,项目名称:Magento-Multi-Location-Inventory,代码行数:10,代码来源:Multilocationinventory.php

示例2: _construct

 /**
  * Class constructor
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('widget/form.phtml');
     $this->setDestElementId('edit_form');
     $this->setShowGlobalIcon(false);
 }
开发者ID:evinw,项目名称:project_bloom_magento,代码行数:11,代码来源:Form.php

示例3: _construct

 public function _construct()
 {
     parent::_construct();
     $this->_fieldSetCollection = array();
     $this->_titleFieldSet = '';
     $this->_comment = '';
     $this->setTemplate('revslideshow/edit/tab/accordion.phtml');
 }
开发者ID:CodazonGroup,项目名称:coda,代码行数:8,代码来源:Accordion.php

示例4: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->_instanceId = ++self::$_instancesNumber;
     $this->setId(Mage::helper('core')->uniqHash('customGridConfig_' . $this->_instanceId));
     $this->setErrorText(Mage::helper('core')->jsQuoteEscape($this->__('Please select items.')));
     $this->setTemplate('bl/customgrid/widget/grid/columns/config.phtml');
 }
开发者ID:aram93,项目名称:mage-enhanced-admin-grids,代码行数:8,代码来源:Config.php

示例5: _construct

 /**
  * Initialize block
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setProductId($this->getRequest()->getParam('id'));
     $this->setId('config_super_product');
     $this->setCanEditPrice(true);
     $this->setCanReadPrice(true);
 }
开发者ID:natxetee,项目名称:magento2,代码行数:12,代码来源:Config.php

示例6: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setId($this->getId() . '_Uploader');
     $this->getConfig()->setUrl(Mage::getModel('Mage_Backend_Model_Url')->addSessionParam()->getUrl('*/*/upload'));
     $this->getConfig()->setParams(array('form_key' => $this->getFormKey()));
     $this->getConfig()->setFileField('file');
     $this->getConfig()->setFilters(array('images' => array('label' => Mage::helper('Mage_Adminhtml_Helper_Data')->__('Images (.gif, .jpg, .png)'), 'files' => array('*.gif', '*.jpg', '*.png')), 'media' => array('label' => Mage::helper('Mage_Adminhtml_Helper_Data')->__('Media (.avi, .flv, .swf)'), 'files' => array('*.avi', '*.flv', '*.swf')), 'all' => array('label' => Mage::helper('Mage_Adminhtml_Helper_Data')->__('All Files'), 'files' => array('*.*'))));
 }
开发者ID:natxetee,项目名称:magento2,代码行数:9,代码来源:Uploader.php

示例7: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setSkipGenerateContent(true);
 }
开发者ID:natxetee,项目名称:magento2,代码行数:5,代码来源:Bundle.php

示例8: _construct

 /**
  * Class constructor
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setCanReadPrice(true);
     $this->setCanEditPrice(true);
 }
开发者ID:natxetee,项目名称:magento2,代码行数:9,代码来源:Option.php

示例9: _construct

 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('aitemails/downloadable.phtml');
 }
开发者ID:kiutisuperking,项目名称:eatsmartboxdev,代码行数:5,代码来源:Downloadable.php

示例10: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setData('area', 'adminhtml');
 }
开发者ID:giuseppemorelli,项目名称:magento-extension,代码行数:5,代码来源:Abstract.php

示例11: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('assignorder/order/view/tab/history.phtml');
 }
开发者ID:rjocoleman,项目名称:magpleasure_assignorder,代码行数:5,代码来源:History.php

示例12: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setId('sales_order_create_newsletter_form');
 }
开发者ID:natxetee,项目名称:magento2,代码行数:5,代码来源:Form.php

示例13: __construct

 /**
  * Set the template.
  */
 public function __construct()
 {
     parent::_construct();
     $this->setTemplate('connector/dashboard/status.phtml');
 }
开发者ID:vdimitrovv,项目名称:dotmailer-magento-extension,代码行数:8,代码来源:Status.php

示例14: _construct

 protected function _construct()
 {
     parent::_construct();
     $this->setId('campaign_report_tab');
     $this->setTemplate('mzax/emarketing/campaign/report.phtml');
 }
开发者ID:sakibanda,项目名称:emarketing,代码行数:6,代码来源:Report.php

示例15: _construct

 /**
  * Upload Form constructor
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('debit/bankdata/upload.phtml');
 }
开发者ID:pette87,项目名称:Magento-DebitPayment,代码行数:8,代码来源:Upload.php


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