some ezc functions from templates/item.cpp moved to Item and ItemContent
methods HasAccess() HasReadAccess() and similar moved from System to Item and ItemContent
This commit is contained in:
@@ -55,7 +55,10 @@ Request::Request()
|
||||
|
||||
void Request::fields()
|
||||
{
|
||||
field(L"", L"dirs", dir_tab);
|
||||
field(L"dirs", dir_tab);
|
||||
field(L"is_item", is_item);
|
||||
|
||||
field(L"current_dir", &Request::current_dir);
|
||||
}
|
||||
|
||||
|
||||
@@ -362,6 +365,13 @@ const std::wstring & Request::ParamValue(const std::wstring & param_name)
|
||||
|
||||
|
||||
|
||||
void Request::current_dir(morm::ModelWrapper ** model_wrapper)
|
||||
{
|
||||
*model_wrapper = new morm::ModelWrapperModel(dir_tab.back());
|
||||
}
|
||||
|
||||
|
||||
|
||||
} // namespace Winix
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user