Options
All
  • Public
  • Public/Protected
  • All
Menu

This model is meant to be a subdocument. AcademicActivity represents an academic event, when a student gets a mark for some activity he made (executed practice task, passed a credit/exam). You may render message template strings, which describe the result of this activity. The results are generated randomly. Template string must have the shape of text ${teacher} text ${mark} text ${student} text ${subject}, which may be rendered, replacing ${...} patterns with appropriate data.

Hierarchy

Index

Properties

mark_range

mark_range: MarkRangeDoc

Defines a range of marks student may get for this activity.

message_templates

message_templates: object

Template strings with the shape of 'text ${teacher} text ${mark} text ${student} text ${subject}'. Apply a regular expression and substitute ${...} patterns with appropriate data.

Type declaration

Generated using TypeDoc