Javascript for Episerver 7.5 cms

CollectionItemModel

Summary

The item view model.

Description

That is a base class for all collection item models.

Location

epi-cms/contentediting/viewmodel/CollectionItemModel

Extends

Properties

_attrPairNames

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

iconTypeKey

Property name for the IconType value.

id

The identifier of this.

module

"epi-cms/contentediting/viewmodel/CollectionItemModel"

textKey

titleKey

Property name for the title value.

typeIdentifier

The item's content type.

Methods

protected method _onTryUpdateItemModel ( )

Callback method that called when we need updated item's model


protected method own ( )

Track specified handles and remove/destroy them when this instance is destroyed, unless they were already removed/destroyed manually.


public method parse ( tryUpdateItem )

User can be dnd some kind of data, so we need an generic method to process allover. That should be implemented by deliver class

Parameters

public method serialize ( )

Serialize data to be accepted by server that should be implemented by deliver class