Пример #1
0
 /**
  * Defines the position of attribute in the current product 
  *
  * @param \XLite\Model\Attribute $attribute
  *
  * @return integer
  */
 protected function getPositionColumnValue(\XLite\Model\Attribute $attribute)
 {
     return $attribute->getPosition($this->getProduct());
 }
 /**
  * {@inheritDoc}
  */
 public function getPosition($product = NULL)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array($product));
     return parent::getPosition($product);
 }