public function __construct()
 {
     parent::__construct();
     $this->setTemplate('downloads/switcher_store.phtml');
     $this->setUseConfirm(true);
     $this->setUseAjax(true);
     $this->setDefaultStoreName(Mage::helper('downloads')->__('All Store Views'));
 }
Example #2
0
 /**
  * Add website filter
  */
 public function __construct()
 {
     parent::__construct();
     $this->setUseConfirm(false);
     if ($this->_getCustomer()->getSharingConfig()->isWebsiteScope()) {
         $this->setWebsiteIds($this->_getCustomer()->getSharedWebsiteIds());
     }
 }
 public function __construct()
 {
     parent::__construct();
     $role = Mage::getSingleton('aitpermissions/role');
     if ($role->isScopeStore()) {
         $this->hasDefaultOption(false);
     }
     if ($role->isScopeWebsite()) {
         $this->setWebsiteIds($role->getAllowedWebsiteIds());
     }
 }
Example #4
0
 /**
  * Set overriden params
  */
 public function __construct()
 {
     parent::__construct();
     $this->setUseConfirm(false)->setSwitchUrl($this->getUrl('*/*/*', array('store' => null)));
 }
Example #5
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('catalog/product/edit/websites.phtml');
 }
Example #6
0
 public function __construct()
 {
     parent::__construct();
     $this->setId('sc_store_select');
 }
 public function __construct()
 {
     parent::__construct();
     $this->setDefaultStoreName($this->__('Default Store (%s)', AO::app()->getDefaultStoreView()->getName()))->setUseConfirm(false)->setSwitchUrl($this->getUrl('*/*/*', array('store' => null)));
 }
 public function __construct()
 {
     parent::__construct();
     $this->setId('sc_store_select');
     $this->setTemplate('sales/order/create/store/select.phtml');
 }
Example #9
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('styla/connect/adminhtml/hint/summary.phtml');
 }
Example #10
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('advancedreports/store/switcher.phtml');
 }
Example #11
0
 /**
  * Set overriden params
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('hideprice/store/switcher.phtml');
     $this->setUseConfirm(false);
 }