| Línea 341... |
Línea 341... |
| 341 |
'm.sendlatenotifications, ' .
|
341 |
'm.sendlatenotifications, ' .
|
| 342 |
'm.sendstudentnotifications, ' .
|
342 |
'm.sendstudentnotifications, ' .
|
| 343 |
'm.duedate, ' .
|
343 |
'm.duedate, ' .
|
| 344 |
'm.allowsubmissionsfromdate, '.
|
344 |
'm.allowsubmissionsfromdate, '.
|
| 345 |
'm.grade, ' .
|
345 |
'm.grade, ' .
|
| - |
|
346 |
'm.gradepenalty, ' .
|
| 346 |
'm.timemodified, '.
|
347 |
'm.timemodified, '.
|
| 347 |
'm.completionsubmit, ' .
|
348 |
'm.completionsubmit, ' .
|
| 348 |
'm.cutoffdate, ' .
|
349 |
'm.cutoffdate, ' .
|
| 349 |
'm.gradingduedate, ' .
|
350 |
'm.gradingduedate, ' .
|
| 350 |
'm.teamsubmission, ' .
|
351 |
'm.teamsubmission, ' .
|
| Línea 420... |
Línea 421... |
| 420 |
'sendlatenotifications' => $module->sendlatenotifications,
|
421 |
'sendlatenotifications' => $module->sendlatenotifications,
|
| 421 |
'sendstudentnotifications' => $module->sendstudentnotifications,
|
422 |
'sendstudentnotifications' => $module->sendstudentnotifications,
|
| 422 |
'duedate' => $assign->get_instance()->duedate,
|
423 |
'duedate' => $assign->get_instance()->duedate,
|
| 423 |
'allowsubmissionsfromdate' => $assign->get_instance()->allowsubmissionsfromdate,
|
424 |
'allowsubmissionsfromdate' => $assign->get_instance()->allowsubmissionsfromdate,
|
| 424 |
'grade' => $module->grade,
|
425 |
'grade' => $module->grade,
|
| - |
|
426 |
'gradepenalty' => $module->gradepenalty,
|
| 425 |
'timemodified' => $module->timemodified,
|
427 |
'timemodified' => $module->timemodified,
|
| 426 |
'completionsubmit' => $module->completionsubmit,
|
428 |
'completionsubmit' => $module->completionsubmit,
|
| 427 |
'cutoffdate' => $assign->get_instance()->cutoffdate,
|
429 |
'cutoffdate' => $assign->get_instance()->cutoffdate,
|
| 428 |
'gradingduedate' => $assign->get_instance()->gradingduedate,
|
430 |
'gradingduedate' => $assign->get_instance()->gradingduedate,
|
| 429 |
'teamsubmission' => $module->teamsubmission,
|
431 |
'teamsubmission' => $module->teamsubmission,
|
| Línea 539... |
Línea 541... |
| 539 |
'sendlatenotifications' => new external_value(PARAM_INT, 'send notifications'),
|
541 |
'sendlatenotifications' => new external_value(PARAM_INT, 'send notifications'),
|
| 540 |
'sendstudentnotifications' => new external_value(PARAM_INT, 'send student notifications (default)'),
|
542 |
'sendstudentnotifications' => new external_value(PARAM_INT, 'send student notifications (default)'),
|
| 541 |
'duedate' => new external_value(PARAM_INT, 'assignment due date'),
|
543 |
'duedate' => new external_value(PARAM_INT, 'assignment due date'),
|
| 542 |
'allowsubmissionsfromdate' => new external_value(PARAM_INT, 'allow submissions from date'),
|
544 |
'allowsubmissionsfromdate' => new external_value(PARAM_INT, 'allow submissions from date'),
|
| 543 |
'grade' => new external_value(PARAM_INT, 'grade type'),
|
545 |
'grade' => new external_value(PARAM_INT, 'grade type'),
|
| - |
|
546 |
'gradepenalty' => new external_value(PARAM_INT, 'if enabled, penalty will be applied to late submissions'),
|
| 544 |
'timemodified' => new external_value(PARAM_INT, 'last time assignment was modified'),
|
547 |
'timemodified' => new external_value(PARAM_INT, 'last time assignment was modified'),
|
| 545 |
'completionsubmit' => new external_value(PARAM_INT, 'if enabled, set activity as complete following submission'),
|
548 |
'completionsubmit' => new external_value(PARAM_INT, 'if enabled, set activity as complete following submission'),
|
| 546 |
'cutoffdate' => new external_value(PARAM_INT, 'date after which submission is not accepted without an extension'),
|
549 |
'cutoffdate' => new external_value(PARAM_INT, 'date after which submission is not accepted without an extension'),
|
| 547 |
'gradingduedate' => new external_value(PARAM_INT, 'the expected date for marking the submissions'),
|
550 |
'gradingduedate' => new external_value(PARAM_INT, 'the expected date for marking the submissions'),
|
| 548 |
'teamsubmission' => new external_value(PARAM_INT, 'if enabled, students submit as a team'),
|
551 |
'teamsubmission' => new external_value(PARAM_INT, 'if enabled, students submit as a team'),
|
| Línea 2548... |
Línea 2551... |
| 2548 |
array(
|
2551 |
array(
|
| 2549 |
'gradingsummary' => new external_single_structure(
|
2552 |
'gradingsummary' => new external_single_structure(
|
| 2550 |
array(
|
2553 |
array(
|
| 2551 |
'participantcount' => new external_value(PARAM_INT, 'Number of users who can submit.'),
|
2554 |
'participantcount' => new external_value(PARAM_INT, 'Number of users who can submit.'),
|
| 2552 |
'submissiondraftscount' => new external_value(PARAM_INT, 'Number of submissions in draft status.'),
|
2555 |
'submissiondraftscount' => new external_value(PARAM_INT, 'Number of submissions in draft status.'),
|
| 2553 |
'submissiondraftscount' => new external_value(PARAM_INT, 'Number of submissions in draft status.'),
|
- |
|
| 2554 |
'submissionsenabled' => new external_value(PARAM_BOOL, 'Whether submissions are enabled or not.'),
|
2556 |
'submissionsenabled' => new external_value(PARAM_BOOL, 'Whether submissions are enabled or not.'),
|
| 2555 |
'submissionssubmittedcount' => new external_value(PARAM_INT, 'Number of submissions in submitted status.'),
|
2557 |
'submissionssubmittedcount' => new external_value(PARAM_INT, 'Number of submissions in submitted status.'),
|
| 2556 |
'submissionsneedgradingcount' => new external_value(PARAM_INT, 'Number of submissions that need grading.'),
|
2558 |
'submissionsneedgradingcount' => new external_value(PARAM_INT, 'Number of submissions that need grading.'),
|
| 2557 |
'warnofungroupedusers' => new external_value(PARAM_ALPHA, 'Whether we need to warn people that there
|
2559 |
'warnofungroupedusers' => new external_value(PARAM_ALPHA, 'Whether we need to warn people that there
|
| 2558 |
are users without groups (\'warningrequired\'), warn
|
2560 |
are users without groups (\'warningrequired\'), warn
|