C# Class SobekCM.Library.HTML.MainMenus_Helper_HtmlSubWriter

Static class is used to write the main menus used for the aggregation pages and the top-level pages which require a logon.
This is not used to write the item-level menus. That is done directly in the Item_HtmlSubwriter class.
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_Aggregation_Main_Menu ( TextWriter Output, RequestCache RequestSpecificValues, SobekCM.Library.Aggregations.Item_Aggregation Hierarchy_Object ) : void

Add the aggregation-level main menu

Add_Aggregation_Search_Results_Menu ( TextWriter Output, RequestCache RequestSpecificValues, SobekCM.Library.Aggregations.Item_Aggregation Hierarchy_Object, bool Include_Bookshelf_View ) : void

Add the search results (and item browses) main menu

Add_UserSpecific_Main_Menu ( TextWriter Output, RequestCache RequestSpecificValues ) : void

Add the user-specific main menu user for most of the pages which require a user to be logged in, such as the mySobek pages, the internal user pages, and the system administration pages

Method Details

Add_Aggregation_Main_Menu() public static method

Add the aggregation-level main menu
public static Add_Aggregation_Main_Menu ( TextWriter Output, RequestCache RequestSpecificValues, SobekCM.Library.Aggregations.Item_Aggregation Hierarchy_Object ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this menu
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
Hierarchy_Object SobekCM.Library.Aggregations.Item_Aggregation Aggregation object for which to show this aggregation main menu
return void

Add_Aggregation_Search_Results_Menu() public static method

Add the search results (and item browses) main menu
public static Add_Aggregation_Search_Results_Menu ( TextWriter Output, RequestCache RequestSpecificValues, SobekCM.Library.Aggregations.Item_Aggregation Hierarchy_Object, bool Include_Bookshelf_View ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this menu
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
Hierarchy_Object SobekCM.Library.Aggregations.Item_Aggregation Aggregation object for which to show this aggregation search results menu
Include_Bookshelf_View bool Flag indicates if the bookshelf view should be included in the list of possible views
return void

Add_UserSpecific_Main_Menu() public static method

Add the user-specific main menu user for most of the pages which require a user to be logged in, such as the mySobek pages, the internal user pages, and the system administration pages
public static Add_UserSpecific_Main_Menu ( TextWriter Output, RequestCache RequestSpecificValues ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this menu
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
return void