public function __construct() { parent::__construct(); //$this->view->baseUrl = $this->_request->getBaseUrl(); $this->setTemplate('qquoteadv/productlist.phtml'); $this->setColumn("test"); }
/** * Class constructor * */ public function __construct() { parent::__construct(); $this->setTemplate('downloadable/product/edit/downloadable/links.phtml'); $this->setCanEditPrice(true); $this->setCanReadPrice(true); }
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); }
/** * 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'); }
/** * __construct adminhtml profiler layout constructor */ public function __construct() { $this->_controller = 'adminhtml_mpmassupload'; $this->_blockGroup = 'mpmassuploadaddons'; $this->_headerText = Mage::helper('mpmassuploadaddons')->__('Manage Massupload'); parent::__construct(); }
/** * {@inheritDoc} */ public function __construct() { parent::__construct(); if (Mage::helper('foomanjirafe/data')->isDashboardActive()) { $this->setTemplate('fooman/jirafe/dashboard-head.phtml'); } }
public function __construct() { $this->_blockGroup = 'barcode'; $this->_controller = 'adminhtml_license'; parent::__construct(); $this->setTemplate('sm/barcode/license.phtml'); }
public function __construct() { $this->_controller = 'adminhtml_day'; $this->_blockGroup = 'gallery'; $this->_headerText = Mage::helper('gallery')->__('Categories'); parent::__construct(); }
public function __construct() { parent::__construct(); $this->_controller_name = $this->getRequest()->getControllerName(); $this->initializationOptions(); $this->setTemplate("magpleasure/grid.phtml"); }
public function __construct() { parent::__construct(); $this->setTemplate('store/switcher.phtml'); $this->setUseConfirm(true); $this->setDefaultStoreName($this->__('All Store Views')); }
public function __construct() { parent::__construct(); $this->setTemplate('glace/menu/switcher.phtml'); $this->setUseConfirm(true); $this->setUseAjax(true); }
/** * Constructor */ public function __construct() { $this->_controller = 'adminhtml_packages'; $this->_blockGroup = 'cem'; parent::__construct(); $this->setTemplate('cem/packages/install.phtml'); }
/** * 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); }
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'); }
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('*.*')))); }
public function __construct() { parent::__construct(); $this->setTemplate('aitpermissions/stores.phtml'); $this->setUseConfirm(true); $this->setUseAjax(true); $this->setDefaultStoreName($this->__('All Store Views')); }
public function __construct() { $this->_objectId = 'id'; $this->_blockGroup = 'productrestriction'; $this->_controller = 'adminhtml_productrestriction'; $this->_mode = 'view'; parent::__construct(); }
public function __construct() { parent::__construct(); // $this->setTemplate('manager/channel/switcher.phtml'); $this->setUseConfirm(true); $this->setUseAjax(false); $this->setDefaultChannelName($this->__('All Channels')); }
public function __construct() { parent::__construct(); $this->setId('helpdeskMessagesGrid'); $this->setTemplate('helpdeskultimate/ticket/edit/thread.phtml'); $this->_label = Mage::helper('helpdeskultimate')->__("Ticket Thread"); $this->_headLabel = Mage::helper('helpdeskultimate')->__("Ticket Information"); }
public function __construct() { parent::__construct(); $this->setTemplate('amorderattach/attachment.phtml'); $orderAttachment = Mage::getModel('amorderattach/order_field'); $orderAttachment->load(Mage::registry('current_order')->getId(), 'order_id'); Mage::register('current_attachment_order_field', $orderAttachment, true); }
/** * Set preview tab items template */ public function __construct() { parent::__construct(); $deviceType = Mage::helper('Mage_XmlConnect_Helper_Data')->getDeviceType(); if ($deviceType !== Mage_XmlConnect_Helper_Data::DEVICE_TYPE_DEFAULT) { $this->setTemplate('edit/tab/design/preview/tab_items_' . $deviceType . '.phtml'); } }
public function __construct($params) { parent::__construct($params); $this->setTemplate('M2ePro/store_switcher.phtml'); $this->setUseConfirm(true); $this->setUseAjax(true); $this->setDefaultStoreName(Mage::helper('M2ePro')->__('Admin (Default Values)')); }
public function __construct() { parent::__construct(); $this->setId('rmaCommentsGrid'); $this->setTemplate('sm/rma/edit/comments.phtml'); $this->_label = Mage::helper('rma')->__("Comments"); $this->_headLabel = Mage::helper('rma')->__("Request Information"); }
/** * Set themes template and color fieldsets */ public function __construct() { parent::__construct(); $model = Mage::helper('xmlconnect')->getApplication(); $this->setTemplate('xmlconnect/form/element/themes.phtml'); $data = $model->getFormData(); $this->setColorFieldset(array(array('id' => 'field_colors', 'label' => $this->__('Colors'), 'fields' => array($this->_addColorBox('conf[native][navigationBar][tintColor]', $this->__('Header Background Color'), $data), $this->_addColorBox('conf[native][body][primaryColor]', $this->__('Primary Color'), $data), $this->_addColorBox('conf[native][body][secondaryColor]', $this->__('Secondary Color'), $data), $this->_addColorBox('conf[native][categoryItem][backgroundColor]', $this->__('Category Item Background Color'), $data), $this->_addColorBox('conf[native][categoryItem][tintColor]', $this->__('Category Button Color'), $data))), array('id' => 'field_fonts', 'label' => $this->__('Fonts'), 'fields' => array($this->_addColorBox('conf[extra][fontColors][header]', $this->__('Header Font Color'), $data), $this->_addColorBox('conf[extra][fontColors][primary]', $this->__('Primary Font Color'), $data), $this->_addColorBox('conf[extra][fontColors][secondary]', $this->__('Secondary Font Color'), $data), $this->_addColorBox('conf[extra][fontColors][price]', $this->__('Price Font Color'), $data))), array('id' => 'field_advanced', 'label' => $this->__('Advanced Settings'), 'fields' => array($this->_addColorBox('conf[native][body][backgroundColor]', $this->__('Background Color'), $data), $this->_addColorBox('conf[native][body][scrollBackgroundColor]', $this->__('Scroll Background Color'), $data), $this->_addColorBox('conf[native][itemActions][relatedProductBackgroundColor]', $this->__('Related Product Background Color'), $data))))); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/marketplaces/switcher.phtml'); $this->setUseConfirm(true); $this->setUseAjax(true); $this->setDefaultMarketplaceName($this->__('All Marketplaces')); }
public function __construct() { parent::__construct(); $this->setTemplate('rating/detailed.phtml'); if (Mage::registry('review_data')) { $this->setReviewId(Mage::registry('review_data')->getReviewId()); } }
public function __construct() { parent::__construct(); $this->setId('rmaTabPayment'); $this->setTemplate('sm/rma/edit/payment.phtml'); $this->_label = Mage::helper('rma')->__("Payment Information"); $this->_headLabel = Mage::helper('rma')->__("Payment Information"); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/accounts/switcher.phtml'); $this->setUseConfirm(true); $this->setUseAjax(true); $this->setDefaultAccountName($this->__('All Accounts')); }
public function __construct() { parent::__construct(); $this->setId('rmaTabTotals'); $this->setTemplate('sm/rma/edit/totals.phtml'); $this->_label = Mage::helper('rma')->__("Totals"); $this->_headLabel = Mage::helper('rma')->__("Totals"); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('wizardInstallationNotifications'); // --------------------------------------- $this->setTemplate('M2ePro/wizard/migrationToV6/installation/notifications.phtml'); }