renamed: WinixModel -> WinixModelDeprecated (this class will be removed)
added: WinixModel (models/winixmodel.h|cpp) - a class inheriting from morm::WinixModel, we have methods such as: get_config(), get_logger(), get_request()
and this class will be a base class for our models
added: WinixModelConnector (models/winixmodelconnector.h|cpp) - a class inheriting from morm::WinixModelConnector
this connector we are using instead of morm::ModelConnector - there are pointers to winix objects there (config, request, log)
added to Request: Ezc::Models models
removed from TemplatesFunctions: Ezc::Models ezc_models;
changed: ImgCrop winix functions is using its own item_tab vector now (not finished yet)
added: Item::is(), Item::link(), ItemContent::print_content()
This commit is contained in:
@@ -48,7 +48,6 @@ 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)
|
||||
@@ -93,7 +92,7 @@ int was_enter = 0; // how many enteres there were before
|
||||
|
||||
|
||||
|
||||
void InitGenerator(EzcGen & gen)
|
||||
void InitGenerator(EzcGen & gen, Ezc::Models & ezc_models)
|
||||
{
|
||||
gen.TrimWhite(gen_trim_white);
|
||||
gen.SkipNewLine(gen_skip_new_line);
|
||||
|
||||
Reference in New Issue
Block a user