SkinFileProcessor class constructor.
Namespace: DotNetNuke.UI.SkinsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public SkinFileProcessor( string SkinPath, string SkinRoot, string SkinName ) |
Visual Basic |
---|
Public Sub New ( SkinPath As String, SkinRoot As String, SkinName As String ) |
Parameters
- SkinPath
- Type: System..::..String
File path to the portals upload directory.
- SkinRoot
- Type: System..::..String
Specifies type of skin (Skins or Containers)
- SkinName
- Type: System..::..String
Name of folder in which skin will reside (Zip file name)
Remarks
The constructor primes the file processor with path information and
control data that should only be retrieved once. It checks for the
existentce of a skin level attribute file and read it in, if found.
It also sorts through the complete list of controls and creates
a hashtable which contains only the skin objects and their source paths.
These are recognized by their ControlKey's which are formatted like
tokens ("[TOKEN]"). The hashtable is required for speed as it will be
processed for each token found in the source file by the Control Parser.