コード例 #1
0
 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'));
 }
コード例 #2
0
ファイル: Switcher.php プロジェクト: jpbender/mage_virtual
 /**
  * Add website filter
  */
 public function __construct()
 {
     parent::__construct();
     $this->setUseConfirm(false);
     if ($this->_getCustomer()->getSharingConfig()->isWebsiteScope()) {
         $this->setWebsiteIds($this->_getCustomer()->getSharedWebsiteIds());
     }
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
     $role = Mage::getSingleton('aitpermissions/role');
     if ($role->isScopeStore()) {
         $this->hasDefaultOption(false);
     }
     if ($role->isScopeWebsite()) {
         $this->setWebsiteIds($role->getAllowedWebsiteIds());
     }
 }
コード例 #4
0
ファイル: Switcher.php プロジェクト: quyip8818/Mag
 /**
  * Set overriden params
  */
 public function __construct()
 {
     parent::__construct();
     $this->setUseConfirm(false)->setSwitchUrl($this->getUrl('*/*/*', array('store' => null)));
 }
コード例 #5
0
ファイル: Websites.php プロジェクト: cewolf2002/magento
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('catalog/product/edit/websites.phtml');
 }
コード例 #6
0
ファイル: Select.php プロジェクト: jauderho/magento-mirror
 public function __construct()
 {
     parent::__construct();
     $this->setId('sc_store_select');
 }
コード例 #7
0
 public function __construct()
 {
     parent::__construct();
     $this->setDefaultStoreName($this->__('Default Store (%s)', AO::app()->getDefaultStoreView()->getName()))->setUseConfirm(false)->setSwitchUrl($this->getUrl('*/*/*', array('store' => null)));
 }
コード例 #8
0
 public function __construct()
 {
     parent::__construct();
     $this->setId('sc_store_select');
     $this->setTemplate('sales/order/create/store/select.phtml');
 }
コード例 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('styla/connect/adminhtml/hint/summary.phtml');
 }
コード例 #10
0
ファイル: Switcher.php プロジェクト: cnglobal-sl/caterez
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('advancedreports/store/switcher.phtml');
 }
コード例 #11
0
ファイル: Switcher.php プロジェクト: CE-Webmaster/CE-Hub
 /**
  * Set overriden params
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('hideprice/store/switcher.phtml');
     $this->setUseConfirm(false);
 }