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:
2021-06-18 19:18:13 +02:00
parent ebd791a256
commit ec94dff7d7
32 changed files with 1255 additions and 544 deletions

View File

@@ -47,6 +47,9 @@ namespace Winix
class User;
// Ezc::FunInfo<> will be renamed to Ezc::Env<> in the future
typedef Ezc::FunInfo<HtmlTextStream> EzcEnv;
namespace TemplatesFunctions
{
@@ -54,7 +57,7 @@ namespace TemplatesFunctions
typedef Ezc::Functions<HtmlTextStream> EzcFun;
typedef Ezc::Generator<HtmlTextStream> EzcGen;
typedef Ezc::FunInfo<HtmlTextStream> Info;
typedef Ezc::FunInfo<HtmlTextStream> Info; // deprecated
template<class RawType>
HtmlTextStream::RawText<RawType> R(const RawType & par)