public RecordPageLock ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : bool | ||
rootContentID | System.Guid | |
siteID | System.Guid | |
currentUserID | System.Guid | |
리턴 | bool |
public void Load() { this.TheSite = SiteData.CurrentSite; if (SecurityData.AdvancedEditMode && !this.IsPageLocked) { using (ContentPageHelper pageHelper = new ContentPageHelper()) { bool bRet = pageHelper.RecordPageLock(this.ThePage.Root_ContentID, this.TheSite.SiteID, SecurityData.CurrentUserGuid); } } CMSConfigHelper.IdentifyLinkAsInactive(this.ThePage); Guid guidContentID = Guid.Empty; if (this.ThePage != null) { guidContentID = this.ThePage.Root_ContentID; this.TheWidgets = SiteData.GetCurrentPageWidgets(guidContentID); } else { this.ThePage = new ContentPage(); this.TheWidgets = new List<Widget>(); } }