public function __construct()
 {
     $args = func_get_args();
     empty($args[0]) && ($args[0] = array());
     $params = $args[0];
     $this->setNick('synchronization');
     parent::__construct($params);
 }
Beispiel #2
0
 public function __construct()
 {
     $args = func_get_args();
     empty($args[0]) && ($args[0] = array());
     $params = $args[0];
     $this->setNick('synchronization');
     $maxDeactivateTime = (int) Mage::helper('M2ePro/Module')->getSynchronizationConfig()->getGroupValue('/settings/lockItem/', 'max_deactivate_time');
     $this->setMaxDeactivateTime($maxDeactivateTime);
     parent::__construct($params);
 }
Beispiel #3
0
 public function __construct()
 {
     $args = func_get_args();
     empty($args[0]) && ($args[0] = array());
     $params = $args[0];
     if (!isset($params['component'])) {
         throw new Exception('Listing component is not defined.');
     }
     $this->setNick($params['component'] . '_listing_other');
     parent::__construct($params);
 }
Beispiel #4
0
 public function __construct()
 {
     $args = func_get_args();
     empty($args[0]) && ($args[0] = array());
     $params = $args[0];
     if (!isset($params['component'])) {
         throw new Exception('Listing component is not defined.');
     }
     $this->setNick('listing_other_' . $params['component']);
     $maxDeactivateTime = (int) Mage::helper('M2ePro/Module')->getConfig()->getGroupValue('/listings/lockItem/', 'max_deactivate_time');
     $this->setMaxDeactivateTime($maxDeactivateTime);
     parent::__construct($params);
 }