Generates the correctly formatted friendly URL
Namespace: DotNetNuke.Common.InternalAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
string FriendlyUrl( TabInfo tab, string path, string pageName, PortalSettings settings ) |
Visual Basic |
---|
Function FriendlyUrl ( tab As TabInfo, path As String, pageName As String, settings As PortalSettings ) As String |
Parameters
- tab
- Type: DotNetNuke.Entities.Tabs..::..TabInfo
The current tab
- path
- Type: System..::..String
The path to format.
- pageName
- Type: System..::..String
The page to include in the URL.
- settings
- Type: DotNetNuke.Entities.Portals..::..PortalSettings
The portal settings
Return Value
The formatted (friendly) url
Remarks
This overload includes an optional page to include in the URL, and the portal
settings for the site