1 | <?php |
||
36 | class ClearProductObserver extends AbstractProductImportObserver |
||
37 | { |
||
38 | |||
39 | /** |
||
40 | * Process the observer's business logic. |
||
41 | * |
||
42 | * @return array The processed row |
||
43 | */ |
||
44 | 1 | protected function process() |
|
62 | |||
63 | /** |
||
64 | * Delete's the entity with the passed attributes. |
||
65 | * |
||
66 | * @param array $row The attributes of the entity to delete |
||
67 | * @param string|null $name The name of the prepared statement that has to be executed |
||
68 | * |
||
69 | * @return void |
||
70 | */ |
||
71 | 1 | public function deleteProduct($row, $name = null) |
|
75 | |||
76 | /** |
||
77 | * Delete's the URL rewrite(s) with the passed attributes. |
||
78 | * |
||
79 | * @param array $row The attributes of the entity to delete |
||
80 | * @param string|null $name The name of the prepared statement that has to be executed |
||
81 | * |
||
82 | * @return void |
||
83 | */ |
||
84 | 1 | public function deleteUrlRewrite($row, $name = null) |
|
88 | |||
89 | /** |
||
90 | * Delete's the stock item(s) with the passed attributes. |
||
91 | * |
||
92 | * @param array $row The attributes of the entity to delete |
||
93 | * @param string|null $name The name of the prepared statement that has to be executed |
||
94 | * |
||
95 | * @return void |
||
96 | */ |
||
97 | 1 | public function deleteStockItem($row, $name = null) |
|
101 | |||
102 | /** |
||
103 | * Delete's the stock status with the passed attributes. |
||
104 | * |
||
105 | * @param array $row The attributes of the entity to delete |
||
106 | * @param string|null $name The name of the prepared statement that has to be executed |
||
107 | * |
||
108 | * @return void |
||
109 | */ |
||
110 | 1 | public function deleteStockStatus($row, $name = null) |
|
114 | |||
115 | /** |
||
116 | * Delete's the product website relations with the passed attributes. |
||
117 | * |
||
118 | * @param array $row The attributes of the entity to delete |
||
119 | * @param string|null $name The name of the prepared statement that has to be executed |
||
120 | * |
||
121 | * @return void |
||
122 | */ |
||
123 | 1 | public function deleteProductWebsite($row, $name = null) |
|
127 | |||
128 | /** |
||
129 | * Delete's the category product relations with the passed attributes. |
||
130 | * |
||
131 | * @param array $row The attributes of the entity to delete |
||
132 | * @param string|null $name The name of the prepared statement that has to be executed |
||
133 | * |
||
134 | * @return void |
||
135 | */ |
||
136 | 1 | public function deleteCategoryProduct($row, $name = null) |
|
140 | } |
||
141 |