1 | <?php |
||
34 | class ProductAttributeUpdateObserver extends ProductAttributeObserver |
||
35 | { |
||
36 | |||
37 | /** |
||
38 | * Initialize the category product with the passed attributes and returns an instance. |
||
39 | * |
||
40 | * @param array $attr The category product attributes |
||
41 | * |
||
42 | * @return array The initialized category product |
||
43 | */ |
||
44 | public function initializeAttribute(array $attr) |
||
67 | |||
68 | /** |
||
69 | * Load's and return's the datetime attribute with the passed entity/attribute/store ID. |
||
70 | * |
||
71 | * @param integer $entityId The entity ID of the attribute |
||
72 | * @param integer $attributeId The attribute ID of the attribute |
||
73 | * @param integer $storeId The store ID of the attribute |
||
74 | * |
||
75 | * @return array|null The datetime attribute |
||
76 | */ |
||
77 | public function loadProductDatetimeAttribute($entityId, $attributeId, $storeId) |
||
81 | |||
82 | /** |
||
83 | * Load's and return's the decimal attribute with the passed entity/attribute/store ID. |
||
84 | * |
||
85 | * @param integer $entityId The entity ID of the attribute |
||
86 | * @param integer $attributeId The attribute ID of the attribute |
||
87 | * @param integer $storeId The store ID of the attribute |
||
88 | * |
||
89 | * @return array|null The decimal attribute |
||
90 | */ |
||
91 | public function loadProductDecimalAttribute($entityId, $attributeId, $storeId) |
||
95 | |||
96 | /** |
||
97 | * Load's and return's the integer attribute with the passed entity/attribute/store ID. |
||
98 | * |
||
99 | * @param integer $entityId The entity ID of the attribute |
||
100 | * @param integer $attributeId The attribute ID of the attribute |
||
101 | * @param integer $storeId The store ID of the attribute |
||
102 | * |
||
103 | * @return array|null The integer attribute |
||
104 | */ |
||
105 | public function loadProductIntAttribute($entityId, $attributeId, $storeId) |
||
109 | |||
110 | /** |
||
111 | * Load's and return's the text attribute with the passed entity/attribute/store ID. |
||
112 | * |
||
113 | * @param integer $entityId The entity ID of the attribute |
||
114 | * @param integer $attributeId The attribute ID of the attribute |
||
115 | * @param integer $storeId The store ID of the attribute |
||
116 | * |
||
117 | * @return array|null The text attribute |
||
118 | */ |
||
119 | public function loadProductTextAttribute($entityId, $attributeId, $storeId) |
||
123 | |||
124 | /** |
||
125 | * Load's and return's the varchar attribute with the passed entity/attribute/store ID. |
||
126 | * |
||
127 | * @param integer $entityId The entity ID of the attribute |
||
128 | * @param integer $attributeId The attribute ID of the attribute |
||
129 | * @param integer $storeId The store ID of the attribute |
||
130 | * |
||
131 | * @return array|null The varchar attribute |
||
132 | */ |
||
133 | public function loadProductVarcharAttribute($entityId, $attributeId, $storeId) |
||
137 | } |
||
138 |