/** * Get edit entity URL * * @return integer */ protected function getEditURL(\XLite\Module\XC\CustomProductTabs\Model\Product\Tab $entity) { return \XLite\Core\Converter::buildUrl('product', null, array('product_id' => \XLite\Core\Request::getInstance()->product_id, 'page' => 'tabs', 'tab_id' => $entity->getId())); }
/** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); }