public function get_context_url(\core_search\document $doc) {
        $entry = $this->get_entry($doc->get('itemid'));
        return new \moodle_url('/mod/data/view.php', array('d' => $entry->dataid));
    }
public function get_context_url(\core_search\document $doc) {
        $entry = $this->get_entry($doc->get('itemid'));
        return new \moodle_url('/mod/data/view.php', array('d' => $entry->dataid));
    }
public function get_context_url ( \ core_search \ document $ doc ) { $ entry = $ this -> get_entry ( $ doc -> get ( 'itemid' ) ) ; return new \ moodle_url ( '/mod/data/view.php' , array ( 'd' => $ entry -> dataid ) ) ; }
Link to the database activity.

@param \core_search\document $doc
@return \moodle_url
Link to the database activity .