C# Class DotNetNuke.Modules.SearchResults.MySearchResults

The SearchResults Class provides the UI for displaying the Search Results
Inheritance: DotNetNuke.Entities.Modules.PortalModuleBase
Afficher le fichier Open project: AgapeEurope/AgapeConnect1

Protected Properties

Свойство Type Description
TotalPages int
TotalRecords int

Méthodes protégées

Méthode Description
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

ctlPagingControl_PageChanged ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
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

Method Details

FormatDate() protected méthode

FormatDate displays the publication Date
protected FormatDate ( System.DateTime pubDate ) : string
pubDate System.DateTime The publication Date
Résultat string

FormatRelevance() protected méthode

FormatRelevance displays the relevance value
protected FormatRelevance ( int relevance ) : string
relevance int The publication Date
Résultat string

FormatURL() protected méthode

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
Résultat string

OnLoad() protected méthode

Page_Load runs when the control is loaded
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

ShowDescription() protected méthode

ShowDescription determines whether the description should be shown
protected ShowDescription ( ) : string
Résultat string

ctlPagingControl_PageChanged() protected méthode

protected ctlPagingControl_PageChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

TotalPages protected_oe property

protected int TotalPages
Résultat int

TotalRecords protected_oe property

protected int TotalRecords
Résultat int