ezhttp( name [, type ] )
Name | Type | Description | Required |
---|---|---|---|
name | string | The HTTP variable that should be fetched. | Yes. |
type | string | Source of variable. Default is is HTTP POST. | No. |
This operator makes it possible to inspect the contents of HTTP variables (POST, GET or session variables). The "type" parameter can be used to specify which type of variable that should be extracted. The following options are available:
{ezhttp( 'search' )}
Returns the "search" POST variable.
{ezhttp( 'image', 'get' )}
Returns the "image" GET variable.
{ezhttp( 'user_id', 'session' )}
Returns the "user_id" session variable.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.