webmcp

view framework/env/request/get_id_string.lua @ 255:9e4be058959d

New functions request.add_initializer(...) and request.add_variable(...) to allow per-request initialization; Merged request.process() with request.handler(...)
author jbe
date Sat Mar 14 23:39:47 2015 +0100 (2015-03-14)
parents 25a20bd1f416
children
line source
1 --[[--
2 id_string =
3 request.get_id_string()
5 Returns the requested id for a view as a string (unprocessed). Use param.get_id(...) to get a processed version.
7 --]]--
9 function request.get_id_string()
10 return request._route.id
11 end

Impressum / About Us