コード例 #1
0
ファイル: Switcher.php プロジェクト: nickimproove/magento2
 protected function _construct()
 {
     parent::_construct();
     $this->setUseConfirm(true);
     $this->setUseAjax(true);
     $this->setDefaultStoreName($this->__('All Store Views'));
 }
コード例 #2
0
ファイル: Menu.php プロジェクト: nayanchamp/magento2
 /**
  * Initialize template and cache settings
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_url = Mage::getModel('Mage_Backend_Model_Url');
     $this->setCacheTags(array(self::CACHE_TAGS));
 }
コード例 #3
0
 /**
  * Initialize tab block
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setActive(true);
 }