public function doc_link($issue, $name) {
        global $CFG, $OUTPUT;

        if (empty($CFG->docroot)) {
            return $name;
        }

        return $OUTPUT->doc_link('report/performance/'.$issue, $name);
    }
public function doc_link($issue, $name) {
        global $CFG, $OUTPUT;

        if (empty($CFG->docroot)) {
            return $name;
        }

        return $OUTPUT->doc_link('report/performance/'.$issue, $name);
    }
public function doc_link ( $ issue , $ name ) { global $ CFG , $ OUTPUT ; if ( empty ( $ CFG -> docroot ) ) { return $ name ; } return $ OUTPUT -> doc_link ( 'report/performance/' . $ issue , $ name ) ; }
Returns document link for performance issue

@param string $issue string describing issue
@param string $name name of issue
@return string issue link pointing to docs page.
Returns document link for performance issue