jbe/bsw@0: --[[-- jbe/bsw@0: path = -- string containing a path to an action jbe/bsw@0: encode.action_file_path{ jbe/bsw@0: module = module, -- module name jbe/bsw@0: action = action -- action name jbe/bsw@0: } jbe/bsw@0: jbe/bsw@0: This function returns the file path of an action with a given module name and action name. Both module name and action name are mandatory arguments. jbe/bsw@0: jbe@352: This function has been DEPRECATED and will be removed. To test whether an action exists, use execute.action{ test_existence=true, ... }. jbe@352: jbe/bsw@0: --]]-- jbe/bsw@0: jbe@352: -- TODO: remove deprecated function jbe@352: jbe/bsw@0: function encode.action_file_path(args) jbe/bsw@0: return (encode.file_path( jbe@209: WEBMCP_BASE_PATH, jbe/bsw@0: 'app', jbe@209: WEBMCP_APP_NAME, jbe/bsw@0: args.module, jbe/bsw@0: '_action', jbe/bsw@0: args.action .. '.lua' jbe/bsw@0: )) jbe/bsw@0: end