• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class SkinFileProcessor

Handles processing of a list of uploaded skin files into a working skin.

Inheritance
System.Object
SkinFileProcessor
Namespace: DotNetNuke.UI.Skins
Assembly: DotNetNuke.dll
Syntax
public class SkinFileProcessor : object

Constructors

| Improve this Doc View Source

SkinFileProcessor(String, String, String)

Initializes a new instance of the SkinFileProcessor class. SkinFileProcessor class constructor.

Declaration
public SkinFileProcessor(string skinPath, string skinRoot, string skinName)
Parameters
Type Name Description
System.String skinPath

File path to the portals upload directory.

System.String skinRoot

Specifies type of skin (Skins or Containers).

System.String skinName

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.

| Improve this Doc View Source

SkinFileProcessor(String, String)

Initializes a new instance of the SkinFileProcessor class. SkinFileProcessor class constructor.

Declaration
public SkinFileProcessor(string controlKey, string controlSrc)
Parameters
Type Name Description
System.String controlKey
System.String controlSrc
Remarks

This constructor parses a memory based skin.

Properties

| Improve this Doc View Source

SkinName

Handles processing of a list of uploaded skin files into a working skin.

Declaration
public string SkinName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SkinPath

Handles processing of a list of uploaded skin files into a working skin.

Declaration
public string SkinPath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SkinRoot

Handles processing of a list of uploaded skin files into a working skin.

Declaration
public string SkinRoot { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

ProcessFile(String, SkinParser)

Handles processing of a list of uploaded skin files into a working skin.

Declaration
public string ProcessFile(string fileName, SkinParser parseOption)
Parameters
Type Name Description
System.String fileName
SkinParser parseOption
Returns
Type Description
System.String
| Improve this Doc View Source

ProcessList(ArrayList, SkinParser)

Handles processing of a list of uploaded skin files into a working skin.

Declaration
public string ProcessList(ArrayList fileList, SkinParser parseOption)
Parameters
Type Name Description
ArrayList fileList
SkinParser parseOption
Returns
Type Description
System.String
| Improve this Doc View Source

ProcessList(ArrayList)

Perform processing on list of files to generate skin.

Declaration
public string ProcessList(ArrayList fileList)
Parameters
Type Name Description
ArrayList fileList

ArrayList of files to be processed.

Returns
Type Description
System.String

HTML formatted string of informational messages.

| Improve this Doc View Source

ProcessSkin(String, XmlDocument, SkinParser)

Handles processing of a list of uploaded skin files into a working skin.

Declaration
public string ProcessSkin(string skinSource, XmlDocument skinAttributes, SkinParser parseOption)
Parameters
Type Name Description
System.String skinSource
XmlDocument skinAttributes
SkinParser parseOption
Returns
Type Description
System.String

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS