Javascript for Episerver 7.5 cms

DeleteLanguageBranch (constructor)

Location

epi-cms/component/command/DeleteLanguageBranch

Extends

Properties

_application

Instance of CMS application

_attrPairNames

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

_cachedValue

Represents the tooltip for an icon node

_modelChangeWatcher

_siteTreeModel

Instance of SiteTreeModel

canExecute

category

A category which provides a hint about how the command could be displayed.

iconClass

The icon class of the command to be used in visual elements.

isAvailable

isMultilingual

Flag which indicates whether to support multi-languages

label

The action text of the command to be used in visual elements.

model

order

tooltip

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _contentExistsInCurrentLanguage ( contentItem )

Check if the language branch for the current content differs from the current content language for the application.

Parameters

public method _execute ( )

Executes this command assuming canExecute has been checked.


public inherited method _get ( name , names )

Private function that does a get based off a hash of names

Parameters

public inherited method _isSiteMultilingual ( )

Check whether current site allows multilingual


public method _onModelChange ( )

Updates canExecute after the model has been updated.


public inherited method constructor ( options )

Mixin properties of the object for injection later.

Parameters

public inherited method destroy ( )


public inherited method execute ( )


public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public method postscript ( )

Constructs the object and sets up the reference to the content data and version stores.


public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method unwatchModelChange ( )


public inherited method watch ( name , callback )

Watches a property for changes

Parameters

public inherited method watchModelChange ( )