C# Класс SobekCM.Core.Skins.Web_Skin_Object

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Set_Header_Footer_HTML ( string HeaderHTML, string FooterHTML ) : void

Method sets the header and footer to be used by this HTML skin

Set_Header_Footer_HTML ( string HeaderHTML, string Footer_HTML, string Header_Item_HTML, string Footer_Item_HTML ) : void

Method sets the header and footer to be used by this HTML skin

Set_Header_Footer_Source ( string Header_Source, string Footer_Source, string Header_Item_Source, string Footer_Item_Source ) : void

Method sets the header and footer by passing in the names for the source files containing the HTML for the headers and footers

ShouldSerializeFooter_Has_Container_Directive ( ) : bool

Method suppresses XML Serialization of the Footer_Has_Container_Directive property if it is NULL

ShouldSerializeHeader_Has_Container_Directive ( ) : bool

Method suppresses XML Serialization of the Header_Has_Container_Directive property if it is NULL

ShouldSerializeOverride_Banner ( ) : bool

Method suppresses XML Serialization of the Override_Banner property if it is NULL

ShouldSerializeSuppress_Top_Navigation ( ) : bool

Method suppresses XML Serialization of the Suppress_Top_Navigation property if it is NULL

Web_Skin_Object ( ) : System

Constructor for a new instance of the Web_Skin_Object class

Web_Skin_Object ( string Skin_Code, string Base_Skin_Code ) : System

Constructor for a new instance of the Web_Skin_Object class

Web_Skin_Object ( string Skin_Code, string Base_Skin_Code, string Banner_HTML ) : System

Constructor for a new instance of the Web_Skin_Object class

Описание методов

Set_Header_Footer_HTML() публичный Метод

Method sets the header and footer to be used by this HTML skin
public Set_Header_Footer_HTML ( string HeaderHTML, string FooterHTML ) : void
HeaderHTML string HTML to use for the standard header
FooterHTML string HTML to use for the standard footer
Результат void

Set_Header_Footer_HTML() публичный Метод

Method sets the header and footer to be used by this HTML skin
public Set_Header_Footer_HTML ( string HeaderHTML, string Footer_HTML, string Header_Item_HTML, string Footer_Item_HTML ) : void
HeaderHTML string HTML to use for the standard header
Footer_HTML string HTML to use for the standard footer
Header_Item_HTML string HTML to use for the item-specific header (used when displaying an item in the item viewer)
Footer_Item_HTML string HTML to use for the item-specific footer (used when displaying an item in the item viewer)
Результат void

Set_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 Set_Header_Footer_Source ( string Header_Source, string Footer_Source, string Header_Item_Source, string Footer_Item_Source ) : void
Header_Source string Name for the file containing the standard header HTML
Footer_Source string Name for the file containing the standard footer HTML
Header_Item_Source string Name for the file containing the item-specific header HTML (used when displaying an item in the item viewer)
Footer_Item_Source string Name for the file containing the item-specific footer HTML (used when displaying an item in the item viewer)
Результат void

ShouldSerializeFooter_Has_Container_Directive() публичный Метод

Method suppresses XML Serialization of the Footer_Has_Container_Directive property if it is NULL
public ShouldSerializeFooter_Has_Container_Directive ( ) : bool
Результат bool

ShouldSerializeHeader_Has_Container_Directive() публичный Метод

Method suppresses XML Serialization of the Header_Has_Container_Directive property if it is NULL
public ShouldSerializeHeader_Has_Container_Directive ( ) : bool
Результат bool

ShouldSerializeOverride_Banner() публичный Метод

Method suppresses XML Serialization of the Override_Banner property if it is NULL
public ShouldSerializeOverride_Banner ( ) : bool
Результат bool

ShouldSerializeSuppress_Top_Navigation() публичный Метод

Method suppresses XML Serialization of the Suppress_Top_Navigation property if it is NULL
public ShouldSerializeSuppress_Top_Navigation ( ) : bool
Результат bool

Web_Skin_Object() публичный Метод

Constructor for a new instance of the Web_Skin_Object class
public Web_Skin_Object ( ) : System
Результат System

Web_Skin_Object() публичный Метод

Constructor for a new instance of the Web_Skin_Object class
public Web_Skin_Object ( string Skin_Code, string Base_Skin_Code ) : System
Skin_Code string Code for this HTML skin
Base_Skin_Code string Code for the base HTML skin which this skin derives from
Результат System

Web_Skin_Object() публичный Метод

Constructor for a new instance of the Web_Skin_Object class
public Web_Skin_Object ( string Skin_Code, string Base_Skin_Code, string Banner_HTML ) : System
Skin_Code string Code for this HTML skin
Base_Skin_Code string Code for the base HTML skin which this skin derives from
Banner_HTML string Code for the banner to use, if this is set to override the banner
Результат System