webmcp
diff framework/env/request/get_id_string.lua @ 91:2f8d8edd1836
URL parsing inside WebMCP to simplify webserver configuration
author | jbe |
---|---|
date | Wed Oct 10 17:41:46 2012 +0200 (2012-10-10) |
parents | |
children | 25a20bd1f416 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/framework/env/request/get_id_string.lua Wed Oct 10 17:41:46 2012 +0200 1.3 @@ -0,0 +1,11 @@ 1.4 +--[[-- 1.5 +id_string = 1.6 +request.get_id_string() 1.7 + 1.8 +Returns the requested id for a view as a string (unprocessed). Use param.get_id(...) to get a processed version. 1.9 + 1.10 +--]]-- 1.11 + 1.12 +function request.get_id_string() 1.13 + return request._id 1.14 +end