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')); }
/** * 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()); } }
/** * Set overriden params */ public function __construct() { parent::__construct(); $this->setUseConfirm(false)->setSwitchUrl($this->getUrl('*/*/*', array('store' => null))); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->setTemplate('catalog/product/edit/websites.phtml'); }
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'); }
public function __construct() { parent::__construct(); $this->setTemplate('styla/connect/adminhtml/hint/summary.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('advancedreports/store/switcher.phtml'); }
/** * Set overriden params */ public function __construct() { parent::__construct(); $this->setTemplate('hideprice/store/switcher.phtml'); $this->setUseConfirm(false); }