C# Класс SobekCM.Library.HTML.Aggregation_HtmlSubwriter

Aggregation html subwriter renders all views of item aggregations, including home pages, searches, and browses
This class extends the abstractHtmlSubwriter abstract class.
Наследование: abstractHtmlSubwriter
Показать файл Открыть проект

Открытые методы

Метод Описание
Add_Controls ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : bool

Adds the tree view control to the provided place holder if this is the tree view main home page

Add_Footer ( TextWriter Output ) : void

Add the footer to the output

Add_Header ( TextWriter Output ) : void

Add the header to the output

Add_SubCollection_Buttons ( TextWriter Output, RequestCache RequestSpecificValues, SobekCM.Library.Aggregations.Item_Aggregation hierarchyObject ) : bool
Aggregation_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System

Constructor creates a new instance of the Aggregation_HtmlSubwriter class

Write_Final_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Writes final HTML after all the forms

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool

Writes the HTML generated by this aggregation html subwriter directly to the response stream

Write_Internal_Header_HTML ( TextWriter Output, SobekCM.Library.Users.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

By default this does nothing, but can be overwritten by all the individual html subwriters

Защищенные методы

Метод Описание
add_home_html ( TextWriter Output, Custom_Tracer Tracer ) : bool

Adds the home page text to the output for this collection view

write_description_home ( TextWriter Output, Custom_Tracer Tracer ) : void

Adds the main library home page with short descriptions about each highlighted item aggregation

write_institution_icons ( TextWriter Output, Custom_Tracer Tracer ) : void

Adds the partner institution page from the main library home page as large icons

write_institution_list ( TextWriter Output, Custom_Tracer Tracer ) : void

Adds the partner institution page from the main library home page as small icons and html names

write_list_home ( TextWriter Output, Custom_Tracer Tracer ) : void

Adds the main library home page with icons and names about each highlighted item aggregation

write_personalized_home ( TextWriter Output, Custom_Tracer Tracer ) : void

Adds the personalized main library home page for logged on users

write_treeview ( TextWriter Output, Custom_Tracer Tracer ) : void

Write the treeview to the specified output

Приватные методы

Метод Описание
Add_Sharing_Buttons ( TextWriter Output, string FormName, string Style ) : void
Highlight_To_Html ( SobekCM.Library.Aggregations.Item_Aggregation_Highlights Highlight, string Directory ) : string
Int_To_Comma_String ( int Value ) : string
add_children_to_tree ( string LeadingSpaces, TextWriter Output, Item_Aggregation_Related_Aggregations Aggr ) : void

Описание методов

Add_Controls() публичный Метод

Adds the tree view control to the provided place holder if this is the tree view main home page
public Add_Controls ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : bool
MainPlaceHolder System.Web.UI.WebControls.PlaceHolder Place holder into which to place the built tree control
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат bool

Add_Footer() публичный Метод

Add the footer to the output
public Add_Footer ( TextWriter Output ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this footer
Результат void

Add_Header() публичный Метод

Add the header to the output
public Add_Header ( TextWriter Output ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this header
Результат void

Add_SubCollection_Buttons() публичный статический Метод

public static Add_SubCollection_Buttons ( TextWriter Output, RequestCache RequestSpecificValues, SobekCM.Library.Aggregations.Item_Aggregation hierarchyObject ) : bool
Output System.IO.TextWriter
RequestSpecificValues RequestCache
hierarchyObject SobekCM.Library.Aggregations.Item_Aggregation
Результат bool

Aggregation_HtmlSubwriter() публичный Метод

Constructor creates a new instance of the Aggregation_HtmlSubwriter class
public Aggregation_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
Результат System

Write_Final_HTML() публичный Метод

Writes final HTML after all the forms
public Write_Final_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to directly write to
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

Write_HTML() публичный Метод

Writes the HTML generated by this aggregation html subwriter 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 Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат bool

Write_Internal_Header_HTML() публичный Метод

Adds the internal header HTML for this specific HTML writer
public Write_Internal_Header_HTML ( TextWriter Output, SobekCM.Library.Users.User_Object Current_User ) : void
Output System.IO.TextWriter Stream to which to write the HTML for the internal header information
Current_User SobekCM.Library.Users.User_Object Currently logged on user, to determine specific rights
Результат void

Write_Within_HTML_Head() публичный Метод

Write any additional values within the HTML Head of the final served page
By default this does nothing, but can be overwritten by all the individual html subwriters
public Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Output stream currently within the HTML head tags
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

add_home_html() защищенный Метод

Adds the home page text to the output for this collection view
protected add_home_html ( TextWriter Output, Custom_Tracer Tracer ) : bool
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат bool

write_description_home() защищенный Метод

Adds the main library home page with short descriptions about each highlighted item aggregation
protected write_description_home ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

write_institution_icons() защищенный Метод

Adds the partner institution page from the main library home page as large icons
protected write_institution_icons ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

write_institution_list() защищенный Метод

Adds the partner institution page from the main library home page as small icons and html names
protected write_institution_list ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

write_list_home() защищенный Метод

Adds the main library home page with icons and names about each highlighted item aggregation
protected write_list_home ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

write_personalized_home() защищенный Метод

Adds the personalized main library home page for logged on users
protected write_personalized_home ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

write_treeview() защищенный Метод

Write the treeview to the specified output
protected write_treeview ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to the HTML response output
Tracer Custom_Tracer The tracer.
Результат void