Ejemplo n.º 1
0
        public void LoadHtmlText()
        {
            if (ThePlugg == null || ThePlugg.PluggId == 0 || CultureCode == null)
            {
                throw new Exception("Cannot laod HtmlText. Need PluggId and CultureCode");
            }
            BaseRepository rep = new BaseRepository();

            TheHtmlText = rep.GetPhText(CultureCode, ThePlugg.PluggId, (int)ETextItemType.PluggHtml);
        }
Ejemplo n.º 2
0
        public void LoadTitle()
        {
            if (ThePlugg == null || ThePlugg.PluggId == 0 || CultureCode == null)
            {
                throw new Exception("Cannot load title. Need PluggId and CultureCode");
            }
            BaseRepository rep = new BaseRepository();

            TheTitle = rep.GetPhText(CultureCode, ThePlugg.PluggId, (int)ETextItemType.PluggTitle);
        }
Ejemplo n.º 3
0
 public void LoadTitle()
 {
     if (ThePlugg == null || ThePlugg.PluggId == 0 || CultureCode == null)
         throw new Exception("Cannot load title. Need PluggId and CultureCode");
     BaseRepository rep = new BaseRepository();
     TheTitle = rep.GetPhText(CultureCode, ThePlugg.PluggId, (int)ETextItemType.PluggTitle);
 }
Ejemplo n.º 4
0
 public void LoadHtmlText()
 {
     if (ThePlugg == null || ThePlugg.PluggId == 0 || CultureCode == null)
         throw new Exception("Cannot laod HtmlText. Need PluggId and CultureCode");
     BaseRepository rep = new BaseRepository();
     TheHtmlText = rep.GetPhText(CultureCode, ThePlugg.PluggId, (int)ETextItemType.PluggHtml);
 }