C# Class SobekCM.Library.Citation.Elements.Abstract_Complex_Element

Element allows entry of an abstract, including abstract type and language, for an item
This class implements the iElement interface and extends the abstract_Element class.
Inheritance: abstract_Element
显示文件 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Abstract_Complex_Element ( ) : System

Constructor for a new instance of the Abstract_Complex_Element class

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 abstracts

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 simple element does not append any 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

Protected Methods

Method Description
Inner_Read_Data ( XmlTextReader XMLReader ) : void

Reads the inner data from the CompleteTemplate XML format

This procedure does not currently read any inner xml (not yet necessary)

Method Details

Abstract_Complex_Element() public method

Constructor for a new instance of the Abstract_Complex_Element class
public Abstract_Complex_Element ( ) : System
return System

Inner_Read_Data() protected method

Reads the inner data from the CompleteTemplate XML format
This procedure does not currently read any inner xml (not yet necessary)
protected Inner_Read_Data ( XmlTextReader XMLReader ) : void
XMLReader System.Xml.XmlTextReader Current template xml configuration reader
return void

Prepare_For_Save() public method

Prepares the bib object for the save, by clearing any existing data in this element's related field(s)
This clears any preexisting abstracts
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
return void

Render_Template_HTML() public method

Renders the HTML for this element
This simple element does not append any 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 TextWriter Textwriter to write the HTML for this element
Bib 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 User_Object Current user, who's rights may impact the way an element is rendered
CurrentLanguage Web_Language_Enum Current user-interface language
Translator Language_Support_Info Language support object which handles simple translational duties
Base_URL string Base URL for the current request
return void

Save_To_Bib() public method

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