This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:parameters:base64encode [2013/01/26 21:51] admin |
en:public:developer:template_system:tags:parameters:base64encode [2013/01/28 16:50] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Base64Encode ===== | + | ====== Base64Encode ====== |
- | Parameter "base64encode" means that corresponding content (variable or result of function) will be converted to base64. Base64 — is a way to encode the data with using of ASCII-characters like A-Z, a-z, 0-9 and some special characters like "+" and "/". | + | Parameter "base64encode" means that corresponding content (variable or result of function) will be |
+ | converted to base64. Base64 is a way to encode the data with using of ASCII-characters like A-Z, a-z, 0-9 | ||
+ | and some special characters like "+" and "/". | ||
- | It can be useful to encode binary data or some param to send it somewhere (for example, to add some data in URL). | + | It can be useful to encode binary data or some param to send it somewhere (for example, to add some |
+ | data in URL). | ||
+ | |||
+ | **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">1</span></html> | Means that value must be base64-encoded. If something else is specified parameter "base64encode" will be ignored. | | + | | <html><span style="color:#008000">1</span></html> | Means that value must be base64-encoded.| |
+ | | <html><span style="color:#008000">0</span></html> | Means that value must be base64-decoded.| | ||
==== Example ==== | ==== Example ==== |