public function loadLayout($ids = null, $generateBlocks = true, $generateXml = true)
 {
     $tempResult = parent::loadLayout($ids, $generateBlocks, $generateXml);
     $tempResult->_setActiveMenu(Ess_M2ePro_Helper_View_Ebay::MENU_ROOT_NODE_NICK);
     $tempResult->_title(Mage::helper('M2ePro/View_Ebay')->getMenuRootNodeLabel());
     return $tempResult;
 }
Esempio n. 2
0
 public function loadLayout($ids = null, $generateBlocks = true, $generateXml = true)
 {
     $tempResult = parent::loadLayout($ids, $generateBlocks, $generateXml);
     if (count(Mage::helper('M2ePro/View_Ebay_Component')->getActiveComponents()) > 0) {
         $tempResult->_setActiveMenu(Ess_M2ePro_Helper_View_Ebay::NICK);
         $tempResult->_title(Mage::helper('M2ePro/View_Ebay')->getMenuRootNodeLabel());
     } else {
         $tempResult->_setActiveMenu(Ess_M2ePro_Helper_View_Common::NICK);
         $tempResult->_title(Mage::helper('M2ePro/View_Common')->getMenuRootNodeLabel());
     }
     return $tempResult;
 }