| |
|
< < | ObjectMethod internalLink ($theWeb,$theTopic,$theLinkText,$theAnchor,$doLink,$doKeepWeb,$hasExplicitLinkLabel) -> $html |
> > | ObjectMethod internalLink ($theWeb,$theTopic,$theLinkText,$theAnchor,$doLink,$doKeepWeb,$hasExplicitLinkLabel,$theParams) -> $html |
|
Generate a link. |
|
-
$doLinkToMissingPages - boolean: false means suppress link for non-existing pages
-
$doKeepWeb - boolean: true to keep web prefix (for non existing Web.TOPIC)
-
$hasExplicitLinkLabel - boolean: true in case of explicit link label
|
|
> > |
-
$theParams - the URL parameters specified by ?name1=value1;name2=valu2;... excluding the leading ?. This is added as per Item7505. This parameter's natural position is before $theAnchor . But to minimize code changes, it's introduced as the laster one
|
|
Called by _handleWikiWord and _handleSquareBracketedLink and by Func::internalLink |
| to display that value, protect the value from further processing.
The protected value is determined from the value of the field after: |
|
< < |
- newlines are replaced with <br> or the value of $attrs->{newline}
|
> > |
- newlines are replaced with value of $attrs->{newline} if defined
|
|
- processing through breakName if $attrs->{break} is defined
- escaping of $vars if $attrs->{protectdollar} is defined
- | is replaced with | or the value of $attrs->{bar} if defined
|