Show / Hide Table of Contents

Class TabsController

Inheritance
object
TabsController
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Dnn.PersonaBar.Library.Controllers
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public class TabsController

Constructors

TabsController()

Declaration
public TabsController()

Properties

LocalResourcesFile

Declaration
public string LocalResourcesFile { get; }
Property Value
Type Description
string

Methods

GetPortalTabs(UserInfo, int, string, bool, bool, string, bool, int, int, string, bool, bool, bool, bool)

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 = -1, string validateTab = "", bool includeHostPages = false, bool includeDisabled = false, bool includeDeleted = false, bool includeDeletedChildren = true)
Parameters
Type Name Description
UserInfo userInfo
int portalId
string cultureCode
bool isMultiLanguage
bool excludeAdminTabs
string roles
bool disabledNotSelectable
int sortOrder
int selectedTabId
string validateTab
bool includeHostPages
bool includeDisabled
bool includeDeleted
bool includeDeletedChildren
Returns
Type Description
TabDto

GetTabByCulture(int, int, string)

Declaration
public TabDto GetTabByCulture(int tabId, int portalId, string cultureCode)
Parameters
Type Name Description
int tabId
int portalId
string cultureCode
Returns
Type Description
TabDto

GetTabsDescendants(int, int, string, bool, string, bool, int, string, bool, bool, bool)

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
int portalId
int parentId
string cultureCode
bool isMultiLanguage
string roles
bool disabledNotSelectable
int sortOrder
string validateTab
bool includeHostPages
bool includeDisabled
bool includeDeletedChildren
Returns
Type Description
IEnumerable<TabDto>

SearchPortalTabs(UserInfo, string, int, string, bool, int, string, bool, bool, bool)

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
string searchText
int portalId
string roles
bool disabledNotSelectable
int sortOrder
string validateTab
bool includeHostPages
bool includeDisabled
bool includeDeleted
Returns
Type Description
TabDto

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS