original_string: public function get_doc_url(\core_search\document $doc) {
          $entry = $this->get_entry($doc->get('itemid'));
          return new \moodle_url('/mod/data/view.php', array( 'd' => $entry->dataid, 'rid' => $entry->id ));
      }
code: public function get_doc_url(\core_search\document $doc) {
          $entry = $this->get_entry($doc->get('itemid'));
          return new \moodle_url('/mod/data/view.php', array( 'd' => $entry->dataid, 'rid' => $entry->id ));
      }
code_tokens: public function get_doc_url ( \ core_search \ document $ doc ) { $ entry = $ this -> get_entry ( $ doc -> get ( 'itemid' ) ) ; return new \ moodle_url ( '/mod/data/view.php' , array ( 'd' => $ entry -> dataid , 'rid' => $ entry -> id ) ) ; }
docstring: Link to database entry.
  
  @param \core_search\document $doc
  @return \moodle_url
docstring_tokens: Link to database entry .