webmcp
annotate framework/env/request/get_id_string.lua @ 101:dd21d2e06a95
In case of WebMCP based URL path parsing: Allow id to also be set by "_webmcp_id" parameter
| author | jbe | 
|---|---|
| date | Mon Oct 15 17:44:30 2012 +0200 (2012-10-15) | 
| parents | 2f8d8edd1836 | 
| children | 25a20bd1f416 | 
| rev | line source | 
|---|---|
| jbe@91 | 1 --[[-- | 
| jbe@91 | 2 id_string = | 
| jbe@91 | 3 request.get_id_string() | 
| jbe@91 | 4 | 
| jbe@91 | 5 Returns the requested id for a view as a string (unprocessed). Use param.get_id(...) to get a processed version. | 
| jbe@91 | 6 | 
| jbe@91 | 7 --]]-- | 
| jbe@91 | 8 | 
| jbe@91 | 9 function request.get_id_string() | 
| jbe@91 | 10 return request._id | 
| jbe@91 | 11 end |