Exemple #1
0
 public static function restoreInstance(EavObject $object, EavField $field, $value)
 {
     $specItem = parent::restoreInstance(__CLASS__, $object, $field, $value);
     $specItem->value->set(unserialize($value));
     $specItem->resetModifiedStatus();
     return $specItem;
 }
Exemple #2
0
 public static function restoreInstance(EavObject $product, EavField $field, $value)
 {
     return parent::restoreInstance(__CLASS__, $product, $field, $value);
 }