Javascript for Episerver 7.5 cms

NewContent

Location

epi-cms/command/NewContent

Extends

Properties

_attrPairNames

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

_modelChangeWatcher

canChangeLocalAssetName

Indicates that we can change the name of a new local asset content when create a new instance.

canExecute

category

contentType

The type of the content that the create content view should display.

createAsLocalAsset

Indicate if the content should be created as local asset of its parent.

iconClass

isAvailable

label

model

order

tooltip

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public method _checkAvailability ( availableContentTypes )

Parameters

protected method _execute ( )

Executes this command; publishes a change view request to change to the create content view.


public inherited method _get ( name , names )

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

Parameters

protected method _onModelChange ( )

Updates canExecute after the model has been updated.


public inherited method destroy ( )


public inherited method execute ( )


public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public method postscript ( )


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 ( )