1 | <?php |
||
35 | class EeProductAttributeUpdateObserver extends ProductAttributeUpdateObserver |
||
36 | { |
||
37 | |||
38 | /** |
||
39 | * The trait providing basic EE product attribute functionality. |
||
40 | * |
||
41 | * @var \TechDivision\Import\Product\Ee\Observers\EeProductAttributeObserverTrait |
||
42 | */ |
||
43 | use EeProductAttributeObserverTrait; |
||
44 | |||
45 | /** |
||
46 | * Initialize the category product with the passed attributes and returns an instance. |
||
47 | * |
||
48 | * @param array $attr The category product attributes |
||
49 | * |
||
50 | * @return array The initialized category product |
||
51 | */ |
||
52 | public function initializeAttribute(array $attr) |
||
75 | |||
76 | /** |
||
77 | * Load's and return's the datetime attribute with the passed row/attribute/store ID. |
||
78 | * |
||
79 | * @param integer $rowId The row ID of the attribute |
||
80 | * @param integer $attributeId The attribute ID of the attribute |
||
81 | * @param integer $storeId The store ID of the attribute |
||
82 | * |
||
83 | * @return array|null The datetime attribute |
||
84 | */ |
||
85 | public function loadProductDatetimeAttributeByRowIdAndAttributeIdAndStoreId($rowId, $attributeId, $storeId) |
||
89 | |||
90 | /** |
||
91 | * Load's and return's the decimal attribute with the passed row/attribute/store ID. |
||
92 | * |
||
93 | * @param integer $rowId The row ID of the attribute |
||
94 | * @param integer $attributeId The attribute ID of the attribute |
||
95 | * @param integer $storeId The store ID of the attribute |
||
96 | * |
||
97 | * @return array|null The decimal attribute |
||
98 | */ |
||
99 | public function loadProductDecimalAttributeByRowIdAndAttributeIdAndStoreId($rowId, $attributeId, $storeId) |
||
103 | |||
104 | /** |
||
105 | * Load's and return's the integer attribute with the passed row/attribute/store ID. |
||
106 | * |
||
107 | * @param integer $rowId The row ID of the attribute |
||
108 | * @param integer $attributeId The attribute ID of the attribute |
||
109 | * @param integer $storeId The store ID of the attribute |
||
110 | * |
||
111 | * @return array|null The integer attribute |
||
112 | */ |
||
113 | public function loadProductIntAttributeByRowIdAndAttributeIdAndStoreId($rowId, $attributeId, $storeId) |
||
117 | |||
118 | /** |
||
119 | * Load's and return's the text attribute with the passed row/attribute/store ID. |
||
120 | * |
||
121 | * @param integer $rowId The row ID of the attribute |
||
122 | * @param integer $attributeId The attribute ID of the attribute |
||
123 | * @param integer $storeId The store ID of the attribute |
||
124 | * |
||
125 | * @return array|null The text attribute |
||
126 | */ |
||
127 | public function loadProductTextAttributeByRowIdAndAttributeIdAndStoreId($rowId, $attributeId, $storeId) |
||
131 | |||
132 | /** |
||
133 | * Load's and return's the varchar attribute with the passed row/attribute/store ID. |
||
134 | * |
||
135 | * @param integer $rowId The row ID of the attribute |
||
136 | * @param integer $attributeId The attribute ID of the attribute |
||
137 | * @param integer $storeId The store ID of the attribute |
||
138 | * |
||
139 | * @return array|null The varchar attribute |
||
140 | */ |
||
141 | public function loadProductVarcharAttributeByRowIdAndAttributeIdAndStoreId($rowId, $attributeId, $storeId) |
||
145 | } |
||
146 |