4.78. tmp
4.78.1. Summary
Parameters: name
Positional parameters in same order.
Pass attribute hash as last to subroutine: no
Interpolates container text by default>.
This is a container tag, i.e. [tmp] FOO [/tmp]. Nesting: NO
Invalidates cache: YES
Called Routine:
ASP-like Perl call:
$Tag->tmp( { name => VALUE, }, BODY ) OR $Tag->tmp($name, $BODY); [tmp name]
Parameters | Description | Default |
name | DEFAULT_VALUE |
Attributes | Default |
interpolate | No |
reparse | Yes |
Other_Characteristics | |
Invalidates cache | YES |
Container tag | Yes |
Has Subtags | No |
Nests | No |
Tag expansion example:
[tmp name] --- TODO: (tag result)
ASP-like Perl call:
$Tag->tmp( { name => VALUE_name }, $body );
or similarly with positional parameters,
$Tag->tmp(name, $attribute_hash_reference, $body);
4.78.2. Description
Sets a scratch variable to value, but at the end of the user session the Scratch key is deleted. This saves session write time in many cases.
This tag interpolates automatically. (Interpolation can be turned off with interpolate=0.)
IMPORTANT NOTE: the [tmp ...][/tmp] tag is not appropriate for setting order profiles or mv_click actions. If you want to avoid that, use a profile stored via the catalog.cfg directive OrderProfile.