original_string: public function get_forum_view_url_from_forum(forum_entity $forum, ?int $pageno = null,
              ?int $sortorder = null) : moodle_url {
  
          return $this->get_forum_view_url_from_course_module_id($forum->get_course_module_record()->id, $pageno, $sortorder);
      }
code: public function get_forum_view_url_from_forum(forum_entity $forum, ?int $pageno = null,
              ?int $sortorder = null) : moodle_url {
  
          return $this->get_forum_view_url_from_course_module_id($forum->get_course_module_record()->id, $pageno, $sortorder);
      }
code_tokens: public function get_forum_view_url_from_forum ( forum_entity $ forum , ? int $ pageno = null , ? int $ sortorder = null ) : moodle_url { return $ this -> get_forum_view_url_from_course_module_id ( $ forum -> get_course_module_record ( ) -> id , $ pageno , $ sortorder ) ; }
docstring: Get the view forum url for the given forum and optionally a page number.
  
  @param forum_entity $forum The forum entity
  @param int|null $pageno The page number
  @param int|null $sortorder The sorting order
  @return moodle_url
docstring_tokens: Get the view forum url for the given forum and optionally a page number .