C# Class SobekCM.Library.HTML.Web_Content_HtmlSubwriter

Simple web content html subwriter acts like a simple content management system, reading in source html files and displaying them within the framework of this digital library and after applying the indicated web skin.
This class extends the abstractHtmlSubwriter abstract class.
Inheritance: abstractHtmlSubwriter
Afficher le fichier Open project: MarkVSullivan/SobekCM-Web-Application

Méthodes publiques

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

Add the sitemap tree-view control, if there is a site map included in this object

Web_Content_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System

Constructor for a new instance of the Web_Content_HtmlSubwriter class

Write_Final_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Writes the HTML generated by this simple text / CMS html subwriter directly to the response stream

This finishes out the page and includes all the static content in this static web content file

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool

Writes the HTML generated by this simple text / CMS html subwriter directly to the response stream

This just begins the page and gets ready for site map tree view to possibly be added

Write_Internal_Header_HTML ( TextWriter Output, User_Object Current_User ) : void

Adds the internal header HTML for this specific HTML writer

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

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

Private Methods

Méthode Description
Get_Simple_Web_Content_Text ( Navigation_Object Current_Mode, Custom_Tracer Tracer, HTML_Based_Content &Simple_Web_Content, SobekCM.Core.SiteMap.SobekCM_SiteMap &Site_Map ) : bool

Gets the simple CMS/info object and text to display

This always pulls the data directly from disk; this text is not cached.

add_child_nodes ( System.Web.UI.WebControls.TreeNode treeNode, SobekCM.Core.SiteMap.SobekCM_SiteMap_Node siteNode, string base_url, int selected_node ) : void
recursively_draw_sitemap_for_robots ( TextWriter Output, SobekCM.Core.SiteMap.SobekCM_SiteMap_Node Node, string Indent ) : void
treeView1_TreeNodePopulate ( object sender, System.Web.UI.WebControls.TreeNodeEventArgs e ) : void

Event handler loads the nodes on request to the serial hierarchy trees when the user requests them by expanding a node

write_banner_and_menu ( TextWriter Output, Custom_Tracer Tracer ) : void
write_edit_display ( TextWriter Output, Custom_Tracer Tracer ) : void
write_standard_display ( TextWriter Output, Custom_Tracer Tracer ) : void

Method Details

Add_Controls() public méthode

Add the sitemap tree-view control, if there is a site map included in this object
public Add_Controls ( System.Web.UI.WebControls.PlaceHolder placeHolder, Custom_Tracer Tracer ) : 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
Résultat void

Web_Content_HtmlSubwriter() public méthode

Constructor for a new instance of the Web_Content_HtmlSubwriter class
public Web_Content_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
Résultat System

Write_Final_HTML() public méthode

Writes the HTML generated by this simple text / CMS html subwriter directly to the response stream
This finishes out the page and includes all the static content in this static web content file
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
Résultat void

Write_HTML() public méthode

Writes the HTML generated by this simple text / CMS html subwriter directly to the response stream
This just begins the page and gets ready for site map tree view to possibly be added
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
Résultat bool

Write_Internal_Header_HTML() public méthode

Adds the internal header HTML for this specific HTML writer
public Write_Internal_Header_HTML ( TextWriter Output, User_Object Current_User ) : void
Output System.IO.TextWriter Stream to which to write the HTML for the internal header information
Current_User SobekCM.Core.Users.User_Object Currently logged on user, to determine specific rights
Résultat void

Write_Within_HTML_Head() public méthode

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