当前位置: 首页>>代码示例>>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

 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('formbuilder/catalog/product/edit/options/option.phtml');
     $this->setCanReadPrice(false);
     $this->setCanEditPrice(false);
 }
开发者ID:kanotest15,项目名称:cbmagento,代码行数:10,代码来源:Option.php

示例2: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('enterprise/staging/staging/edit.phtml');
     $this->setId('enterprise_staging_edit');
     $this->setEditFormJsObject('enterpriseStagingForm');
 }
开发者ID:hyhoocchan,项目名称:mage-local,代码行数:7,代码来源:Edit.php

示例3: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('downloads/files_edit_tab_attachments.phtml');
     $this->_withFilesCount = true;
     $this->_productId = (int) $this->getRequest()->getParam('id');
 }
开发者ID:commercekitchen,项目名称:dualeyewear-magento,代码行数:7,代码来源:Attachments.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('customergallery/blank.phtml');
     $this->setId('customergallery_content');
     $this->setHtmlId('customergallery_content');
 }
开发者ID:platonicsolution,项目名称:local-server,代码行数:7,代码来源:Images.php

示例5: __construct

 /**
  * Class constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('widget/form.phtml');
     $this->setDestElementId('edit_form');
     $this->setShowGlobalIcon(false);
 }
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:11,代码来源:Widget_Form.php

示例6: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setProductId($this->getRequest()->getParam('id'));
     $this->setTemplate('catalog/product/edit/super/config.phtml');
     $this->setId('config_super_product');
 }
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:7,代码来源:Catalog_Product_Edit_Tab_Super_Config.php

示例7: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('media/editor.phtml');
     $this->getConfig()->setImage($this->getSkinUrl('images/image.jpg'));
     $this->getConfig()->setParams();
 }
开发者ID:xiaoguizhidao,项目名称:blingjewelry-prod,代码行数:7,代码来源:Editor.php

示例8: __construct

 public function __construct()
 {
     parent::__construct();
     if (!$this->getTemplate()) {
         $this->setTemplate('udtiership/vendor/form/renderer/v2/simple_rates.phtml');
     }
 }
开发者ID:xiaoguizhidao,项目名称:magento,代码行数:7,代码来源:SimpleRates.php

示例9: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('webtex/customerprices/customer/edit/customerpricessearch.phtml');
     $this->setId('customerPricesCustomerGrid');
     $this->setIsCollapsed(true);
 }
开发者ID:jronatay,项目名称:ultimo-magento-jron,代码行数:7,代码来源:Productgrid.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('widget/grid/massaction.phtml');
     //@nelkaake Repalced with next line to remove catalog module dependency: $this->setErrorText(Mage::helper('catalog')->jsQuoteEscape(Mage::helper('catalog')->__('Please select items.')));
     $this->setErrorText(Mage::helper('core')->jsQuoteEscape(Mage::helper('core')->__('Please select items.')));
 }
开发者ID:Airmal,项目名称:Magento-Em,代码行数:7,代码来源:Abstract.php

示例11: __construct

 /**
  * @param Mage_Core_Controller_Request_Http $request
  * @param Mage_Core_Model_Layout $layout
  * @param Mage_Core_Model_Event_Manager $eventManager
  * @param Mage_Backend_Model_Url $urlBuilder
  * @param Mage_Core_Model_Translate $translator
  * @param Mage_Core_Model_Cache $cache
  * @param Mage_Core_Model_Design_Package $designPackage
  * @param Mage_Core_Model_Session $session
  * @param Mage_Core_Model_Store_Config $storeConfig
  * @param Mage_Core_Controller_Varien_Front $frontController
  * @param Mage_Core_Model_Factory_Helper $helperFactory
  * @param Magento_Filesystem $filesystem
  * @param Mage_Core_Model_Registry $registry
  * @param Mage_Backend_Model_Menu_Config $menuConfig
  * @param Mage_Backend_Model_Config_Structure $configStructure
  * @param array $data
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(Mage_Core_Controller_Request_Http $request, Mage_Core_Model_Layout $layout, Mage_Core_Model_Event_Manager $eventManager, Mage_Backend_Model_Url $urlBuilder, Mage_Core_Model_Translate $translator, Mage_Core_Model_Cache $cache, Mage_Core_Model_Design_Package $designPackage, Mage_Core_Model_Session $session, Mage_Core_Model_Store_Config $storeConfig, Mage_Core_Controller_Varien_Front $frontController, Mage_Core_Model_Factory_Helper $helperFactory, Magento_Filesystem $filesystem, Mage_Core_Model_Registry $registry, Mage_Backend_Model_Menu_Config $menuConfig, Mage_Backend_Model_Config_Structure $configStructure, array $data = array())
 {
     parent::__construct($request, $layout, $eventManager, $urlBuilder, $translator, $cache, $designPackage, $session, $storeConfig, $frontController, $helperFactory, $filesystem, $data);
     $this->_registryManager = $registry;
     $this->_menuConfig = $menuConfig;
     $this->_configStructure = $configStructure;
 }
开发者ID:natxetee,项目名称:magento2,代码行数:27,代码来源:Edit.php

示例12: __construct

 public function __construct()
 {
     parent::__construct();
     // Initialization block
     //------------------------------
     $this->setId('ebayListingViewModeSwitcher');
     //------------------------------
 }
开发者ID:technomagegithub,项目名称:magento,代码行数:8,代码来源:ModeSwitcher.php

示例13: __construct

 /**
  * Initialize block
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->setSku($this->getRequest()->getParam('sku'));
     $this->setTemplate('webshopapps_shipusa/product/shipboxes.phtml');
     $this->setId('webshopapps_shipboxes');
     $this->setUseAjax(true);
 }
开发者ID:audiblePi,项目名称:devOdyssey,代码行数:12,代码来源:Shipboxes.php

示例14: __construct

 /**
  * Class constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->_fieldSetCollection = array();
     $this->_titleFieldSet = '';
     $this->_comment = '';
     $this->setTemplate('em_themeframework/theme/edit/theme.phtml');
 }
开发者ID:ahsanmage,项目名称:vr,代码行数:12,代码来源:Accordion.php

示例15: __construct

 /**
  * Initialize block
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->setProductId($this->getRequest()->getParam('id'));
     $this->setTemplate('udmulti/product/vendors.phtml');
     $this->setId('udmulti_vendors');
     $this->setUseAjax(true);
 }
开发者ID:evinw,项目名称:project_bloom_magento,代码行数:12,代码来源:Vendors.php


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