C# Class SobekCM.Library.HTML.Public_Folder_HtmlSubwriter

Public folder html subwriter renders a browse of a public bookshelf folder
This class extends the abstractHtmlSubwriter abstract class.
Inheritance: abstractHtmlSubwriter
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_Controls ( System.Web.UI.WebControls.PlaceHolder placeHolder, Custom_Tracer Tracer, TreeNodeEventHandler populate_node_event ) : void

Adds controls to the main navigational page

This uses a PagedResults_HtmlSubwriter instance to render the browse

Public_Folder_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System.IO

Constructor for a new instance of the Public_Folder_HtmlSubwriter class

Write_Final_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Writes the final output to close this public folder browse, including the results page navigation buttons

This calls the PagedResults_HtmlSubwriter.Write_Final_HTML method in the PagedResults_HtmlSubwriter object.

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool

Writes the HTML generated to browse a public folder directly to the response stream

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

Write any additional values within the HTML Head of the final served page

Method Details

Add_Controls() public method

Adds controls to the main navigational page
This uses a PagedResults_HtmlSubwriter instance to render the browse
public Add_Controls ( System.Web.UI.WebControls.PlaceHolder placeHolder, Custom_Tracer Tracer, TreeNodeEventHandler populate_node_event ) : void
placeHolder System.Web.UI.WebControls.PlaceHolder Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
populate_node_event TreeNodeEventHandler Event is used to populate the a tree node without doing a full refresh of the page
return void

Public_Folder_HtmlSubwriter() public method

Constructor for a new instance of the Public_Folder_HtmlSubwriter class
public Public_Folder_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System.IO
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
return System.IO

Write_Final_HTML() public method

Writes the final output to close this public folder browse, including the results page navigation buttons
This calls the PagedResults_HtmlSubwriter.Write_Final_HTML method in the PagedResults_HtmlSubwriter object.
public Write_Final_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_HTML() public method

Writes the HTML generated to browse a public folder directly to the response stream
public Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return bool

Write_Within_HTML_Head() public method

Write any additional values within the HTML Head of the final served page
public Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Output stream currently within the HTML head tags
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void