Show / Hide Table of Contents

Interface IContentTypeController

Namespace: DotNetNuke.Entities.Content
Assembly: DotNetNuke.dll
Syntax
public interface IContentTypeController

Methods

AddContentType(ContentType)

Declaration
int AddContentType(ContentType contentType)
Parameters
Type Name Description
ContentType contentType
Returns
Type Description
int

ClearContentTypeCache()

Declaration
[Obsolete("Deprecated in DotNetNuke 8.0.0. ContentTypeController methods use DAL2 which manages the cache automagically. Scheduled removal in v11.0.0.")]
void ClearContentTypeCache()

DeleteContentType(ContentType)

Declaration
void DeleteContentType(ContentType contentType)
Parameters
Type Name Description
ContentType contentType

GetContentTypes()

Declaration
IQueryable<ContentType> GetContentTypes()
Returns
Type Description
IQueryable<ContentType>

UpdateContentType(ContentType)

Declaration
void UpdateContentType(ContentType contentType)
Parameters
Type Name Description
ContentType contentType

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS