C# 클래스 SobekCM.Library.Citation.Elements.Type_Format_Form_Element

Element displays a form to allow for complete entry of the type information and access to many of the fields present in the MARC leader and 006-008 fields for an item
This class implements the iElement interface and extends the abstract_Element class.
상속: simpleTextBox_Element
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application

보호된 프로퍼티들

프로퍼티 타입 설명
items List

공개 메소드들

메소드 설명
Prepare_For_Save ( SobekCM_Item Bib, User_Object Current_User ) : void

Prepares the bib object for the save, by clearing any existing data in this element's related field(s)

This clears any preexisting marc country codes, marc frequency codes, languages, and genres with marcgt as the authority

Render_Template_HTML ( TextWriter Output, SobekCM_Item Bib, string Skin_Code, bool IsMozilla, StringBuilder PopupFormBuilder, User_Object Current_User, Web_Language_Enum CurrentLanguage, Language_Support_Info Translator, string Base_URL ) : void

Renders the HTML for this element

This element appends a popup form to the popup_form_builder

Save_To_Bib ( SobekCM_Item Bib ) : void

Saves the data rendered by this element to the provided bibliographic object during postback

Type_Format_Form_Element ( ) : System

Constructor for a new instance of the Type_Format_Form_Element class

보호된 메소드들

메소드 설명
Inner_Read_Data ( XmlTextReader XMLReader ) : void

Reads the inner data from the CompleteTemplate XML format

This reads the possible values for the type combo box from a options subelement and the default value from a value subelement

비공개 메소드들

메소드 설명
show_material_type_details ( SobekCM_Item Bib ) : string

메소드 상세

Inner_Read_Data() 보호된 메소드

Reads the inner data from the CompleteTemplate XML format
This reads the possible values for the type combo box from a options subelement and the default value from a value subelement
protected Inner_Read_Data ( XmlTextReader XMLReader ) : void
XMLReader System.Xml.XmlTextReader Current template xml configuration reader
리턴 void

Prepare_For_Save() 공개 메소드

Prepares the bib object for the save, by clearing any existing data in this element's related field(s)
This clears any preexisting marc country codes, marc frequency codes, languages, and genres with marcgt as the authority
public Prepare_For_Save ( SobekCM_Item Bib, User_Object Current_User ) : void
Bib SobekCM.Resource_Object.SobekCM_Item Existing digital resource object which may already have values for this element's data field(s)
Current_User SobekCM.Core.Users.User_Object Current user, who's rights may impact the way an element is rendered
리턴 void

Render_Template_HTML() 공개 메소드

Renders the HTML for this element
This element appends a popup form to the popup_form_builder
public Render_Template_HTML ( TextWriter Output, SobekCM_Item Bib, string Skin_Code, bool IsMozilla, StringBuilder PopupFormBuilder, User_Object Current_User, Web_Language_Enum CurrentLanguage, Language_Support_Info Translator, string Base_URL ) : void
Output System.IO.TextWriter Textwriter to write the HTML for this element
Bib SobekCM.Resource_Object.SobekCM_Item Object to populate this element from
Skin_Code string Code for the current skin
IsMozilla bool Flag indicates if the current browse is Mozilla Firefox (different css choices for some elements)
PopupFormBuilder StringBuilder Builder for any related popup forms for this element
Current_User SobekCM.Core.Users.User_Object Current user, who's rights may impact the way an element is rendered
CurrentLanguage Web_Language_Enum Current user-interface language
Translator SobekCM.Core.ApplicationState.Language_Support_Info Language support object which handles simple translational duties
Base_URL string Base URL for the current request
리턴 void

Save_To_Bib() 공개 메소드

Saves the data rendered by this element to the provided bibliographic object during postback
public Save_To_Bib ( SobekCM_Item Bib ) : void
Bib SobekCM.Resource_Object.SobekCM_Item Object into which to save the user's data, entered into the html rendered by this element
리턴 void

Type_Format_Form_Element() 공개 메소드

Constructor for a new instance of the Type_Format_Form_Element class
public Type_Format_Form_Element ( ) : System
리턴 System

프로퍼티 상세

items 보호되어 있는 프로퍼티

Protected field holds the default value(s) Protected field holds all the possible, selectable values
protected List items
리턴 List