Nats smarty rebuild query
From TMM Wiki
Jump to navigationJump to searchApplies to NATS 4.0.25 and greater.
nats_smarty_rebuild_query
Removes arguments to the query used to generate the current page. A relative hyperlink to the new query page is printed or assigned to a variable.
Alias: rebuild_query (NATS3)
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
without | Removes arguments from the query. | Any argument used in the current query. You may pass a list of arguments separated by commas. | None. Removes no arguments. | without="myvar" |
using | How to send the query to the NATS server. | GET, POST, or REQUEST. | REQUEST | using="POST" |
assign | Assigns the query string to a Smarty variable. | Any possible Smarty variable. | Not used. Prints the query string. | assign="myvar" |
assign_prefix | Prefix output variables with this word. (Click link for details) | Any valid Smarty variable name | None. (No prefix is used) | assign_prefix="myvar" |
Output
By default, the new query string. If the assign argument is used, no output.
Notes
See description for the assign argument in the parameters section above.
See Also
- nats_smarty_rebuild_link -- removes arguments to a query and builds a fully-qualified hyperlink.