Exemplo n.º 1
0
 protected function configureLockItemBeforeStart()
 {
     parent::configureLockItemBeforeStart();
     $componentName = '';
     if (count($this->getHelper('Component')->getEnabledComponents()) > 1) {
         $componentName = $this->getHelper('Component\\Ebay')->getTitle() . ' ';
     }
     $params = $this->getParams();
     /** @var $marketplace \Ess\M2ePro\Model\Marketplace **/
     $marketplace = $this->ebayFactory->getObjectLoaded('Marketplace', (int) $params['marketplace_id']);
     $marketplace->getNativeId() == 100 && ($componentName = '');
     $this->getActualLockItem()->setTitle($componentName . $this->getHelper('Module\\Translation')->__($marketplace->getTitle()));
 }
Exemplo n.º 2
0
 protected function processTask($taskPath)
 {
     return parent::processTask('OtherListings\\' . $taskPath);
 }
Exemplo n.º 3
0
 protected function processTask($taskPath)
 {
     return parent::processTask('Marketplaces\\' . $taskPath);
 }
Exemplo n.º 4
0
 protected function makeTask($taskPath)
 {
     $task = parent::makeTask($taskPath);
     $task->setProductChangesManager($this->getProductChangesManager());
     return $task;
 }
Exemplo n.º 5
0
 protected function processTask($taskPath)
 {
     parent::processTask('Orders\\' . $taskPath);
 }
Exemplo n.º 6
0
 protected function processTask($taskPath)
 {
     return parent::processTask('ListingsProducts\\' . $taskPath);
 }
Exemplo n.º 7
0
 protected function processTask($taskPath)
 {
     return parent::processTask('General\\' . $taskPath);
 }
Exemplo n.º 8
0
 protected function processTask($taskPath)
 {
     return parent::processTask('Templates\\' . $taskPath);
 }