| Línea 61... |
Línea 61... |
| 61 |
* @param bool $showedit Whether to show the edit button.
|
61 |
* @param bool $showedit Whether to show the edit button.
|
| 62 |
* @param stdClass|null $submission A submission for this activity.
|
62 |
* @param stdClass|null $submission A submission for this activity.
|
| 63 |
* @param stdClass|null $teamsubmission A team submission for this activity.
|
63 |
* @param stdClass|null $teamsubmission A team submission for this activity.
|
| 64 |
* @param int $timelimit The time limit for completing this activity.
|
64 |
* @param int $timelimit The time limit for completing this activity.
|
| 65 |
*/
|
65 |
*/
|
| 66 |
public function __construct(int $cmid, bool $showsubmit, bool $showedit, stdClass $submission = null,
|
66 |
public function __construct(int $cmid, bool $showsubmit, bool $showedit, ?stdClass $submission = null,
|
| 67 |
stdClass $teamsubmission = null, int $timelimit = 0) {
|
67 |
?stdClass $teamsubmission = null, int $timelimit = 0) {
|
| Línea 68... |
Línea 68... |
| 68 |
|
68 |
|
| 69 |
$this->cmid = $cmid;
|
69 |
$this->cmid = $cmid;
|
| 70 |
$this->showsubmit = $showsubmit;
|
70 |
$this->showsubmit = $showsubmit;
|
| 71 |
$this->showedit = $showedit;
|
71 |
$this->showedit = $showedit;
|