Nats smarty rebuild link
From TMM Wiki
Revision as of 16:52, 20 May 2011 by TMMStephenY (talk | contribs)
Applies to NATS 4.0.25 and greater.
nats_smarty_rebuild_link
Removes arguments to the query used to generate the current page and outputs a fully-qualified URL to access the changed query.
Alias: rebuild_link (NATS3)
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Values | Example |
---|---|---|---|---|
without | Removes arguments from the query. | Any argument used in the current query. You may pay 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, a fully-qualified URL containing 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_query -- removes arguments to a query and builds a hyperlink.