original_string: public function get_view_post_url_from_post_id(int $discussionid, int $postid) : moodle_url {
          $url = $this->get_discussion_view_url_from_discussion_id($discussionid);
          $url->set_anchor('p' . $postid);
          return $url;
      }
code: public function get_view_post_url_from_post_id(int $discussionid, int $postid) : moodle_url {
          $url = $this->get_discussion_view_url_from_discussion_id($discussionid);
          $url->set_anchor('p' . $postid);
          return $url;
      }
code_tokens: public function get_view_post_url_from_post_id ( int $ discussionid , int $ postid ) : moodle_url { $ url = $ this -> get_discussion_view_url_from_discussion_id ( $ discussionid ) ; $ url -> set_anchor ( 'p' . $ postid ) ; return $ url ; }
docstring: Get the url to view a discussion from a discussion id and post id.
  
  @param int $discussionid The discussion id
  @param int $postid The post id
  @return moodle_url
docstring_tokens: Get the url to view a discussion from a discussion id and post id .