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

Abstract base class for all elements which are made up of a single check box
This class implements the iElement interface and extends the abstract_Element class.
Inheritance: abstract_Element
Afficher le fichier Open project: MarkVSullivan/SobekCM-Web-Application

Protected Properties

Свойство Type Description
default_value bool

Méthodes protégées

Méthode Description
Inner_Read_Data ( XmlTextReader XMLReader ) : void

Reads the inner data from the CompleteTemplate XML format

This does nothing in the checkbox elements

checkBox_Element ( string Title, string Html_Element_Name, string Check_Box_Text ) : System.IO

Constructor for a new instance of the simpleTextBox_Element class

render_helper ( TextWriter Output, bool instance_value, string Skin_Code, User_Object Current_User, Web_Language_Enum CurrentLanguage, Language_Support_Info Translator, string Base_URL ) : void

Method helps to render all simple text box based elements

Method Details

Inner_Read_Data() protected méthode

Reads the inner data from the CompleteTemplate XML format
This does nothing in the checkbox elements
protected Inner_Read_Data ( XmlTextReader XMLReader ) : void
XMLReader System.Xml.XmlTextReader Current template xml configuration reader
Résultat void

checkBox_Element() protected méthode

Constructor for a new instance of the simpleTextBox_Element class
protected checkBox_Element ( string Title, string Html_Element_Name, string Check_Box_Text ) : System.IO
Title string Title for this element
Html_Element_Name string Name for the html components and styles for this element
Check_Box_Text string Text to include after the checkbox (related to the element title )
Résultat System.IO

render_helper() protected méthode

Method helps to render all simple text box based elements
protected render_helper ( TextWriter Output, bool instance_value, string Skin_Code, User_Object Current_User, Web_Language_Enum CurrentLanguage, Language_Support_Info Translator, string Base_URL ) : void
Output System.IO.TextWriter Output for the generated html for this element
instance_value bool Value for the current digital resource to display
Skin_Code string Code for the current html skin
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
Résultat void

Property Details

default_value protected_oe property

Protected field holds the default value for this element
protected bool default_value
Résultat bool