1 | <?php |
||
36 | class ClearImageObserver extends AbstractCategoryImportObserver |
||
37 | { |
||
38 | |||
39 | /** |
||
40 | * Process the observer's business logic. |
||
41 | * |
||
42 | * @return array The processed row |
||
43 | */ |
||
44 | protected function process() |
||
86 | |||
87 | /** |
||
88 | * Delete's the varchar attribute with the passed value ID. |
||
89 | * |
||
90 | * @param array $row The attributes of the entity to delete |
||
91 | * @param string|null $name The name of the prepared statement that has to be executed |
||
92 | * |
||
93 | * @return void |
||
94 | */ |
||
95 | protected function deleteVarcharAttribute(array $row, $name = null) |
||
99 | |||
100 | /** |
||
101 | * Load's and return's the varchar attribute with the passed entity/attribute/store ID. |
||
102 | * |
||
103 | * @param integer $entityId The entity ID of the attribute |
||
104 | * @param integer $attributeId The attribute ID of the attribute |
||
105 | * @param integer $storeId The store ID of the attribute |
||
106 | * |
||
107 | * @return array|null The varchar attribute |
||
108 | */ |
||
109 | protected function loadVarcharAttribute($entityId, $attributeId, $storeId) |
||
113 | |||
114 | /** |
||
115 | * Return's the EAV attribute with the passed attribute code. |
||
116 | * |
||
117 | * @param string $attributeCode The attribute code |
||
118 | * |
||
119 | * @return array The array with the EAV attribute |
||
120 | * @throws \Exception Is thrown if the attribute with the passed code is not available |
||
121 | */ |
||
122 | protected function getEavAttributeByAttributeCode($attributeCode) |
||
126 | |||
127 | /** |
||
128 | * Return's the category with the passed path. |
||
129 | * |
||
130 | * @param string $path The path of the category to return |
||
131 | * |
||
132 | * @return array The category |
||
133 | */ |
||
134 | protected function getCategoryByPath($path) |
||
138 | |||
139 | /** |
||
140 | * Return's the PK to create the product => attribute relation. |
||
141 | * |
||
142 | * @return integer The PK to create the relation with |
||
143 | */ |
||
144 | protected function getPrimaryKey() |
||
148 | |||
149 | /** |
||
150 | * Return's the PK column name to create the product => attribute relation. |
||
151 | * |
||
152 | * @return string The PK column name |
||
153 | */ |
||
154 | protected function getPrimaryKeyMemberName() |
||
158 | |||
159 | /** |
||
160 | * Return's the column name that contains the primary key. |
||
161 | * |
||
162 | * @return string the column name that contains the primary key |
||
163 | */ |
||
164 | protected function getPrimaryKeyColumnName() |
||
168 | } |
||
169 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.