This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:parameters:checksum [2013/01/27 17:18] admin |
en:public:developer:template_system:tags:parameters:checksum [2013/01/28 16:52] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== CheckSum ===== | + | ====== CheckSum ====== |
Parameter "checksum" permit to retrieve the CRC checksum (a numeric code) | Parameter "checksum" permit to retrieve the CRC checksum (a numeric code) | ||
- | of the returning value | + | of the returning value. Empty String ('') return 0 but it's not the case for Null Value. |
**NOTE:** By default the resulting content will be parsed (all <#..> tags will be evaluated) before to apply | **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 | this filter. You can control this behavior throught the parameter | ||
[[en:public:developer:template_system:tags:parameters:AnalyzeTagParams]] | [[en:public:developer:template_system:tags:parameters:AnalyzeTagParams]] | ||
+ | |||
+ | ==== Values ==== | ||
+ | |||
+ | ^ Value ^ Description ^ | ||
+ | | <html><span style="color:#008000">1</span></html> | Means that CheckSum must be calculated | | ||
+ | |||
==== Example ==== | ==== Example ==== | ||
+ | |||
+ | <code> | ||
<#TestVar setValue="hello"> | <#TestVar setValue="hello"> | ||
<#TestVar checksum="1"> | <#TestVar checksum="1"> | ||
- | ==== Output ==== | + | </code> |
+ | |||
+ | will output | ||
+ | <code> | ||
68623423 | 68623423 | ||
+ | </code> |