Javascript for Episerver 7.5 cms

Operation

Location

epi-cms/contentediting/Operation

Extends

Properties

_attrPairNames

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

changes

Array of changes associated with the current operation.

inProgress

Flag indicating if there is an operation in progress.

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _get ( name , names )

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

Parameters

public method abort ( )

Ends the current operation and raises an abort event with the accumulated data.


public method begin ( )

Begins a new operation. If there is an operation already is progress this does nothing.


public method constructor ( )


public inherited method emit ( type , event )

Parameters

public method end ( )

Ends the current operation and raises a commit event with the accumulated data.


public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public inherited method on ( type , listener )

Parameters

public inherited method postscript ( params )

Parameters

public method save ( data )

Saves the data to the current active operation otherwise raises a commit event with the data.

Parameters

public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method watch ( name , callback )

Watches a property for changes

Parameters