C# Class SobekCM.Library.ResultsViewer.Bookshelf_View_ResultsViewer

Results viewer shows the titles/items in bookshelf view with the action links to the left to remove an item from the bookshelf, edit a user note, and view the item. The view also includes any current user notes below the title
This class extends the abstract class abstract_ResultsViewer and implements the iResultsViewer interface.
Inheritance: abstract_ResultsViewer
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method 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

Bookshelf_View_ResultsViewer ( RequestCache RequestSpecificValues, SobekCM.Core.Results.Search_Results_Statistics ResultsStats, List PagedResults ) : System

Constructor for a new instance of the Bookshelf_View_ResultsViewer class

Private Methods

Method Description
Write_Single_Row ( StringBuilder resultsBldr, iSearch_Title_Result titleRow, int index_in_page, string textRedirectStem, string base_url, bool internal_user ) : void

Method Details

Add_HTML() public method

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
return void

Bookshelf_View_ResultsViewer() public method

Constructor for a new instance of the Bookshelf_View_ResultsViewer class
public Bookshelf_View_ResultsViewer ( RequestCache RequestSpecificValues, SobekCM.Core.Results.Search_Results_Statistics ResultsStats, List PagedResults ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
ResultsStats SobekCM.Core.Results.Search_Results_Statistics Statistics about the results to display including the facets
PagedResults List Actual pages of results
return System