/** * Generates a link to a post. * * @author Martin Helmich <*****@*****.**> * @param integer $post_id The post UID * @return string The absolute post URL */ function getPostLink($post_id) { $linkParams[$this->pObj->prefixId] = array('action' => 'list_post', 'pid' => $post_id); return $this->pObj->escapeURL($this->pObj->pi_getPageLink($this->conf['pid_forum'], '', $linkParams)); }