C# Class SobekCM.Engine_Library.Skins.Web_Skin_Utilities

Builder creates individiual Web_Skin_Object objects when application first starts and when a new skin is needed for a user request
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Build_Skin ( Complete_Web_Skin_Object CompleteSkin, string Language_Code, Custom_Tracer Tracer ) : Web_Skin_Object

Builds a language-specific Web_Skin_Object when needed by a user's request

The datarow for this method is retrieved from the database by calling the Database.Engine_Database.Get_All_Web_Skins method during application startup and is then stored in the Web_Skin_Collection class until needed.

Build_Skin ( DataRow Skin_Row, string Language_Code ) : Web_Skin_Object

Builds a language-specific Web_Skin_Object when needed by a user's request

The datarow for this method is retrieved from the database by calling the Database.Engine_Database.Get_All_Web_Skins method during application startup and is then stored in the Web_Skin_Collection class until needed.

Build_Skin_Complete ( DataRow Skin_Row, Custom_Tracer Tracer ) : Complete_Web_Skin_Object

Builds the complete web skin object

Populate_Default_Skins ( SobekCM.Core.Skins.Web_Skin_Collection SkinList, Custom_Tracer Tracer ) : bool

Populates/builds the main default HTML skin during application startup

Most HTML skins are built as they are needed and then cached for a period of time. The main default skins are permanently stored in this global Web_Skin_Collection object.

Populate_Default_Skins ( SobekCM.Core.Skins.Web_Skin_Collection SkinList, DataTable SourceTable, Custom_Tracer Tracer ) : bool

Populates/builds the main default HTML skin during application startup

Most HTML skins are built as they are needed and then cached for a period of time. The main default skins are permanently stored in this global Web_Skin_Collection object.

Method Details

Build_Skin() public static method

Builds a language-specific Web_Skin_Object when needed by a user's request
The datarow for this method is retrieved from the database by calling the Database.Engine_Database.Get_All_Web_Skins method during application startup and is then stored in the Web_Skin_Collection class until needed.
public static Build_Skin ( Complete_Web_Skin_Object CompleteSkin, string Language_Code, Custom_Tracer Tracer ) : Web_Skin_Object
CompleteSkin SobekCM.Core.Skins.Complete_Web_Skin_Object Complete web skin object
Language_Code string Code for the language, which determines which HTML to use
Tracer SobekCM.Tools.Custom_Tracer
return SobekCM.Core.Skins.Web_Skin_Object

Build_Skin() public static method

Builds a language-specific Web_Skin_Object when needed by a user's request
The datarow for this method is retrieved from the database by calling the Database.Engine_Database.Get_All_Web_Skins method during application startup and is then stored in the Web_Skin_Collection class until needed.
public static Build_Skin ( DataRow Skin_Row, string Language_Code ) : Web_Skin_Object
Skin_Row System.Data.DataRow Row from a database query with basic information about the interface to build ( codes, override flags, banner link )
Language_Code string Code for the language, which determines which HTML to use
return SobekCM.Core.Skins.Web_Skin_Object

Build_Skin_Complete() public static method

Builds the complete web skin object
public static Build_Skin_Complete ( DataRow Skin_Row, Custom_Tracer Tracer ) : Complete_Web_Skin_Object
Skin_Row System.Data.DataRow Row for this web skin, from the database query
Tracer SobekCM.Tools.Custom_Tracer
return SobekCM.Core.Skins.Complete_Web_Skin_Object

Populate_Default_Skins() public static method

Populates/builds the main default HTML skin during application startup
Most HTML skins are built as they are needed and then cached for a period of time. The main default skins are permanently stored in this global Web_Skin_Collection object.
public static Populate_Default_Skins ( SobekCM.Core.Skins.Web_Skin_Collection SkinList, Custom_Tracer Tracer ) : bool
SkinList SobekCM.Core.Skins.Web_Skin_Collection List of skin to populate with the default, commonly used skin
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return bool

Populate_Default_Skins() public static method

Populates/builds the main default HTML skin during application startup
Most HTML skins are built as they are needed and then cached for a period of time. The main default skins are permanently stored in this global Web_Skin_Collection object.
public static Populate_Default_Skins ( SobekCM.Core.Skins.Web_Skin_Collection SkinList, DataTable SourceTable, Custom_Tracer Tracer ) : bool
SkinList SobekCM.Core.Skins.Web_Skin_Collection List of skin to populate with the default, commonly used skin
SourceTable System.Data.DataTable Source table with the skin data
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return bool