/** * Defines the position of product in the current category * * @param \XLite\Model\Product $product * * @return integer */ protected function getPositionColumnValue(\XLite\Model\Product $product) { return $product->getPosition($this->getCategoryId()); }
/** * {@inheritDoc} */ public function getPosition($category) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array($category)); return parent::getPosition($category); }