Esempio n. 1
0
 /**
  * Import 'group' value
  *
  * @param \XLite\Model\Attribute $model  Attribute
  * @param string                 $value  Value
  * @param array                  $column Column info
  *
  * @return void
  */
 protected function importGroupColumn(\XLite\Model\Attribute $model, $value, array $column)
 {
     if ($value) {
         $group = $this->normalizeGroupValue($value);
         $this->updateModelTranslations($group, $value);
         $group->setProductClass($model->getProductClass());
         $model->setAttributeGroup($group);
     }
 }
 /**
  * {@inheritDoc}
  */
 public function setAttributeGroup(\XLite\Model\AttributeGroup $attributeGroup = NULL)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAttributeGroup', array($attributeGroup));
     return parent::setAttributeGroup($attributeGroup);
 }