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

Abstract class which all html metadata element classes must extend
This implements the iElement interface.
상속: iElement
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
HELP_BUTTON_URL string
REPEAT_BUTTON_URL string
help_page string
html_element_name string

공개 메소드들

메소드 설명
Prepare_For_Save ( SobekCM_Item Bib, SobekCM.Library.Users.User_Object Current_User ) : void

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

Read_XML ( XmlTextReader xmlReader ) : void

Reads from the template XML format

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

Renders the HTML for this element

Save_Constant_To_Bib ( SobekCM_Item Bib ) : void

Saves the constants to the bib id

Save_To_Bib ( SobekCM_Item Bib ) : void

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

Set_Base_URL ( string Base_URL ) : void

Sets the base url for the current request

This does nothing, although it can be override by extending classes

보호된 메소드들

메소드 설명
Close_Button_URL ( string Skin_Code, string Button_Base_URL ) : string

Return the HTML for the close button image for a given html interface

Help_URL ( string Skin_Code, string Current_Base_URL ) : string

Returns the URL for the element help for a given html interface

Inner_Read_Data ( XmlTextReader XMLReader ) : void

Reads the inner data from the CompleteTemplate XML format

abstract_Element ( ) : System

Constructor for a new abstract element object

메소드 상세

Close_Button_URL() 보호된 메소드

Return the HTML for the close button image for a given html interface
protected Close_Button_URL ( string Skin_Code, string Button_Base_URL ) : string
Skin_Code string Code for the current html skin
Button_Base_URL string Base URL for the current request
리턴 string

Help_URL() 보호된 메소드

Returns the URL for the element help for a given html interface
protected Help_URL ( string Skin_Code, string Current_Base_URL ) : string
Skin_Code string Code for the current html skin
Current_Base_URL string Base URL for the current request
리턴 string

Inner_Read_Data() 보호된 추상적인 메소드

Reads the inner data from the CompleteTemplate XML format
protected abstract 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)
public abstract Prepare_For_Save ( SobekCM_Item Bib, SobekCM.Library.Users.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.Library.Users.User_Object Current user, who's rights may impact the way an element is rendered
리턴 void

Read_XML() 공개 메소드

Reads from the template XML format
public Read_XML ( XmlTextReader xmlReader ) : void
xmlReader System.Xml.XmlTextReader Current template xml configuration reader
리턴 void

Render_Template_HTML() 공개 추상적인 메소드

Renders the HTML for this element
public abstract Render_Template_HTML ( TextWriter Output, SobekCM_Item Bib, string Skin_Code, bool IsMozilla, StringBuilder PopupFormBuilder, SobekCM.Library.Users.User_Object Current_User, Web_Language_Enum CurrentLanguage, SobekCM.Library.Application_State.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.Library.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.Library.Application_State.Language_Support_Info Language support object which handles simple translational duties
Base_URL string Base URL for the current request
리턴 void

Save_Constant_To_Bib() 공개 메소드

Saves the constants to the bib id
public Save_Constant_To_Bib ( SobekCM_Item Bib ) : void
Bib SobekCM.Resource_Object.SobekCM_Item Object into which to save this element's constant data
리턴 void

Save_To_Bib() 공개 추상적인 메소드

Saves the data rendered by this element to the provided bibliographic object during postback
public abstract 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

Set_Base_URL() 공개 메소드

Sets the base url for the current request
This does nothing, although it can be override by extending classes
public Set_Base_URL ( string Base_URL ) : void
Base_URL string Current Base URL for this request
리턴 void

abstract_Element() 보호된 메소드

Constructor for a new abstract element object
protected abstract_Element ( ) : System
리턴 System

프로퍼티 상세

HELP_BUTTON_URL 보호되어 있는 프로퍼티

Constant defines the url for the repeat button image for all metadata element objects
protected string HELP_BUTTON_URL
리턴 string

REPEAT_BUTTON_URL 보호되어 있는 프로퍼티

Constant defines the url for the repeat button image for all metadata element objects
protected string REPEAT_BUTTON_URL
리턴 string

help_page 보호되어 있는 프로퍼티

Name of the help page, if different than default
protected string help_page
리턴 string

html_element_name 보호되어 있는 프로퍼티

Name used for style sheet references and html id's for this subtype of this element
protected string html_element_name
리턴 string