The RedirectionController type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RedirectionController | DotNetNuke.Services.Mobile.RedirectionController |
Methods
| Name | Description | |
|---|---|---|
| Delete |
delete a redirection.
| |
| DeleteRule |
delete a redirection's match rule.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAllRedirections |
get all redirections defined in system.
| |
| GetFullSiteUrl()()()() |
Get Url for the equivalent full site based on the current page of the mobile site
| |
| GetFullSiteUrl(Int32, Int32) |
Get Url for the equivalent full site based on the current page of the mobile site
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetMobileSiteUrl()()()() |
Get Url for the equivalent mobile site based on the current page of the full site
| |
| GetMobileSiteUrl(Int32, Int32) |
Get Url for the equivalent mobile site based on the current page of the full site
| |
| GetRedirectionById |
get a specific redirection by id.
| |
| GetRedirectionsByPortal |
get a redirection list for portal.
| |
| GetRedirectUrl(String) |
Get Redirection Url based on UserAgent.
| |
| GetRedirectUrl(String, Int32, Int32) |
Get Redirection Url based on Http Context and Portal Id.
| |
| GetRedirectUrlFromRule |
returns a target URL for the specific redirection
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsRedirectAllowedForTheSession |
Is Redirection Allowed for the session. Method analyzes the query string for special parameters to enable / disable redirects.
Cookie is created to temporarily store those parameters so that they remain available till the interactions are active.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PurgeInvalidRedirections |
Deletes all redirection rules that were set for pages that have been soft or hard deleted.
| |
| Save |
save a redirection. If redirection.Id equals Null.NullInteger(-1), that means need to add a new redirection;
otherwise will update the redirection by redirection.Id.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |