C# Класс SobekCM.Library.AdminViewer.Skins_AdminViewer

Class allows an authenticated system admin to view and edit existing html skins, and add new skins
This class extends the abstract_AdminViewer class.

MySobek Viewers are used for registration and authentication with mySobek, as well as performing any task which requires authentication, such as online submittal, metadata editing, and system administrative tasks.

During a valid html request, the following steps occur:
  • Application state is built/verified by the Application_State.Application_State_Builder
  • Request is analyzed by the Navigation.SobekCM_QueryString_Analyzer and output as a SobekCM_Navigation_Object
  • Main writer is created for rendering the output, in his case the Html_MainWriter
  • The HTML writer will create the necessary subwriter. Since this action requires authentication, an instance of the MySobek_HtmlSubwriter class is created.
  • The mySobek subwriter creates an instance of this viewer to manage the HTML skins in this digital library
Наследование: abstract_AdminViewer
Показать файл Открыть проект

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

Метод Описание
Skins_AdminViewer ( RequestCache RequestSpecificValues ) : System

Constructor for a new instance of the Skins_AdminViewer class

Postback from handling an edit or new html skin is handled here in the constructor

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Add the HTML to be displayed in the main SobekCM viewer area

This class does nothing, since the skin list is added as controls, not HTML

Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void

This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture

This text will appear within the ItemNavForm form tags

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

Метод Описание
copy_entire_folder ( string SourceFolder, string DestinationFolder ) : void

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

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

Constructor for a new instance of the Skins_AdminViewer class
Postback from handling an edit or new html skin is handled here in the constructor
public Skins_AdminViewer ( RequestCache RequestSpecificValues ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
Результат System

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

Add the HTML to be displayed in the main SobekCM viewer area
This class does nothing, since the skin list is added as controls, not HTML
public Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void

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

This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture
This text will appear within the ItemNavForm form tags
public Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the pop-up form HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void