Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

ezhttp_hasvariable template operator

The ezhttp_hasvariable template operator: 2 parameter(s), registered by eZURLOperator.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/template-operators/ezhttp_hasvariable.md

On this page

The ezhttp_hasvariable template operator

Registered in kernel/common/eztemplateautoload.php by the class eZURLOperator (kernel/common/ezurloperator.php). The same class also registers: ezurl, ezroot, ezdesign, ezimage, exturl, ezsys, ezhttp, ezini, ezini_hasvariable.

Parameters

ParameterTypeRequiredDefault
quote_valstringno'double'
server_urlstringno'relative'

Example

Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).

{$value|ezhttp_hasvariable( 'double', 'relative' )}

In a shipped template

The first use in the templates of this installation, design/standard/templates/content/edit_redirection.tpl line 2:

{if ezhttp_hasvariable( 'RedirectURIAfterPublish', 'session' )}

Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, kernel/common/ezurloperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x