本文整理汇总了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");
}
示例2: __construct
/**
* Class constructor
*
*/
public function __construct()
{
parent::__construct();
$this->setTemplate('downloadable/product/edit/downloadable/links.phtml');
$this->setCanEditPrice(true);
$this->setCanReadPrice(true);
}
示例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);
}
示例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');
}
示例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();
}
示例6: __construct
/**
* {@inheritDoc}
*/
public function __construct()
{
parent::__construct();
if (Mage::helper('foomanjirafe/data')->isDashboardActive()) {
$this->setTemplate('fooman/jirafe/dashboard-head.phtml');
}
}
示例7: __construct
public function __construct()
{
$this->_controller = 'adminhtml_day';
$this->_blockGroup = 'gallery';
$this->_headerText = Mage::helper('gallery')->__('Categories');
parent::__construct();
}
示例8: __construct
public function __construct()
{
parent::__construct();
$this->_controller_name = $this->getRequest()->getControllerName();
$this->initializationOptions();
$this->setTemplate("magpleasure/grid.phtml");
}
示例9: __construct
public function __construct()
{
parent::__construct();
$this->setTemplate('store/switcher.phtml');
$this->setUseConfirm(true);
$this->setDefaultStoreName($this->__('All Store Views'));
}
示例10: __construct
public function __construct()
{
parent::__construct();
$this->setTemplate('glace/menu/switcher.phtml');
$this->setUseConfirm(true);
$this->setUseAjax(true);
}
示例11: __construct
/**
* Constructor
*/
public function __construct()
{
$this->_controller = 'adminhtml_packages';
$this->_blockGroup = 'cem';
parent::__construct();
$this->setTemplate('cem/packages/install.phtml');
}
示例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);
}
示例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');
}
示例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('*.*'))));
}
示例15: __construct
public function __construct()
{
parent::__construct();
$this->setTemplate('aitpermissions/stores.phtml');
$this->setUseConfirm(true);
$this->setUseAjax(true);
$this->setDefaultStoreName($this->__('All Store Views'));
}