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);
    }
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);
    }
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 ) ; }
Returns the Moodle docs link to use for this page.

@since Moodle 2.5.1 2.6
@param string $text
@return string
Returns the Moodle docs link to use for this page .