ideaContentLink¶

The link between an idea and a message.

IdeaContentLinkTypeRank()¶
class Collection()¶

Idea content link collection This Collection is NOT created from an API call, like most other models, collections. It will be created from an array that will be passed from the message model.

Extends

app.models.base.BaseCollection()

Collection.app.models.ideaContentLink.Collection.initialize¶
Type

string

Collection.app.models.ideaContentLink.Collection.url¶
Type

string

Collection.comparator(one, two)¶

Firstly, sort based on direct vs indirect, then sort based on types. If the types match, sort in ascending order.

Arguments
  • one (Object) –

  • two (Object) –

Collection.getIdeaNamesPromise()¶

The string of short names of the ideas that a message is associated to. Note: It does not contain those that the user clipboarded.

Return type

Array

class IdeaContentLinkModel()¶

Idea content link model Frontend model for assembl.models.idea_content_link.IdeaContentLink

Extends

app.models.base.BaseModel()

IdeaContentLinkModel.app.models.ideaContentLink.IdeaContentLinkModel.urlRoot¶
Type

string

IdeaContentLinkModel.getCreationDate()¶
Return type

String

IdeaContentLinkModel.getLinkCreatorModelPromise()¶

Returns the link creator model promise

Return type

Promise

IdeaContentLinkModel.getMessageStructurePromise()¶

Returns message structure model promise

Return type

Promise

IdeaContentLinkModel.getMessageStructurePromise()¶

Returns idea model promise

Return type

Promise

IdeaContentLinkModel.getPostCreatorModelPromise()¶

Returns the post creator model promise

Return type

Promise

IdeaContentLinkModel.isDirect()¶

Helper function for the comparator, might not work

Return type

Boolean

Idealoom

Navigation

  • Installing IdeaLoom
  • IdeaLoom Configuration files
  • Setting-up backups for an IdeaLoom server
  • Python Requirements
  • The IdeaLoom technology stack
  • Permissions and roles architecture
  • Group and panels architecture
  • Data interdependence in the frontend
  • How to perform common developper tasks
  • Writing documentation for IdeaLoom
  • Contributing to IdeaLoom translations
  • Building a docker image
  • Writing tests
  • Example debate fixture
  • Development: Creating a new model class tutorial
  • IdeaLoom’s routes and APIs
  • Piwik Reporting API
  • Analytics Events
  • assembl
  • API
    • app
      • common
      • internal_modules
      • models
      • routeManager
      • router
      • tests
      • objects
      • utils
      • views

Related Topics

  • Documentation overview
    • API
      • app
        • models
          • Previous: idea
          • Next: ideaLink

Quick search

©2012-2020, Clouds Collective of skills inc., Bluenove Group inc., Imagination For People, Caravan Web Worker Cooperative inc., Technologies Coeus inc., Solutions Conversence inc.. | Powered by Sphinx 3.5.1 & Alabaster 0.7.12 | Page source