Пример #1
0
        public void SetConfigVariable(String varName, VariableType varType, String varValue)
        {
            MFormConfigVariable v = new MFormConfigVariable(new CTable(""));

            v.VariableName       = varName;
            v.VariableType       = varType.ToString();
            v.VariableValue      = varValue;
            v.SystemVariableFlag = "Y";
            v.Scope = "ALL";

            defaultVars.Add(v);
        }
Пример #2
0
 public void OverrideConfigVariable(MFormConfigVariable v)
 {
     overrideConfigItem(languageVarHash, v, "VariableName", "Variables");
 }
Пример #3
0
 public void RemoveConfigVariable(MFormConfigVariable v)
 {
     removeConfigItem(languageVarHash, v, "Variables");
 }
Пример #4
0
        public Boolean IsVariableExist(MFormConfigVariable v)
        {
            Boolean result = isItemExist(Variables, v, "VariableName");

            return(result);
        }
Пример #5
0
 public void AddConfigVariable(MFormConfigVariable v)
 {
     v.Scope = Language;
     addConfigItem(languageVarHash, v, "Variables");
 }