public function helpPath($section, $field = false)
    {
        $fieldtag = $field;
        if (isset($this->field_display["$field"]) && isset($this->field_display["$field"]["DocId"])) {
            $fieldtag = $this->field_display["$field"]["DocId"];
        }

        $path = $this->query->url_doc_site . "/" . $this->query->doc_version . "/" . "doku.php?id=";

        if (isset($this->field_display["$field"]) && isset($this->field_display["$field"]["DocSection"])) {
            $path .= $this->field_display["$field"]["DocSection"];
        } else if ($section) {
            $path .= $this->getHelpLink($section);
        }

        if ($fieldtag) {
            $path .= "#$fieldtag";
        }

        return $path;
    }
public function helpPath($section, $field = false)
    {
        $fieldtag = $field;
        if (isset($this->field_display["$field"]) && isset($this->field_display["$field"]["DocId"])) {
            $fieldtag = $this->field_display["$field"]["DocId"];
        }

        $path = $this->query->url_doc_site . "/" . $this->query->doc_version . "/" . "doku.php?id=";

        if (isset($this->field_display["$field"]) && isset($this->field_display["$field"]["DocSection"])) {
            $path .= $this->field_display["$field"]["DocSection"];
        } else if ($section) {
            $path .= $this->getHelpLink($section);
        }

        if ($fieldtag) {
            $path .= "#$fieldtag";
        }

        return $path;
    }
public function helpPath ( $ section , $ field = false ) { $ fieldtag = $ field ; if ( isset ( $ this -> field_display [ "$field" ] ) && isset ( $ this -> field_display [ "$field" ] [ "DocId" ] ) ) { $ fieldtag = $ this -> field_display [ "$field" ] [ "DocId" ] ; } $ path = $ this -> query -> url_doc_site . "/" . $ this -> query -> doc_version . "/" . "doku.php?id=" ; if ( isset ( $ this -> field_display [ "$field" ] ) && isset ( $ this -> field_display [ "$field" ] [ "DocSection" ] ) ) { $ path .= $ this -> field_display [ "$field" ] [ "DocSection" ] ; } else if ( $ section ) { $ path .= $ this -> getHelpLink ( $ section ) ; } if ( $ fieldtag ) { $ path .= "#$fieldtag" ; } return $ path ; }
Generate link to help for specific field
Generate link to help for specific field