3 declare(strict_types = 1);
14 public function getFor(
int $prg_obj_id) : array;
25 int $last_edited_usr_id = null,
38 public function delete(
int $prg_obj_id,
string $source_type,
int $source_id);
43 public function deleteFor(
int $prg_obj_id);
49 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.
Persistence of "monitored" sources for automatic membership.
Class ilStudyProgrammeAutoMembershipSource.
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.