1 | <?php |
||
35 | abstract class AbstractAttributeImportObserver extends AbstractObserver implements AttributeImportObserverInterface |
||
36 | { |
||
37 | |||
38 | /** |
||
39 | * Will be invoked by the action on the events the listener has been registered for. |
||
40 | * |
||
41 | * @param array $row The row to handle |
||
42 | * |
||
43 | * @return array The modified row |
||
44 | * @see \TechDivision\Import\Product\Observers\ImportObserverInterface::handle() |
||
45 | */ |
||
46 | public function handle(array $row) |
||
58 | |||
59 | /** |
||
60 | * Return's whether or not this is the admin store view. |
||
61 | * |
||
62 | * @return boolean TRUE if we're in admin store view, else FALSE |
||
63 | */ |
||
64 | protected function isAdminStore() |
||
68 | |||
69 | /** |
||
70 | * Process the observer's business logic. |
||
71 | * |
||
72 | * @return void |
||
73 | */ |
||
74 | abstract protected function process(); |
||
75 | } |
||
76 |