Class TabsController
Inheritance
System.Object
TabsController
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public class TabsController : object
Properties
|
Improve this Doc
View Source
LocalResourcesFile
Declaration
public string LocalResourcesFile { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
GetPortalTabs(UserInfo, Int32, String, Boolean, Boolean, String, Boolean, Int32, Int32, String, Boolean, Boolean, Boolean, Boolean)
Declaration
public TabDto GetPortalTabs(UserInfo userInfo, int portalId, string cultureCode, bool isMultiLanguage, bool excludeAdminTabs = true, string roles = "", bool disabledNotSelectable = false, int sortOrder = 0, int selectedTabId = null, string validateTab = "", bool includeHostPages = false, bool includeDisabled = false, bool includeDeleted = false, bool includeDeletedChildren = true)
Parameters
Type |
Name |
Description |
UserInfo |
userInfo |
|
System.Int32 |
portalId |
|
System.String |
cultureCode |
|
System.Boolean |
isMultiLanguage |
|
System.Boolean |
excludeAdminTabs |
|
System.String |
roles |
|
System.Boolean |
disabledNotSelectable |
|
System.Int32 |
sortOrder |
|
System.Int32 |
selectedTabId |
|
System.String |
validateTab |
|
System.Boolean |
includeHostPages |
|
System.Boolean |
includeDisabled |
|
System.Boolean |
includeDeleted |
|
System.Boolean |
includeDeletedChildren |
|
Returns
|
Improve this Doc
View Source
GetTabByCulture(Int32, Int32, String)
Declaration
public TabDto GetTabByCulture(int tabId, int portalId, string cultureCode)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.Int32 |
portalId |
|
System.String |
cultureCode |
|
Returns
|
Improve this Doc
View Source
GetTabsDescendants(Int32, Int32, String, Boolean, String, Boolean, Int32, String, Boolean, Boolean, Boolean)
Declaration
public IEnumerable<TabDto> GetTabsDescendants(int portalId, int parentId, string cultureCode, bool isMultiLanguage, string roles = "", bool disabledNotSelectable = false, int sortOrder = 0, string validateTab = "", bool includeHostPages = false, bool includeDisabled = false, bool includeDeletedChildren = true)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
parentId |
|
System.String |
cultureCode |
|
System.Boolean |
isMultiLanguage |
|
System.String |
roles |
|
System.Boolean |
disabledNotSelectable |
|
System.Int32 |
sortOrder |
|
System.String |
validateTab |
|
System.Boolean |
includeHostPages |
|
System.Boolean |
includeDisabled |
|
System.Boolean |
includeDeletedChildren |
|
Returns
Type |
Description |
IEnumerable<TabDto> |
|
|
Improve this Doc
View Source
SearchPortalTabs(UserInfo, String, Int32, String, Boolean, Int32, String, Boolean, Boolean, Boolean)
Declaration
public TabDto SearchPortalTabs(UserInfo userInfo, string searchText, int portalId, string roles = "", bool disabledNotSelectable = false, int sortOrder = 0, string validateTab = "", bool includeHostPages = false, bool includeDisabled = false, bool includeDeleted = false)
Parameters
Type |
Name |
Description |
UserInfo |
userInfo |
|
System.String |
searchText |
|
System.Int32 |
portalId |
|
System.String |
roles |
|
System.Boolean |
disabledNotSelectable |
|
System.Int32 |
sortOrder |
|
System.String |
validateTab |
|
System.Boolean |
includeHostPages |
|
System.Boolean |
includeDisabled |
|
System.Boolean |
includeDeleted |
|
Returns
Extension Methods