Class ModuleResultController
Search Result Controller for Module Crawler.
Inherited Members
Namespace: DotNetNuke.Services.Search.Controllers
Assembly: DotNetNuke.dll
Syntax
public class ModuleResultController : BaseResultController
Methods
| Improve this Doc View SourceGetDocUrl(SearchResult)
Return a Url that can be shown in search results.
Declaration
public override string GetDocUrl(SearchResult searchResult)
Parameters
Type | Name | Description |
---|---|---|
SearchResult | searchResult | Search Result. |
Returns
Type | Description |
---|---|
System.String | Url. |
Overrides
Remarks
The Query Strings in the Document (if present) should be appended while returning the Url.
HasViewPermission(SearchResult)
Does the user in the Context have View Permission on the Document.
Declaration
public override bool HasViewPermission(SearchResult searchResult)
Parameters
Type | Name | Description |
---|---|---|
SearchResult | searchResult | Search Result. |
Returns
Type | Description |
---|---|
System.Boolean | True or False. |