ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilStudyProgrammeLP.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 protected ?ilObjStudyProgramme $prg = null;
24
29 public static function getDefaultModes(bool $lp_active): array
30 {
32 }
33
34 public function getDefaultMode(): int
35 {
37 }
38
42 public function getValidModes(): array
43 {
44 return [
47 ];
48 }
49
54 public function getMembers(bool $search = true): array
55 {
56 if ($this->prg === null) {
57 $this->prg = new ilObjStudyProgramme($this->obj_id, false);
58 }
59 return $this->prg->getIdsOfUsersWithRelevantProgress();
60 }
61}
Base class for object lp connectors.
static getDefaultModes(bool $lp_active)
getMembers(bool $search=true)
ilObjStudyProgramme $prg