User Tools

Site Tools


en:public:developer:template_system:tags:parameters:uppercase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:public:developer:template_system:tags:parameters:uppercase [2012/11/26 16:24]
igor
en:public:developer:template_system:tags:parameters:uppercase [2013/01/28 17:31] (current)
admin
Line 1: Line 1:
-===== Uppercase =====+====== Uppercase ======
  
-Parameter "uppercase" means that the content of corresponding variable will be converted to upper space. This parameter will not touch digits and non-alpha characters. It is very similar to [[en:public:developer:template_system:tags:parameters:lowercase]]-parameter.+Parameter "uppercase" means that the content of corresponding variable  
 +(or result of function) will be converted to upper case 
 +This parameter will not touch digits and non-alpha characters. It is very similar  
 +to [[en:public:developer:template_system:tags:parameters:lowercase]] parameter.
  
 +**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]]
 ==== Values ==== ==== Values ====
 ^ Value                                                ^ Description ^        ^ Value                                                ^ Description ^       
-| <html><span style="color:#008000">true</span></html> | Means that value must be converted to upper case. If something else is specified then parameter "uppercase" is ignored. |+| <html><span style="color:#008000">1</span></html>    | Means that value must be converted to upper case. If something else is specified then parameter "uppercase" is ignored. |
  
 ==== Example ==== ==== Example ====
  
-  <#Var name="Passport" value="csb010200277"> +  <#FullName setValue="John Smith"> 
-  Correct passport number is <#Passport uppercase="true">.+  Full name is <#FullName uppercase="1">.
      
 Output: Output:
  
-  Correct passport number is CSB010200277.+  Full name is JOHN SMITH.
en/public/developer/template_system/tags/parameters/uppercase.1353932640.txt.gz · Last modified: 2012/11/26 16:24 by igor