MContextualCorner

MContextualCorner ⇐ MCorner

Class defining a contextual Corner entry holding associated contents.

Kind: global mixin
Extends: MCorner
See: AbstractMCorner

getComponentContents(entryId, componentId, options) ⇒ ListModel.<BusinessModel>

Return the contents that will populate a component of an entry. May contains different types of items depending of the type of the component. Here a content refers to a data model (Content, Channel, People, Event, …).

Kind: instance method of MContextualCorner
Returns: ListModel.<BusinessModel> - A list model object holding an associated contextual business model.

ParamTypeDescription
entryIdstring

the id of the entry

componentIdstring

the id of the component

optionsObject | null

additional options