original_string: public function accessible_skipto_links($displaycategorylisting, $displaycourselisting, $displaycoursedetail) {
          $html = html_writer::start_div('skiplinks accesshide');
          $url = new moodle_url($this->page->url);
          if ($displaycategorylisting) {
              $url->set_anchor('category-listing');
              $html .= html_writer::link($url, get_string('skiptocategorylisting'), array('class' => 'skip'));
          }
          if ($displaycourselisting) {
              $url->set_anchor('course-listing');
              $html .= html_writer::link($url, get_string('skiptocourselisting'), array('class' => 'skip'));
          }
          if ($displaycoursedetail) {
              $url->set_anchor('course-detail');
              $html .= html_writer::link($url, get_string('skiptocoursedetails'), array('class' => 'skip'));
          }
          $html .= html_writer::end_div();
          return $html;
      }
code: public function accessible_skipto_links($displaycategorylisting, $displaycourselisting, $displaycoursedetail) {
          $html = html_writer::start_div('skiplinks accesshide');
          $url = new moodle_url($this->page->url);
          if ($displaycategorylisting) {
              $url->set_anchor('category-listing');
              $html .= html_writer::link($url, get_string('skiptocategorylisting'), array('class' => 'skip'));
          }
          if ($displaycourselisting) {
              $url->set_anchor('course-listing');
              $html .= html_writer::link($url, get_string('skiptocourselisting'), array('class' => 'skip'));
          }
          if ($displaycoursedetail) {
              $url->set_anchor('course-detail');
              $html .= html_writer::link($url, get_string('skiptocoursedetails'), array('class' => 'skip'));
          }
          $html .= html_writer::end_div();
          return $html;
      }
code_tokens: public function accessible_skipto_links ( $ displaycategorylisting , $ displaycourselisting , $ displaycoursedetail ) { $ html = html_writer :: start_div ( 'skiplinks accesshide' ) ; $ url = new moodle_url ( $ this -> page -> url ) ; if ( $ displaycategorylisting ) { $ url -> set_anchor ( 'category-listing' ) ; $ html .= html_writer :: link ( $ url , get_string ( 'skiptocategorylisting' ) , array ( 'class' => 'skip' ) ) ; } if ( $ displaycourselisting ) { $ url -> set_anchor ( 'course-listing' ) ; $ html .= html_writer :: link ( $ url , get_string ( 'skiptocourselisting' ) , array ( 'class' => 'skip' ) ) ; } if ( $ displaycoursedetail ) { $ url -> set_anchor ( 'course-detail' ) ; $ html .= html_writer :: link ( $ url , get_string ( 'skiptocoursedetails' ) , array ( 'class' => 'skip' ) ) ; } $ html .= html_writer :: end_div ( ) ; return $ html ; }
docstring: Creates access hidden skip to links for the displayed sections.
  
  @param bool $displaycategorylisting
  @param bool $displaycourselisting
  @param bool $displaycoursedetail
  @return string
docstring_tokens: Creates access hidden skip to links for the displayed sections .