コード例 #1
0
ファイル: CMSMenuUtils.cs プロジェクト: femiosinowo/sssadl
 public void Fill()
 {
     //if ((this.menu_id_val == null) || (this.targetid_val == null) || (this.targettype_val == null))
     //{
     //    Exception ex = new Exception(this.GetType().ToString() + ": Menu_id or targettype or targetid is null.");
     //    ex.Source = ExceptionSource;
     //    throw (ex);
     //}
     //else
     //{
     Ektron.Cms.Controls.Menu motemp = new Ektron.Cms.Controls.Menu();
     motemp.CacheInterval = 60;
     motemp.DefaultMenuID = this.menu_id_val.val;
     motemp.Fill();
     this.CommonConstructor(motemp, this.targettype_val, this.targetid_val);
     //}
 }
コード例 #2
0
ファイル: CMSMenuUtils.cs プロジェクト: femiosinowo/sssadl
            public NStateMenu(CMSIDTypes.menu_id menu_id, ref EkEnumeration.CMSMenuItemType targettype, ref CMSIDTypes.menuitem_id targetid)
            {
                ExceptionSource = this.GetType().ToString();

                Ektron.Cms.Controls.Menu motemp = new Ektron.Cms.Controls.Menu();
                motemp.CacheInterval = 60;
                motemp.DefaultMenuID = menu_id.val;
                motemp.Fill();
                CommonConstructor(motemp, targettype, targetid);
            }