start adding support for Models objects from Ezc

This commit is contained in:
2021-05-31 18:59:20 +02:00
parent 22de3322ae
commit 6e4f8f5191
9 changed files with 62 additions and 3 deletions

View File

@@ -48,6 +48,7 @@ namespace TemplatesFunctions
extern EzcFun ezc_functions;
extern Ezc::Blocks ezc_blocks;
extern Ezc::Vars ezc_vars;
extern Ezc::Models ezc_models;
void HtmlEscapeFormTxt(HtmlTextStream & out, const std::wstring & in)
@@ -108,6 +109,8 @@ void InitGenerator(EzcGen & gen)
gen.SetBlocks(ezc_blocks);
gen.SetFunctions(ezc_functions);
gen.SetVariables(ezc_vars);
gen.SetModels(ezc_models);
}