mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER
Code Details >> Core >> Skins >> Web_Skin_Object

Web_Skin_Object Class



Stores information about an HTML skin, which determines the header, footer, stylesheet, and other design elements for the rendered HTML


Namespace: SobekCM.Core.Skins
Assembly: SobekCM_Core (in SobekCM_Core.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
[SerializableAttribute]
[ProtoContractAttribute]
[XmlRootAttribute("webSkin")]
[DataContractAttribute]
public class Web_Skin_Object

Remarks

This class and concept allows the same pages in this digital library to appear branded in different ways. It allows the rendered html to be altered to match a partner's institutional web pages as well.

Since this class holds the header, footer, and banner information, this HTML skin object is language-specific.

Inheritance Hierarchy

System..::..Object
  SobekCM.Core.Skins..::..Web_Skin_Object

Constructors

  NameDescription
Public methodWeb_Skin_Object()()()()
Constructor for a new instance of the Web_Skin_Object class
Public methodWeb_Skin_Object(String, String, String)
Constructor for a new instance of the Web_Skin_Object class
Public methodWeb_Skin_Object(String, String, String, String)
Constructor for a new instance of the Web_Skin_Object class

Methods

  NameDescription
Public methodSet_Header_Footer_HTML(String, String)
Method sets the header and footer to be used by this HTML skin
Public methodSet_Header_Footer_HTML(String, String, String, String)
Method sets the header and footer to be used by this HTML skin
Public methodSet_Header_Footer_Source
Method sets the header and footer by passing in the names for the source files containing the HTML for the headers and footers
Public methodShouldSerializeFooter_Has_Container_Directive
Method suppresses XML Serialization of the Footer_Has_Container_Directive property if it is NULL
Public methodShouldSerializeHeader_Has_Container_Directive
Method suppresses XML Serialization of the Header_Has_Container_Directive property if it is NULL
Public methodShouldSerializeOverride_Banner
Method suppresses XML Serialization of the Override_Banner property if it is NULL
Public methodShouldSerializeSuppress_Top_Navigation
Method suppresses XML Serialization of the Suppress_Top_Navigation property if it is NULL

Properties

  NameDescription
Public propertyBanner_HTML
Code for the banner to use, if this is set to override the banner
Public propertyBase_Skin_Code
Code for the base skin which this skin derives from
Public propertyCSS_Style
Additional CSS Stylesheet to be included for this skin
Public propertyException
Exception message, if an exception occurred whie this was built
Public propertyFooter_Has_Container_Directive
Flag indicates if the main footer has a %CONTAINER% directive indicating where the container tag should be placed. This is useful if either the whole footer, or a portion of the footer, should extend past the main container.
Public propertyFooter_HTML
HTML for the standard footer, to be included when rendering an HTML page
Public propertyFooter_Item_HTML
HTML for the item-specific footer, to be included when rendering an HTML page from the item viewer
Public propertyHeader_Has_Container_Directive
Flag indicates if the main header has a %CONTAINER% directive indicating where the container tag should be placed. This is useful if either the whole header, or a portion of the header, should extend past the main container.
Public propertyHeader_HTML
HTML for the standard header, to be included when rendering an HTML page
Public propertyHeader_Item_HTML
HTML for the item-specific header, to be included when rendering an HTML page from the item viewer
Public propertyLanguage_Code
Language code, which indicates which language this skin information pertains to
Public propertyOverride_Banner
Flag indicates if this skin has a banner which should override any aggregation-specific banner
Public propertySkin_Code
Code for this skin
Public propertySuppress_Top_Navigation
Flag indicates if the top-level aggregation navigation should be suppressed for this web skin ( i.e., is the top-level navigation embedded into the header file already? )

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )