LinkItemModel

Summary

The link item view model.

Description

That supports: Customize link item's data

Location

epi-cms/contentediting/viewmodel/LinkItemModel

Extends

Properties

_attrPairNames

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

_defaultDataStoreName

Default data store name to get from registry, if store is null.

iconTypeKey

Property name for the IconType value.

id

The identifier of this.

module

"epi-cms/contentediting/viewmodel/LinkItemModel"

permanentUrl

The permanent url of this item. That prop equal to href prop If the item parsed from an converted item, should update href prop by this.

publicUrl

The public url of this item

textKey

titleKey

typeIdentifier

The item's content type.

Methods

protected method _onTryUpdateItemModel ( )

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


protected method _permanentUrlSetter ( value )

Customize default set method for permanentUrl prop.

Parameters

protected method _publicUrlGetter ( )

Customize get method to return correct a public url.


protected method own ( )

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


public inherited 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