本文整理汇总了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);
}
示例2: __construct
public function __construct()
{
parent::__construct();
$this->setTemplate('enterprise/staging/staging/edit.phtml');
$this->setId('enterprise_staging_edit');
$this->setEditFormJsObject('enterpriseStagingForm');
}
示例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');
}
示例4: __construct
public function __construct()
{
parent::__construct();
$this->setTemplate('customergallery/blank.phtml');
$this->setId('customergallery_content');
$this->setHtmlId('customergallery_content');
}
示例5: __construct
/**
* Class constructor
*
*/
public function __construct()
{
parent::__construct();
$this->setTemplate('widget/form.phtml');
$this->setDestElementId('edit_form');
$this->setShowGlobalIcon(false);
}
示例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');
}
示例7: __construct
public function __construct()
{
parent::__construct();
$this->setTemplate('media/editor.phtml');
$this->getConfig()->setImage($this->getSkinUrl('images/image.jpg'));
$this->getConfig()->setParams();
}
示例8: __construct
public function __construct()
{
parent::__construct();
if (!$this->getTemplate()) {
$this->setTemplate('udtiership/vendor/form/renderer/v2/simple_rates.phtml');
}
}
示例9: __construct
public function __construct()
{
parent::__construct();
$this->setTemplate('webtex/customerprices/customer/edit/customerpricessearch.phtml');
$this->setId('customerPricesCustomerGrid');
$this->setIsCollapsed(true);
}
示例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.')));
}
示例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;
}
示例12: __construct
public function __construct()
{
parent::__construct();
// Initialization block
//------------------------------
$this->setId('ebayListingViewModeSwitcher');
//------------------------------
}
示例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);
}
示例14: __construct
/**
* Class constructor
*
*/
public function __construct()
{
parent::__construct();
$this->_fieldSetCollection = array();
$this->_titleFieldSet = '';
$this->_comment = '';
$this->setTemplate('em_themeframework/theme/edit/theme.phtml');
}
示例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);
}