webmcp

annotate framework/env/param/get_id_cgi.lua @ 110:0c4841af07a5

String truncating by counting Unicode codepoints in format.string(...)
(grapheme cluster boundary detection not implemented)
author jbe
date Sun Jan 12 03:57:47 2014 +0100 (2014-01-12)
parents 774a891dc74f
children
rev   line source
jbe/bsw@0 1 --[[--
jbe@91 2 value = -- id as string (or other type after if params.exchange(...) has been used), or nil
jbe/bsw@0 3 param.get_id_cgi()
jbe/bsw@0 4
jbe@92 5 Deprecated. Alias for request.get_id_string().
jbe/bsw@0 6
jbe/bsw@0 7 --]]--
jbe/bsw@0 8
jbe@91 9 -- TODO: Remove this function.
jbe@91 10
jbe/bsw@0 11 function param.get_id_cgi()
jbe@92 12 return request.get_id_string()
jbe/bsw@0 13 end

Impressum / About Us