/** * Return frontend registry link * * @param Enterprise_GiftRegistry_Model_Entity $item * @return string */ public function getRegistryLink($item) { return $this->getUrl('*/view/index', array('id' => $item->getUrlKey())); }
/** * Return frontend registry link * * @param Enterprise_GiftRegistry_Model_Entity $entity * @return string */ public function getRegistryLink($entity) { return Mage::getModel('core/url')->setStore($entity->getStoreId())->getUrl('giftregistry/view/index', array('id' => $entity->getUrlKey())); }