1 | <?php |
||
36 | class VariantSuperAttributeUpdateObserver extends VariantSuperAttributeObserver |
||
37 | { |
||
38 | |||
39 | /** |
||
40 | * Initialize the product super attribute with the passed attributes and returns an instance. |
||
41 | * |
||
42 | * @param array $attr The product super attribute attributes |
||
43 | * |
||
44 | * @return array The initialized product super attribute |
||
45 | */ |
||
46 | protected function initializeProductSuperAttribute(array $attr) |
||
61 | |||
62 | /** |
||
63 | * Initialize the product super attribute label with the passed attributes and returns an instance. |
||
64 | * |
||
65 | * @param array $attr The product super attribute label attributes |
||
66 | * |
||
67 | * @return array The initialized product super attribute label |
||
68 | */ |
||
69 | protected function initializeProductSuperAttributeLabel(array $attr) |
||
84 | |||
85 | /** |
||
86 | * Merge's and return's the product super attribute entity with the passed attributes and set's the |
||
87 | * status to 'update'. |
||
88 | * |
||
89 | * @param array $entity The entity to merge the attributes into |
||
90 | * @param array $attr The attributes to be merged |
||
91 | * |
||
92 | * @return array The merged entity |
||
93 | */ |
||
94 | protected function mergeProductSuperAttribute(array $entity, array $attr) |
||
103 | |||
104 | /** |
||
105 | * Load's the product super attribute with the passed product/attribute ID. |
||
106 | * |
||
107 | * @param integer $productId The entity ID of the product super attribute's product |
||
108 | * @param integer $attributeId The attribute ID of the product super attributes attribute |
||
109 | * |
||
110 | * @return array The product super attribute |
||
111 | */ |
||
112 | protected function loadProductSuperAttribute($productId, $attributeId) |
||
116 | |||
117 | /** |
||
118 | * Load's the product super attribute label with the passed product super attribute/store ID. |
||
119 | * |
||
120 | * @param integer $productSuperAttributeId The product super attribute ID of the product super attribute label |
||
121 | * @param integer $storeId The store ID of the product super attribute label |
||
122 | * |
||
123 | * @return array The product super attribute label |
||
124 | */ |
||
125 | protected function loadProductSuperAttributeLabel($productSuperAttributeId, $storeId) |
||
129 | } |
||
130 |