示例#1
0
 protected function configureLockItemBeforeStart()
 {
     parent::configureLockItemBeforeStart();
     $componentName = '';
     if (count(Mage::helper('M2ePro/Component')->getActiveComponents()) > 1) {
         $componentName = Ess_M2ePro_Helper_Component_Play::TITLE . ' ';
     }
     $params = $this->getParams();
     /** @var $marketplace Ess_M2ePro_Model_Marketplace **/
     $marketplace = Mage::helper('M2ePro/Component_Play')->getObject('Marketplace', (int) $params['marketplace_id']);
     $this->getActualLockItem()->setTitle(Mage::helper('M2ePro')->__($componentName . $marketplace->getTitle()));
 }