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

Class SkinControlController

ModuleControlController provides the Business Layer for Module Controls.

Inheritance
System.Object
SkinControlController
Namespace: DotNetNuke.Entities.Modules
Assembly: DotNetNuke.dll
Syntax
public class SkinControlController : object

Methods

| Improve this Doc View Source

DeleteSkinControl(SkinControlInfo)

DeleteSkinControl deletes a Skin Control in the database.

Declaration
public static void DeleteSkinControl(SkinControlInfo skinControl)
Parameters
Type Name Description
SkinControlInfo skinControl

The Skin Control to delete.

| Improve this Doc View Source

GetSkinControl(Int32)

GetSkinControl gets a single Skin Control from the database.

Declaration
public static SkinControlInfo GetSkinControl(int skinControlID)
Parameters
Type Name Description
System.Int32 skinControlID

The ID of the SkinControl.

Returns
Type Description
SkinControlInfo

The SkinControlInfo or null.

| Improve this Doc View Source

GetSkinControlByKey(String)

GetSkinControlByKey gets a single Skin Control from the database.

Declaration
public static SkinControlInfo GetSkinControlByKey(string key)
Parameters
Type Name Description
System.String key

The key of the Control.

Returns
Type Description
SkinControlInfo

The SkinControlInfo or null.

| Improve this Doc View Source

GetSkinControlByPackageID(Int32)

GetSkinControlByPackageID gets a single Skin Control from the database.

Declaration
public static SkinControlInfo GetSkinControlByPackageID(int packageID)
Parameters
Type Name Description
System.Int32 packageID

The ID of the Package.

Returns
Type Description
SkinControlInfo

The SkinControlInfo or null.

| Improve this Doc View Source

GetSkinControls()

GetSkinControls gets all the Skin Controls from the database.

Declaration
public static Dictionary<string, SkinControlInfo> GetSkinControls()
Returns
Type Description
Dictionary<System.String, SkinControlInfo>

A mapping skin control ID to SkinControlInfo.

| Improve this Doc View Source

SaveSkinControl(SkinControlInfo)

SaveSkinControl updates a Skin Control in the database.

Declaration
public static int SaveSkinControl(SkinControlInfo skinControl)
Parameters
Type Name Description
SkinControlInfo skinControl

The Skin Control to save.

Returns
Type Description
System.Int32

The skin control ID.

Extension Methods

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