webmcp

diff framework/env/encode/view_file_path.lua @ 352:2b5bdf9028fb

Code cleanup and performance improvements regarding 404 check; Deprecated encode.action_file_path{...} and encode.view_file_path{...}
author jbe
date Thu Mar 26 16:40:04 2015 +0100 (2015-03-26)
parents 2cb27106aa73
children
line diff
     1.1 --- a/framework/env/encode/view_file_path.lua	Thu Mar 26 16:38:30 2015 +0100
     1.2 +++ b/framework/env/encode/view_file_path.lua	Thu Mar 26 16:40:04 2015 +0100
     1.3 @@ -7,8 +7,12 @@
     1.4  
     1.5  This function returns the file path of a view with a given module name and view name. Both module name and view name are mandatory arguments.
     1.6  
     1.7 +This function has been DEPRECATED and will be removed. To test whether a view exists, use execute.view{ test_existence=true, ... }.
     1.8 +
     1.9  --]]--
    1.10  
    1.11 +-- TODO: remove deprecated function
    1.12 +
    1.13  function encode.view_file_path(args)
    1.14    return (encode.file_path(
    1.15      WEBMCP_BASE_PATH, 'app', WEBMCP_APP_NAME, args.module, args.view .. '.lua'

Impressum / About Us