Javascript for Episerver 7.5 cms

PublishMenuViewModel (constructor)

Location

epi-cms/contentediting/viewmodel/PublishMenuViewModel

Extends

Properties

_attrPairNames

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

_consumer

_currentCommandModel

_currentUser

_initialized

_providerWatch

_watchers

additionalInfoSectionVisible

additionalInfoText

commandKey

commandProviders

commands

contentActionSupport

dataModel

inUseNotificationManager

isOpen

lastChangeStatus

lastExecutedCommand

lastPublishedText

lastPublishedViewLinkHref

lastPublishedViewLinkVisible

mainButtonCommand

mainButtonSectionVisible

providers

publishInfoSectionVisible

topInfoSectionVisible

typeIdentifier

Methods

public inherited method _bindDataModel ( )


public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _commandsChanged ( )


public inherited method _get ( name , names )

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

Parameters

public method _getFriendlyUsername ( name , capitalizeUsername )

Get friendly username: if the username to be displayed is the same as the current username, this will returns "you"

Parameters

public method _getLastChangeStatus ( contentData )

Parameters

public method _getLastPublishedText ( contentData )

Parameters

public method _getLastPublishedTitle ( contentData )

Parameters

public method _getLastPublishedViewLinkVisible ( contentData , contentHasPublishedVersion )

Parameters

public method _getPublishInfoSectionVisible ( contentData )

Parameters

public method _getTemplatedText ( template , username , datetime , capitalizeUsername )

Return text represent last update time

Parameters

public method _getTopInfoSectionVisible ( contentData )

Parameters

public method _isOriginallyEditable ( )


public inherited method _set ( _b , _c )

Parameters

public method _setAdditionalInfo ( contentData )

Parameters

public method _setDataModelAttr ( value )

Parameters

public method _setIsOpenAttr ( value )

Parameters

public inherited method _unbindDataModel ( )


public method _updateCommands ( )


public inherited method add ( _5 , _6 )

Parameters

public inherited method addProvider ( _5 )

Parameters

public inherited method constructor ( )


public inherited method destroy ( )


public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public inherited method getCommands ( )


public inherited method getConsumer ( )


public inherited method initializeCommandProviders ( )


public inherited method onCommandsChanged ( _c , _d , _e )

Parameters

public method onDataModelChange ( name , oldValue , value )

Parameters

public inherited method onProvidersChanged ( _9 , _a , _b )

Parameters

public method postscript ( )


public inherited method remove ( _9 , _a )

Parameters

public inherited method removeProvider ( _7 )

Parameters

public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method updateCommandModel ( _7 )

Parameters

public inherited method watch ( name , callback )

Watches a property for changes

Parameters