start adding support for Models objects from Ezc
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user