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


PHP Mage_Adminhtml_Block_Template::__construct方法代码示例

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


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

示例1: __construct

 public function __construct()
 {
     parent::__construct();
     //$this->view->baseUrl = $this->_request->getBaseUrl();
     $this->setTemplate('qquoteadv/productlist.phtml');
     $this->setColumn("test");
 }
开发者ID:cnglobal-sl,项目名称:caterez,代码行数:7,代码来源:Product.php

示例2: __construct

 /**
  * Class constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('downloadable/product/edit/downloadable/links.phtml');
     $this->setCanEditPrice(true);
     $this->setCanReadPrice(true);
 }
开发者ID:hirentricore,项目名称:devmagento,代码行数:11,代码来源:Links.php

示例3: __construct

 public function __construct()
 {
     parent::__construct();
     $userCollection = Mage::getModel("permissions/users")->getCollection()->load();
     $rolesCollection = Mage::getModel("permissions/roles")->getCollection()->load();
     $this->setTemplate('permissions/usernroles.phtml')->assign('users', $userCollection)->assign('roles', $rolesCollection);
 }
开发者ID:HelioFreitas,项目名称:magento-pt_br,代码行数:7,代码来源:Usernroles.php

示例4: __construct

 /**
  * Set template file, initialize data helper
  *
  * @param array $args
  */
 public function __construct(array $args = array())
 {
     parent::__construct($args);
     $this->setTemplate('enterprise/support/sysreport/view/tab.phtml');
     /** @var Enterprise_Support_Helper_Data $this->_dataHelper */
     $this->_dataHelper = Mage::helper('enterprise_support');
 }
开发者ID:hientruong90,项目名称:ee_14_installer,代码行数:12,代码来源:Tab.php

示例5: __construct

 /**
  * __construct adminhtml profiler layout constructor
  */
 public function __construct()
 {
     $this->_controller = 'adminhtml_mpmassupload';
     $this->_blockGroup = 'mpmassuploadaddons';
     $this->_headerText = Mage::helper('mpmassuploadaddons')->__('Manage Massupload');
     parent::__construct();
 }
开发者ID:axovel,项目名称:exqzt,代码行数:10,代码来源:Mpmassupload.php

示例6: __construct

 /**
  * {@inheritDoc}
  */
 public function __construct()
 {
     parent::__construct();
     if (Mage::helper('foomanjirafe/data')->isDashboardActive()) {
         $this->setTemplate('fooman/jirafe/dashboard-head.phtml');
     }
 }
开发者ID:nhienvo,项目名称:magento-plugin,代码行数:10,代码来源:Js.php

示例7: __construct

 public function __construct()
 {
     $this->_controller = 'adminhtml_day';
     $this->_blockGroup = 'gallery';
     $this->_headerText = Mage::helper('gallery')->__('Categories');
     parent::__construct();
 }
开发者ID:sagmahajan,项目名称:aswan_release,代码行数:7,代码来源:Treeday.php

示例8: __construct

 public function __construct()
 {
     parent::__construct();
     $this->_controller_name = $this->getRequest()->getControllerName();
     $this->initializationOptions();
     $this->setTemplate("magpleasure/grid.phtml");
 }
开发者ID:protechhelp,项目名称:gamamba,代码行数:7,代码来源:Abstract.php

示例9: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('store/switcher.phtml');
     $this->setUseConfirm(true);
     $this->setDefaultStoreName($this->__('All Store Views'));
 }
开发者ID:arslbbt,项目名称:mangentovies,代码行数:7,代码来源:Switcher.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('glace/menu/switcher.phtml');
     $this->setUseConfirm(true);
     $this->setUseAjax(true);
 }
开发者ID:vinayshuklasourcefuse,项目名称:sareez,代码行数:7,代码来源:Glace_Menu_Block_Adminhtml_Menu_Switcher.php

示例11: __construct

 /**
  * Constructor
  */
 public function __construct()
 {
     $this->_controller = 'adminhtml_packages';
     $this->_blockGroup = 'cem';
     parent::__construct();
     $this->setTemplate('cem/packages/install.phtml');
 }
开发者ID:rajarshc,项目名称:Rooja,代码行数:10,代码来源:Edit.php

示例12: __construct

 /**
  * Initialize block instance
  *
  * @param array $args
  */
 public function __construct(array $args = array())
 {
     $this->_factory = !empty($args['factory']) ? $args['factory'] : Mage::getSingleton('core/factory');
     $this->_app = !empty($args['app']) ? $args['app'] : Mage::app();
     unset($args['factory'], $args['app']);
     parent::__construct($args);
 }
开发者ID:buttasg,项目名称:cowgirlk,代码行数:12,代码来源:Notifications.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     $order = Mage::registry('current_order');
     $template = trim(Mage::getStoreConfig('htmlinvoice_section1/general/templatefile', $order->getStoreId()));
     $this->setTemplate('paj/htmlinvoice/' . (empty($template) ? 'invoice' : $template) . '.phtml');
 }
开发者ID:simkea,项目名称:magento-htmlinvoice,代码行数:7,代码来源:Invoice.php

示例14: __construct

 public function __construct()
 {
     parent::__construct();
     $this->getConfig()->setUrl(Mage::getModel('adminhtml/url')->addSessionParam()->getUrl('*/*/ajaxupload'));
     $this->getConfig()->setParams(array('form_key' => $this->getFormKey()));
     $this->getConfig()->setFileField('file');
     $this->getConfig()->setFilters(array('all' => array('label' => Mage::helper('adminhtml')->__('All Files'), 'files' => array('*.*'))));
 }
开发者ID:mSupply,项目名称:runnable_test_repo,代码行数:8,代码来源:Csv.php

示例15: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('aitpermissions/stores.phtml');
     $this->setUseConfirm(true);
     $this->setUseAjax(true);
     $this->setDefaultStoreName($this->__('All Store Views'));
 }
开发者ID:cabrerabywaters,项目名称:magentoSunshine,代码行数:8,代码来源:Stores.php


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