C# Класс DotNetNuke.Modules.SearchResults.UKSearchResults

The SearchResults Class provides the UI for displaying the Search Results
Наследование: DotNetNuke.Entities.Modules.PortalModuleBase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
TotalPages int
TotalRecords int

Открытые методы

Метод Описание
shortenDescription ( string inDesc ) : string
testImageString ( string inputURL ) : string

Защищенные методы

Метод Описание
FormatDate ( System.DateTime pubDate ) : string

FormatDate displays the publication Date

FormatRelevance ( int relevance ) : string

FormatRelevance displays the relevance value

FormatURL ( int TabID, string Link ) : string

FormatURL the correctly formatted url to the Search Result

OnLoad ( EventArgs e ) : void

Page_Load runs when the control is loaded

ShowDescription ( ) : string

ShowDescription determines whether the description should be shown

changeResultSummary ( int pageNum, int pageSize, int count, string searchTerm ) : void
ctlPagingControl_PageChanged ( object sender, EventArgs e ) : void

Приватные методы

Метод Описание
BindData ( ) : void

BindData binds the Search Results to the Grid

BindSearchResults ( DataTable dt ) : int
dgResults_PageIndexChanged ( object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e ) : void

dgResults_PageIndexChanged runs when one of the Page buttons is clicked

Описание методов

FormatDate() защищенный Метод

FormatDate displays the publication Date
protected FormatDate ( System.DateTime pubDate ) : string
pubDate System.DateTime The publication Date
Результат string

FormatRelevance() защищенный Метод

FormatRelevance displays the relevance value
protected FormatRelevance ( int relevance ) : string
relevance int The publication Date
Результат string

FormatURL() защищенный Метод

FormatURL the correctly formatted url to the Search Result
protected FormatURL ( int TabID, string Link ) : string
TabID int The Id of the Tab where the content is located
Link string The module provided querystring to access the correct content
Результат string

OnLoad() защищенный Метод

Page_Load runs when the control is loaded
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Результат void

ShowDescription() защищенный Метод

ShowDescription determines whether the description should be shown
protected ShowDescription ( ) : string
Результат string

changeResultSummary() защищенный Метод

protected changeResultSummary ( int pageNum, int pageSize, int count, string searchTerm ) : void
pageNum int
pageSize int
count int
searchTerm string
Результат void

ctlPagingControl_PageChanged() защищенный Метод

protected ctlPagingControl_PageChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

shortenDescription() публичный Метод

public shortenDescription ( string inDesc ) : string
inDesc string
Результат string

testImageString() публичный Метод

public testImageString ( string inputURL ) : string
inputURL string
Результат string

Описание свойств

TotalPages защищенное свойство

protected int TotalPages
Результат int

TotalRecords защищенное свойство

protected int TotalRecords
Результат int