src/Mathielen/DataImport/ItemConverter/ContextMergeConverter.php 1 location
|
@@ 15-21 (lines=7) @@
|
12 |
|
|
13 |
|
private $currentContext; |
14 |
|
|
15 |
|
public static function getSubscribedEvents() |
16 |
|
{ |
17 |
|
return array( |
18 |
|
ImportProcessEvent::AFTER_PREPARE => array('onImportPrepare', 0), |
19 |
|
ImportProcessEvent::AFTER_FINISH => array('onImportFinish', 0), |
20 |
|
); |
21 |
|
} |
22 |
|
|
23 |
|
public function onImportPrepare(ImportProcessEvent $event) |
24 |
|
{ |
src/Mathielen/DataImport/ItemConverter/ContextSupplyConverter.php 1 location
|
@@ 22-28 (lines=7) @@
|
19 |
|
$this->contextFieldname = $contextFieldname; |
20 |
|
} |
21 |
|
|
22 |
|
public static function getSubscribedEvents() |
23 |
|
{ |
24 |
|
return array( |
25 |
|
ImportProcessEvent::AFTER_PREPARE => array('onImportPrepare', 0), |
26 |
|
ImportProcessEvent::AFTER_FINISH => array('onImportFinish', 0), |
27 |
|
); |
28 |
|
} |
29 |
|
|
30 |
|
public function onImportPrepare(ImportProcessEvent $event) |
31 |
|
{ |