/** * Gets the URL the feed is linked to. * * @author Martin Helmich <*****@*****.**> * @return string The URL the feed is linked to. */ function getFeedURL() { if ($this->piVars['tid']) { $linkParams[$this->pObj->prefixId] = array('action' => 'list_post', 'tid' => $this->piVars['tid']); } elseif ($this->piVars['fid']) { $linkParams[$this->pObj->prefixId] = array('action' => 'list_topic', 'fid' => $this->piVars['fid']); } return $this->pObj->pi_getPageLink($this->conf['pid_forum'], '', $linkParams); }