Class FriendlyUrlController
Inheritance
FriendlyUrlController
Assembly: DotNetNuke.dll
Syntax
public class FriendlyUrlController
Constructors
FriendlyUrlController()
Declaration
public FriendlyUrlController()
Methods
CleanNameForUrl(string, FriendlyUrlOptions, out bool)
Declaration
public static string CleanNameForUrl(string urlName, FriendlyUrlOptions options, out bool replacedUnwantedChars)
Parameters
Returns
EnsureLeadingChar(string, string)
Declaration
public static string EnsureLeadingChar(string leading, string path)
Parameters
Returns
EnsureNotLeadingChar(string, string)
Declaration
public static string EnsureNotLeadingChar(string leading, string path)
Parameters
Returns
GetBrowserType(HttpRequest, HttpResponse, FriendlyUrlSettings)
Declaration
public static BrowserTypes GetBrowserType(HttpRequest request, HttpResponse response, FriendlyUrlSettings settings)
Parameters
Returns
GetCurrentSettings(int)
Declaration
public static FriendlyUrlSettings GetCurrentSettings(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
GetCustomAliasesForTabs()
Declaration
public static List<string> GetCustomAliasesForTabs()
Returns
GetTab(int, bool)
Declaration
public static TabInfo GetTab(int tabId, bool addStdUrls)
Parameters
Type |
Name |
Description |
int |
tabId |
|
bool |
addStdUrls |
|
Returns
GetTab(int, bool, PortalSettings, FriendlyUrlSettings)
Declaration
public static TabInfo GetTab(int tabId, bool addStdUrls, PortalSettings portalSettings, FriendlyUrlSettings settings)
Parameters
Returns
GetTabs(int, bool)
Declaration
public static Dictionary<int, TabInfo> GetTabs(int portalId, bool includeStdUrls)
Parameters
Type |
Name |
Description |
int |
portalId |
|
bool |
includeStdUrls |
|
Returns
GetTabs(int, bool, PortalSettings, FriendlyUrlSettings)
Declaration
public static Dictionary<int, TabInfo> GetTabs(int portalId, bool includeStdUrls, PortalSettings portalSettings, FriendlyUrlSettings settings)
Parameters
Returns
GetTabs(int, bool, FriendlyUrlSettings)
Declaration
public static Dictionary<int, TabInfo> GetTabs(int portalId, bool includeStdUrls, FriendlyUrlSettings settings)
Parameters
Returns
ValidateUrl(string, int, PortalSettings, out bool)
Declaration
public static string ValidateUrl(string cleanUrl, int validateUrlForTabId, PortalSettings settings, out bool modified)
Parameters
Returns
Extension Methods