Javascript for Episerver 7.5 cms

ContentStatusViewModel

Location

epi-cms/widget/viewmodel/ContentStatusViewModel

Extends

dojo/Stateful

Properties

_attrPairNames

Used across all instances a hash to cache attribute names and their getter and setter names.

_contentStructureStore

_currentContext

_waitingForContext

autoLoadStatus

Set it to true of the status information should be automatically loaded when the contentLink is set

statusIcon

Store content status icon classes

statusMessage

Store content status message. Can be [String] or [Array] data type.

Methods

protected method _getStatusMessage ( )

Get content version status message. Override this function to customize content status message.


public method _isVisibleOnSiteGetter ( )

Allow create additional information area or not. Based on content version status.


public method loadStatus ( )

Loads the status for the current contentLink


protected method own ( )

Track specified handles and remove/destroy them when this instance is destroyed, unless they were already removed/destroyed manually.