Added descriptionformat to studyplan class
This commit is contained in:
parent
1c19a92772
commit
f0847a0f14
1 changed files with 2 additions and 0 deletions
|
@ -159,6 +159,7 @@ class studyplan {
|
||||||
"idnumber" => new \external_value(PARAM_TEXT, 'idnumber of curriculum'),
|
"idnumber" => new \external_value(PARAM_TEXT, 'idnumber of curriculum'),
|
||||||
"context_id" => new \external_value(PARAM_INT, 'context_id of studyplan'),
|
"context_id" => new \external_value(PARAM_INT, 'context_id of studyplan'),
|
||||||
"description" => new \external_value(PARAM_TEXT, 'description 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" => new \external_value(PARAM_TEXT, 'selected aggregator'),
|
||||||
"aggregation_config" => new \external_value(PARAM_TEXT, 'config string for aggregator'),
|
"aggregation_config" => new \external_value(PARAM_TEXT, 'config string for aggregator'),
|
||||||
"aggregation_info" => aggregator::basic_structure(),
|
"aggregation_info" => aggregator::basic_structure(),
|
||||||
|
@ -183,6 +184,7 @@ class studyplan {
|
||||||
'idnumber' => $this->r->idnumber,
|
'idnumber' => $this->r->idnumber,
|
||||||
'context_id' => $this->context()->id,
|
'context_id' => $this->context()->id,
|
||||||
'description' => $this->r->description,
|
'description' => $this->r->description,
|
||||||
|
'descriptionformat' => $this->r->descriptionformat,
|
||||||
'aggregation' => $this->r->aggregation,
|
'aggregation' => $this->r->aggregation,
|
||||||
'aggregation_config' => $this->aggregator->config_string(),
|
'aggregation_config' => $this->aggregator->config_string(),
|
||||||
'aggregation_info' => $this->aggregator->basic_model(),
|
'aggregation_info' => $this->aggregator->basic_model(),
|
||||||
|
|
Loading…
Reference in a new issue