[dokuwiki] Re: Understanding returnonly parameter

  • From: "Zen-Do.Ru" <admin@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 8 Jun 2016 22:27:34 +0300

08.06.2016 18:39, Lars Paulsen пишет:

I got an understanding problem with the "returnonly" parameter for link
functions in renderers,

You may check
http://xref.dokuwiki.org

See there a "Search" box,
type in the "Variable" field:
returnonly

You will see where and how that variable is used.

What I think it is doing is the following:
- if set to false everything works normal. Links are created and written
into the document.

Yes.

> For what reason is the link/text returned to the caller?

For example a template might need to get a link as a parameter and then do something with it before making output.

Cheers!
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: