original_string: public function page_doc_link($text = null) {
          if ($text === null) {
              $text = get_string('moodledocslink');
          }
          $path = page_get_doc_link_path($this->page);
          if (!$path) {
              return '';
          }
          return $this->doc_link($path, $text);
      }
code: public function page_doc_link($text = null) {
          if ($text === null) {
              $text = get_string('moodledocslink');
          }
          $path = page_get_doc_link_path($this->page);
          if (!$path) {
              return '';
          }
          return $this->doc_link($path, $text);
      }
code_tokens: public function page_doc_link ( $ text = null ) { if ( $ text === null ) { $ text = get_string ( 'moodledocslink' ) ; } $ path = page_get_doc_link_path ( $ this -> page ) ; if ( ! $ path ) { return '' ; } return $ this -> doc_link ( $ path , $ text ) ; }
docstring: Returns the Moodle docs link to use for this page.
  
  @since Moodle 2.5.1 2.6
  @param string $text
  @return string
docstring_tokens: Returns the Moodle docs link to use for this page .