This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:parameters:lowercase [2012/11/27 14:57] igor [Lowercase] |
en:public:developer:template_system:tags:parameters:lowercase [2013/01/28 17:29] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Lowercase ===== | + | ====== Lowercase ====== |
+ | |||
+ | Parameter "lowercase" means that content of variable (or result of function) will be converted | ||
+ | to lower case when output. Digits, non-alpha characters like dots, commas, hyphens | ||
+ | remain unchanged. | ||
+ | |||
+ | **NOTE:** By default the resulting content will be parsed (all <#..> tags will be evaluated) before to apply | ||
+ | this filter. You can control this behavior throught the parameter | ||
+ | [[en:public:developer:template_system:tags:parameters:AnalyzeTagParams]] | ||
- | Parameter "lowercase" means that content of variable (or result of function) will be converted to lower case when output. Digits, non-alpha characters like dots, commas, hyphens remain unchanged. | ||
==== Values ==== | ==== Values ==== | ||
^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
- | | <html><span style="color:#008000">true</span></html> | Means that value must be converted to lower case. If something else is specified then parameter "lowercase" is ignored. | | + | | <html><span style="color:#008000">1</span></html> | Means that value must be converted to lower case. If something else is specified then parameter "lowercase" is ignored. | |
==== Example ==== | ==== Example ==== | ||
- | <#Var name="ID" value="RT202"> | + | <#ID setValue="RT202"> |
- | ID of the property: <#ID lowercase="true"> | + | ID of the item: <#ID lowercase="1"> |
Output: | Output: | ||
- | ID of the property: rt202 | + | ID of the item: rt202 |