Javascript for Episerver 7.5 cms

ContentBlockViewModel

Location

epi-cms/contentediting/viewmodel/ContentBlockViewModel

Extends

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

hasSiblings

Is true if the block has any siblings

isVisible

If the block could be seen it is true

label

The label used when displaying the block

roles

Localized string of the role identities

settings

Settings object for the model

statusIcon

Store content status icon classes

statusMessage

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

store

The Visitor Groups store

Methods

public method _displayOptionGetter ( )

Gets the display options attribute from the attribute list


public method _displayOptionSetter ( option )

Sets the display options attribute on the attribute list

Parameters

protected method _getStatusMessage ( )

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


public inherited method _isVisibleOnSiteGetter ( )

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


public method hasAnyRoles ( )

Returns true if there are any selected roles


public inherited 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.


public method resetRoleIdentities ( )

Resets the role identities for the block