Interface ITabController
Assembly: DotNetNuke.dll
Syntax
public interface ITabController
Methods
AddMissingLanguages(int, int)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.11.1. Use AddMissingLanguagesWithWarnings. Scheduled removal in v11.0.0.")]
void AddMissingLanguages(int portalId, int tabId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
tabId |
|
AddMissingLanguagesWithWarnings(int, int)
Declaration
bool AddMissingLanguagesWithWarnings(int portalId, int tabId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
tabId |
|
Returns
AddTab(TabInfo)
Declaration
Parameters
Returns
AddTab(TabInfo, bool)
Declaration
int AddTab(TabInfo tab, bool includeAllTabsModules)
Parameters
Type |
Name |
Description |
TabInfo |
tab |
|
bool |
includeAllTabsModules |
|
Returns
AddTabAfter(TabInfo, int)
Declaration
int AddTabAfter(TabInfo tab, int afterTabId)
Parameters
Returns
AddTabBefore(TabInfo, int)
Declaration
int AddTabBefore(TabInfo objTab, int beforeTabId)
Parameters
Type |
Name |
Description |
TabInfo |
objTab |
|
int |
beforeTabId |
|
Returns
ClearCache(int)
Declaration
void ClearCache(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
ConvertTabToNeutralLanguage(int, int, string, bool)
Declaration
void ConvertTabToNeutralLanguage(int portalId, int tabId, string cultureCode, bool clearCache)
Parameters
CreateContentItem(TabInfo)
Declaration
void CreateContentItem(TabInfo tab)
Parameters
CreateLocalizedCopies(TabInfo)
Declaration
void CreateLocalizedCopies(TabInfo originalTab)
Parameters
Type |
Name |
Description |
TabInfo |
originalTab |
|
CreateLocalizedCopy(TabInfo, Locale, bool)
Declaration
void CreateLocalizedCopy(TabInfo originalTab, Locale locale, bool clearCache)
Parameters
DeleteTab(int, int)
Declaration
void DeleteTab(int tabId, int portalId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
portalId |
|
DeleteTab(int, int, bool)
Declaration
void DeleteTab(int tabId, int portalId, bool deleteDescendants)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
portalId |
|
bool |
deleteDescendants |
|
DeleteTabSetting(int, string)
Declaration
void DeleteTabSetting(int tabId, string settingName)
Parameters
Type |
Name |
Description |
int |
tabId |
|
string |
settingName |
|
DeleteTabSettings(int)
Declaration
void DeleteTabSettings(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
DeleteTabUrl(TabUrlInfo, int, bool)
Declaration
void DeleteTabUrl(TabUrlInfo tabUrl, int portalId, bool clearCache)
Parameters
DeleteTranslatedTabs(int, string, bool)
Declaration
bool DeleteTranslatedTabs(int portalId, string cultureCode, bool clearCache)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
cultureCode |
|
bool |
clearCache |
|
Returns
EnsureNeutralLanguage(int, string, bool)
Declaration
void EnsureNeutralLanguage(int portalId, string cultureCode, bool clearCache)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
cultureCode |
|
bool |
clearCache |
|
GetAliasSkins(int, int)
Declaration
List<TabAliasSkinInfo> GetAliasSkins(int tabId, int portalId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
portalId |
|
Returns
GetCustomAliases(int, int)
Declaration
Dictionary<string, string> GetCustomAliases(int tabId, int portalId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
portalId |
|
Returns
GetTab(int, int)
Declaration
TabInfo GetTab(int tabId, int portalId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
portalId |
|
Returns
GetTab(int, int, bool)
Declaration
TabInfo GetTab(int tabId, int portalId, bool ignoreCache)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
portalId |
|
bool |
ignoreCache |
|
Returns
GetTabByCulture(int, int, Locale)
Declaration
TabInfo GetTabByCulture(int tabId, int portalId, Locale locale)
Parameters
Returns
GetTabByName(string, int)
Declaration
TabInfo GetTabByName(string tabName, int portalId)
Parameters
Type |
Name |
Description |
string |
tabName |
|
int |
portalId |
|
Returns
GetTabByName(string, int, int)
Declaration
TabInfo GetTabByName(string tabName, int portalId, int parentId)
Parameters
Type |
Name |
Description |
string |
tabName |
|
int |
portalId |
|
int |
parentId |
|
Returns
GetTabSettings(int)
Declaration
Hashtable GetTabSettings(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
GetTabUrls(int, int)
Declaration
List<TabUrlInfo> GetTabUrls(int tabId, int portalId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
portalId |
|
Returns
GetTabsByModuleID(int)
Declaration
IDictionary<int, TabInfo> GetTabsByModuleID(int moduleID)
Parameters
Type |
Name |
Description |
int |
moduleID |
|
Returns
GetTabsByPackageID(int, int, bool)
Declaration
IDictionary<int, TabInfo> GetTabsByPackageID(int portalID, int packageID, bool forHost)
Parameters
Type |
Name |
Description |
int |
portalID |
|
int |
packageID |
|
bool |
forHost |
|
Returns
GetTabsByPortal(int)
Declaration
TabCollection GetTabsByPortal(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
GetTabsByTabModuleID(int)
Declaration
IDictionary<int, TabInfo> GetTabsByTabModuleID(int tabModuleId)
Parameters
Type |
Name |
Description |
int |
tabModuleId |
|
Returns
GetUserTabsByPortal(int)
Declaration
TabCollection GetUserTabsByPortal(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
GiveTranslatorRoleEditRights(TabInfo, Dictionary<int, UserInfo>)
Declaration
void GiveTranslatorRoleEditRights(TabInfo localizedTab, Dictionary<int, UserInfo> users)
Parameters
HasMissingLanguages(int, int)
Declaration
bool HasMissingLanguages(int portalId, int tabId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
tabId |
|
Returns
IsHostOrAdminPage(TabInfo)
Declaration
bool IsHostOrAdminPage(TabInfo tab)
Parameters
Returns
IsTabPublished(TabInfo)
Declaration
bool IsTabPublished(TabInfo publishTab)
Parameters
Type |
Name |
Description |
TabInfo |
publishTab |
|
Returns
LocalizeTab(TabInfo, Locale)
Declaration
void LocalizeTab(TabInfo originalTab, Locale locale)
Parameters
LocalizeTab(TabInfo, Locale, bool)
Declaration
void LocalizeTab(TabInfo originalTab, Locale locale, bool clearCache)
Parameters
MarkAsPublished(TabInfo)
Declaration
void MarkAsPublished(TabInfo tab)
Parameters
MoveTabAfter(TabInfo, int)
Declaration
void MoveTabAfter(TabInfo tab, int afterTabId)
Parameters
MoveTabBefore(TabInfo, int)
Declaration
void MoveTabBefore(TabInfo tab, int beforeTabId)
Parameters
MoveTabToParent(TabInfo, int)
Declaration
void MoveTabToParent(TabInfo tab, int parentId)
Parameters
PopulateBreadCrumbs(ref TabInfo)
Declaration
void PopulateBreadCrumbs(ref TabInfo tab)
Parameters
PopulateBreadCrumbs(int, ref ArrayList, int)
Declaration
void PopulateBreadCrumbs(int portalID, ref ArrayList breadCrumbs, int tabID)
Parameters
PublishTab(TabInfo)
Declaration
void PublishTab(TabInfo publishTab)
Parameters
Type |
Name |
Description |
TabInfo |
publishTab |
|
PublishTabs(List<TabInfo>)
Declaration
void PublishTabs(List<TabInfo> tabs)
Parameters
RefreshCache(int, int)
Declaration
void RefreshCache(int portalId, int tabId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
tabId |
|
RestoreTab(TabInfo, PortalSettings)
Declaration
void RestoreTab(TabInfo tab, PortalSettings portalSettings)
Parameters
SaveTabUrl(TabUrlInfo, int, bool)
Declaration
void SaveTabUrl(TabUrlInfo tabUrl, int portalId, bool clearCache)
Parameters
SoftDeleteTab(int, PortalSettings)
Declaration
bool SoftDeleteTab(int tabId, PortalSettings portalSettings)
Parameters
Returns
UpdateTab(TabInfo)
Declaration
void UpdateTab(TabInfo updatedTab)
Parameters
Type |
Name |
Description |
TabInfo |
updatedTab |
|
UpdateTabSetting(int, string, string)
Declaration
void UpdateTabSetting(int tabId, string settingName, string settingValue)
Parameters
UpdateTranslationStatus(TabInfo, bool)
Declaration
void UpdateTranslationStatus(TabInfo localizedTab, bool isTranslated)
Parameters
Type |
Name |
Description |
TabInfo |
localizedTab |
|
bool |
isTranslated |
|
Extension Methods