original_string: public function get_authorlink() {
          $link = new \moodle_url(
              '/user/view.php', array(
                  'id' => $this->post->userid,
                  'course' => $this->course->id,
              )
          );
  
          return $link->out(false);
      }
code: public function get_authorlink() {
          $link = new \moodle_url(
              '/user/view.php', array(
                  'id' => $this->post->userid,
                  'course' => $this->course->id,
              )
          );
  
          return $link->out(false);
      }
code_tokens: public function get_authorlink ( ) { $ link = new \ moodle_url ( '/user/view.php' , array ( 'id' => $ this -> post -> userid , 'course' => $ this -> course -> id , ) ) ; return $ link -> out ( false ) ; }
docstring: Get the link to the author's profile page.
  
  @return string
docstring_tokens: Get the link to the author s profile page .