Class FriendlyUrlController
Inheritance
System.Object
FriendlyUrlController
Assembly: DotNetNuke.dll
Syntax
public class FriendlyUrlController : object
Methods
|
Improve this Doc
View Source
CleanNameForUrl(String, FriendlyUrlOptions, out Boolean)
Declaration
public static string CleanNameForUrl(string urlName, FriendlyUrlOptions options, out bool replacedUnwantedChars)
Parameters
Type |
Name |
Description |
System.String |
urlName |
|
FriendlyUrlOptions |
options |
|
System.Boolean |
replacedUnwantedChars |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
EnsureLeadingChar(String, String)
Ensures that the path starts with the leading character.
Declaration
public static string EnsureLeadingChar(string leading, string path)
Parameters
Type |
Name |
Description |
System.String |
leading |
|
System.String |
path |
|
Returns
Type |
Description |
System.String |
The path with leading at the start.
|
|
Improve this Doc
View Source
EnsureNotLeadingChar(String, String)
Declaration
public static string EnsureNotLeadingChar(string leading, string path)
Parameters
Type |
Name |
Description |
System.String |
leading |
|
System.String |
path |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetBrowserType(HttpRequest, HttpResponse, FriendlyUrlSettings)
Declaration
public static BrowserTypes GetBrowserType(HttpRequest request, HttpResponse response, FriendlyUrlSettings settings)
Parameters
Returns
|
Improve this Doc
View Source
GetCurrentSettings(Int32)
Declaration
public static FriendlyUrlSettings GetCurrentSettings(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Returns
|
Improve this Doc
View Source
GetCustomAliasesForTabs()
Returns a list of http alias values where that alias is associated with a tab as a custom alias.
Declaration
public static List<string> GetCustomAliasesForTabs()
Returns
Type |
Description |
List<System.String> |
A of alias strings.
|
|
Improve this Doc
View Source
GetTab(Int32, Boolean, PortalSettings, FriendlyUrlSettings)
Declaration
public static TabInfo GetTab(int tabId, bool addStdUrls, PortalSettings portalSettings, FriendlyUrlSettings settings)
Parameters
Returns
|
Improve this Doc
View Source
GetTab(Int32, Boolean)
Declaration
public static TabInfo GetTab(int tabId, bool addStdUrls)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.Boolean |
addStdUrls |
|
Returns
|
Improve this Doc
View Source
GetTabs(Int32, Boolean, PortalSettings, FriendlyUrlSettings)
Declaration
public static Dictionary<int, TabInfo> GetTabs(int portalId, bool includeStdUrls, PortalSettings portalSettings, FriendlyUrlSettings settings)
Parameters
Returns
Type |
Description |
Dictionary<System.Int32, TabInfo> |
|
|
Improve this Doc
View Source
GetTabs(Int32, Boolean, FriendlyUrlSettings)
Declaration
public static Dictionary<int, TabInfo> GetTabs(int portalId, bool includeStdUrls, FriendlyUrlSettings settings)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Boolean |
includeStdUrls |
|
FriendlyUrlSettings |
settings |
|
Returns
Type |
Description |
Dictionary<System.Int32, TabInfo> |
|
|
Improve this Doc
View Source
GetTabs(Int32, Boolean)
Declaration
public static Dictionary<int, TabInfo> GetTabs(int portalId, bool includeStdUrls)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Boolean |
includeStdUrls |
|
Returns
Type |
Description |
Dictionary<System.Int32, TabInfo> |
|
|
Improve this Doc
View Source
ValidateUrl(String, Int32, PortalSettings, out Boolean)
Declaration
public static string ValidateUrl(string cleanUrl, int validateUrlForTabId, PortalSettings settings, out bool modified)
Parameters
Type |
Name |
Description |
System.String |
cleanUrl |
|
System.Int32 |
validateUrlForTabId |
|
PortalSettings |
settings |
|
System.Boolean |
modified |
|
Returns
Type |
Description |
System.String |
|
Extension Methods