User Tools

Site Tools


en:public:developer:template_system:tags:parameters:setvalue

setValue

This parameter permit to set a value to custom variables.

Assignment of variables in-template is essentially placing application logic into the presentation 
that may be better handled in PHP. Use at your own discretion. 

By default the content of the SetValue will be parsed (all <#..> tags will be evaluated). You can control this behavior throught the parameter AnalyzeTagParams

Example

<#First_Name setValue="Bob">
The value of "First_Name" is <#First_Name>

The above example will output:

The value of "First_Name" is Bob
en/public/developer/template_system/tags/parameters/setvalue.txt · Last modified: 2013/01/27 15:59 by admin