Public Member Functions | |
getTagFeedUrl () |
Definition at line 32 of file Catalog.php.
getTagFeedUrl | ( | ) |
Definition at line 35 of file Catalog.php.
00036 { 00037 $url = ''; 00038 if(Mage::getStoreConfig('rss/catalog/tag') && $this->_getRequest()->getParam('tagId')){ 00039 $tagModel = Mage::getModel('tag/tag')->load($this->_getRequest()->getParam('tagId')); 00040 if($tagModel && $tagModel->getId()){ 00041 return Mage::getUrl('rss/catalog/tag', array('tagName' => $tagModel->getName())); 00042 } 00043 } 00044 return $url; 00045 }