Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/view/TWiki/VarQUERYPARAMS?cover=print.nat;skin=kubrick.nat%2Cnat%2C%20pattern;sortcol=1;table=1;up=0
Дата изменения: Unknown
Дата индексирования: Sun Mar 2 15:47:54 2014
Кодировка:
VarQUERYPARAMS - TWiki - TWiki - (printable)

QUERYPARAMS -- show paramaters to the query

  • Expands the parameters to the query that was used to display the page.
  • Syntax: %QUERYPARAMS{...}%
  • Parameters:
    • format="..." format string for each entry, default $name=$value
    • separator="..." separator string, default separator="$n" (newline)
    • encoding="..." the encoding to apply to parameter values; see ENCODE for a description of the available encodings. If this parameter is not given, no encoding is performed.
  • The following escape sequences are expanded in the format string:
Sequence: Expands To:Sorted ascending
$dollar Dollar sign ($)
$quot Double quote (") (\" also works)
$nop or $nop() Is a "no operation". This variable gets removed; useful for nested search
$name Name of the parameter
$n or $n() New line. Use $n() if followed by alphanumeric character, e.g. write Foo$n()Bar instead of Foo$nBar
$percnt Percent sign (%)
$value String value of the parameter. Multi-valued parameters will have a "row" for each value.

  • Example:
    • %QUERYPARAMS{format="<input type='hidden' name='$name' value='$value' encoding="entity" />"}%
  • See also QUERYSTRING, URLPARAM