Wählen Sie Ihre Sprache:

<we:var type="request">

Since version: - | Requires endtag: no

Description

This tag is used to display the content of a request ("get" or "post") variable.

Attributes

type

Default value: - | since version: - | required: yes

Allowed values:

  • request

name

Default value: - | since version: - | required: yes

Set this attribute to the field name whose content is to be displayed.


htmlspecialchars

Default value: false | since version: - | required: no

Using htmlspecialchars="true" will change all special chars into HTML entities ("&" is transformed to "&"). If htmspecialchars is "false" or not set, all special chars remain unchanged.

Allowed values:

  • true
  • false

cachelifetime

Default value: 0 | since version: 4.2.0.0 | required: no

With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.


Syntax

<we:var type="request" name="attribute" [htmlspecialchars="true|false"] [cachelifetime="attribute"] />