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(),