Skip to content

Commit

Permalink
MDL-60979 cohort: allow description to be used in mustache templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Dec 12, 2017
1 parent 5f54a87 commit d55d207
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cohort/classes/external/cohort_summary_exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ public static function define_properties() {
'default' => '',
'null' => NULL_ALLOWED
),
'description' => array(
'type' => PARAM_TEXT,
'default' => '',
'null' => NULL_ALLOWED
),
'descriptionformat' => array(
'type' => PARAM_INT,
'default' => FORMAT_HTML,
'null' => NULL_ALLOWED
),
'visible' => array(
'type' => PARAM_BOOL,
)
Expand Down

0 comments on commit d55d207

Please sign in to comment.