3 declare(strict_types=1);
31 public function getFor(
int $prg_obj_id): array;
41 int $last_edited_usr_id = null,
53 public function delete(
int $prg_obj_id,
string $source_type,
int $source_id):
void;
58 public function deleteFor(
int $prg_obj_id): void;
65 public static function getProgrammesFor(
string $source_type,
int $source_id): array;
getFor(int $prg_obj_id)
Read auto-membership sources of programme.
create(int $prg_obj_id, string $source_type, int $source_id, bool $enabled, int $last_edited_usr_id=null, DateTimeImmutable $last_edited=null)
Build an auto-membership source.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getProgrammesFor(string $source_type, int $source_id)
Get all programmes' obj_ids monitoring the given source.
deleteFor(int $prg_obj_id)
Delete all auto-membership sources of a programme.
update(ilStudyProgrammeAutoMembershipSource $ams)
Update an auto-membership source.