C# 클래스 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.
상속: abstract_ResultsViewer
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
number_to_string ( int Number ) : string

메소드 상세

Add_HTML() 공개 메소드

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
리턴 void

Get_NoResults_Text() 공개 정적인 메소드

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
리턴 string

No_Results_ResultsViewer() 공개 메소드

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
리턴 System