本文整理汇总了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());
}
示例2: _construct
/**
* Class constructor
*
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('widget/form.phtml');
$this->setDestElementId('edit_form');
$this->setShowGlobalIcon(false);
}
示例3: _construct
public function _construct()
{
parent::_construct();
$this->_fieldSetCollection = array();
$this->_titleFieldSet = '';
$this->_comment = '';
$this->setTemplate('revslideshow/edit/tab/accordion.phtml');
}
示例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');
}
示例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);
}
示例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('*.*'))));
}
示例7: _construct
protected function _construct()
{
parent::_construct();
$this->setSkipGenerateContent(true);
}
示例8: _construct
/**
* Class constructor
*/
protected function _construct()
{
parent::_construct();
$this->setCanReadPrice(true);
$this->setCanEditPrice(true);
}
示例9: _construct
public function _construct()
{
parent::_construct();
$this->setTemplate('aitemails/downloadable.phtml');
}
示例10: _construct
protected function _construct()
{
parent::_construct();
$this->setData('area', 'adminhtml');
}
示例11: _construct
protected function _construct()
{
parent::_construct();
$this->setTemplate('assignorder/order/view/tab/history.phtml');
}
示例12: _construct
protected function _construct()
{
parent::_construct();
$this->setId('sales_order_create_newsletter_form');
}
示例13: __construct
/**
* Set the template.
*/
public function __construct()
{
parent::_construct();
$this->setTemplate('connector/dashboard/status.phtml');
}
示例14: _construct
protected function _construct()
{
parent::_construct();
$this->setId('campaign_report_tab');
$this->setTemplate('mzax/emarketing/campaign/report.phtml');
}
示例15: _construct
/**
* Upload Form constructor
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('debit/bankdata/upload.phtml');
}