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

Interface ITabPublishingController

Namespace: DotNetNuke.Entities.Tabs
Assembly: DotNetNuke.dll
Syntax
public interface ITabPublishingController

Methods

| Improve this Doc View Source

CanPublishingBePerformed(Int32, Int32)

Check if Publish/Unpublish page actions can be performed.

Declaration
bool CanPublishingBePerformed(int tabID, int portalID)
Parameters
Type Name Description
System.Int32 tabID

The tab ID.

System.Int32 portalID

The portal ID where the tab is.

Returns
Type Description
System.Boolean

true if the page can be published/unpublished, otherwise false.

| Improve this Doc View Source

IsTabPublished(Int32, Int32)

Check if a page is published or not.

Declaration
bool IsTabPublished(int tabID, int portalID)
Parameters
Type Name Description
System.Int32 tabID

Tha tab Id.

System.Int32 portalID

The portal ID where the tab is.

Returns
Type Description
System.Boolean

true if the page is published, otherwise false.

| Improve this Doc View Source

SetTabPublishing(Int32, Int32, Boolean)

Set a page as published or unpublished.

Declaration
void SetTabPublishing(int tabID, int portalID, bool publish)
Parameters
Type Name Description
System.Int32 tabID

The tab ID.

System.Int32 portalID

The portal ID where the tab is.

System.Boolean publish

A boolean value where True means the page is going to be published and otherwise unpublished.

Extension Methods

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