discussion

Represents a discussion

class discussionCollection()

Discussions collection

Extends

app.models.base.BaseCollection()

discussionCollection.app.models.discussion.discussionCollection.url
Type

string

class discussionModel()

Discussion model Frontend model for assembl.models.discussion.Discussion

Extends

app.models.base.BaseModel()

discussionModel.app.models.discussion.discussionModel.url
Type

string

discussionModel.getRolesForPermission(permission)

Returns roles according to permission

Arguments
  • permission (Object) –

Return type

Array

discussionModel.getVisualizations()

Get visualizations

Return type

BaseCollection

discussionModel.hasTranslationService()

Checks if translation service is available

Return type

Boolean

discussionModel.validate()

Validate the model attributes