original_string: public function get_discussion_view_first_unread_post_url_from_discussion(discussion_entity $discussion) {
          $viewurl = $this->get_discussion_view_url_from_discussion_id($discussion->get_id());
          $viewurl->set_anchor('unread');
  
          return $viewurl;
      }
code: public function get_discussion_view_first_unread_post_url_from_discussion(discussion_entity $discussion) {
          $viewurl = $this->get_discussion_view_url_from_discussion_id($discussion->get_id());
          $viewurl->set_anchor('unread');
  
          return $viewurl;
      }
code_tokens: public function get_discussion_view_first_unread_post_url_from_discussion ( discussion_entity $ discussion ) { $ viewurl = $ this -> get_discussion_view_url_from_discussion_id ( $ discussion -> get_id ( ) ) ; $ viewurl -> set_anchor ( 'unread' ) ; return $ viewurl ; }
docstring: Get the url to view the first unread post in a discussion.
  
  @param discussion_entity $discussion The discussion
  @return moodle_url
docstring_tokens: Get the url to view the first unread post in a discussion .