private void BuildPortalSettings(int tabId, PortalInfo portal) { PortalSettingsController.Instance().LoadPortalSettings(this); if (portal == null) { return; } PortalSettingsController.Instance().LoadPortal(portal, this); var key = string.Join(":", "ActiveTab", portal.PortalID.ToString(), tabId.ToString()); var items = HttpContext.Current != null ? HttpContext.Current.Items : null; if (items != null && items.Contains(key)) { ActiveTab = items[key] as TabInfo; } else { ActiveTab = PortalSettingsController.Instance().GetActiveTab(tabId, this); if (items != null && ActiveTab != null) { items[key] = ActiveTab; } } }
private void BuildPortalSettings(int tabId, PortalInfo portal) { PortalSettingsController.Instance().LoadPortalSettings(this); if (portal == null) { return; } PortalSettingsController.Instance().LoadPortal(portal, this); ActiveTab = PortalSettingsController.Instance().GetActiveTab(tabId, this); }
public static PortalAliasMapping GetPortalAliasMappingMode(int portalId) { return(PortalSettingsController.Instance().GetPortalAliasMappingMode(portalId)); }