/**
  * {@inheritDoc}
  */
 public function getAttributeOption()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeOption', array());
     return parent::getAttributeOption();
 }
Beispiel #2
0
 /**
  * Return field value
  *
  * @param \XLite\Model\AttributeValue\AttributeValueSelect $attributeValue Attribute value
  *
  * @return mixed
  */
 protected function getFieldValue($attributeValue)
 {
     return $attributeValue && $this->getAttribute() && $this->getAttribute()->getProduct() ? $attributeValue->getAttributeOption()->getName() : $attributeValue;
 }