From f0847a0f146f3d12556a1aa0354c104afe671916 Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Thu, 19 Oct 2023 17:48:29 +0200 Subject: [PATCH] Added descriptionformat to studyplan class --- classes/studyplan.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/studyplan.php b/classes/studyplan.php index 221ddb8..28e90c8 100644 --- a/classes/studyplan.php +++ b/classes/studyplan.php @@ -159,6 +159,7 @@ class studyplan { "idnumber" => new \external_value(PARAM_TEXT, 'idnumber of curriculum'), "context_id" => new \external_value(PARAM_INT, 'context_id of studyplan'), "description" => new \external_value(PARAM_TEXT, 'description of studyplan'), + "descriptionformat" => new \external_value(PARAM_INT, 'description format'), "aggregation" => new \external_value(PARAM_TEXT, 'selected aggregator'), "aggregation_config" => new \external_value(PARAM_TEXT, 'config string for aggregator'), "aggregation_info" => aggregator::basic_structure(), @@ -183,6 +184,7 @@ class studyplan { 'idnumber' => $this->r->idnumber, 'context_id' => $this->context()->id, 'description' => $this->r->description, + 'descriptionformat' => $this->r->descriptionformat, 'aggregation' => $this->r->aggregation, 'aggregation_config' => $this->aggregator->config_string(), 'aggregation_info' => $this->aggregator->basic_model(),