User Tools

Site Tools


en:public:developer:template_system:tags:parameters:hexencode

Differences

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

Link to this comparison view

en:public:developer:template_system:tags:parameters:hexencode [2012/11/27 14:57]
igor [Hexencode]
en:public:developer:template_system:tags:parameters:hexencode [2013/01/28 17:19] (current)
admin
Line 1: Line 1:
-===== Hexencode =====+====== Hexencode ======
  
-Parameter "hexencode" defines that the content of corresponding variable (or result of function) must be represented in the HEX-view. It means that each character will be changed with its own hexadecimal value. For example, character "b" will be changed with 62.+Parameter "hexencode" defines that the content of corresponding variable (or result of function)  
 +must be represented in the HEX-view. It means that each character will be changed with its own  
 +hexadecimal value. For example, character "b" will be changed with 62. 
 + 
 +**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 ==== 
 + 
 +^ Value                                                ^ Description ^        
 +| <html><span style="color:#008000">1</span></html>    | Means that value must be hex-encoded. | 
 +| <html><span style="color:#008000">0</span></html>    | Means that value must be hex-decoded. |
  
 ==== Example ==== ==== Example ====
  
-  <#Var name=&quot;TestVar&quotvalue="hello"> +<code&gt; 
-  <#TestVar hexencode="true">+  &lt;#TestVar setValue="hello"> 
 +  <#TestVar hexencode="1"
 +</code>
      
 ==== Output ==== ==== Output ====
  
 +<code>
   68656c6c6f   68656c6c6f
 +</code>  
en/public/developer/template_system/tags/parameters/hexencode.1354013847.txt.gz · Last modified: 2012/11/27 14:57 by igor