C# Class SobekCM.Library.ResultsViewer.No_Results_ResultsViewer

Results viewer displays the message (and links) in the case the result set is empty.
This class extends the abstract class abstract_ResultsViewer and implements the iResultsViewer interface.
Inheritance: abstract_ResultsViewer
Afficher le fichier Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Méthodes publiques

Méthode Description
Add_HTML ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Adds the controls for this result viewer to the place holder on the main form

Get_NoResults_Text ( ) : string

Gets the no results text to display, from the HTML static page or uses the default

This is public (I think) so it can be pulled directly from here for the configuration display. This should probably move into a configuration file or engine endpoint though.

No_Results_ResultsViewer ( RequestCache RequestSpecificValues, Search_Results_Statistics ResultsStats, List PagedResults ) : System

Constructor for a new instance of the No_Results_ResultsViewer class

Private Methods

Méthode Description
number_to_string ( int Number ) : string

Method Details

Add_HTML() public méthode

Adds the controls for this result viewer to the place holder on the main form
public Add_HTML ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder System.Web.UI.WebControls.PlaceHolder Main place holder ( "mainPlaceHolder" ) in the itemNavForm form into which the the bulk of the result viewer's output is displayed
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Résultat void

Get_NoResults_Text() public static méthode

Gets the no results text to display, from the HTML static page or uses the default
This is public (I think) so it can be pulled directly from here for the configuration display. This should probably move into a configuration file or engine endpoint though.
public static Get_NoResults_Text ( ) : string
Résultat string

No_Results_ResultsViewer() public méthode

Constructor for a new instance of the No_Results_ResultsViewer class
public No_Results_ResultsViewer ( RequestCache RequestSpecificValues, Search_Results_Statistics ResultsStats, List PagedResults ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
ResultsStats Search_Results_Statistics Statistics about the results to display including the facets
PagedResults List Actual pages of results
Résultat System