ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
interface.ilStudyProgrammeAutoCategoryRepository.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types = 1);
4
9{
15 public function readFor(int $prg_obj_id) : array;
16
21 public function create(
22 int $prg_obj_id,
23 int $category_ref_id,
24 int $last_edited_usr_id = null,
25 \DateTimeImmutable $last_edited = null
27
33
39 public function delete(int $prg_obj_id, array $cat_ref_ids);
40
45 public function deleteFor(int $prg_obj_id);
46
51 public static function getProgrammesFor(int $cat_ref_id) : array;
52}
An exception for terminatinating execution or to throw for unit testing.
Class ilStudyProgrammeAutoCategory.
Persistence of "monitored" categories for a StudyProgramme.
static getProgrammesFor(int $cat_ref_id)
Get all programmes' ref_ids monitoring the given category.
update(ilStudyProgrammeAutoCategory $ac)
Store a category-surveillance setting.
deleteFor(int $prg_obj_id)
Delete all category-surveillance settings for a StudyProgramme.
create(int $prg_obj_id, int $category_ref_id, int $last_edited_usr_id=null, \DateTimeImmutable $last_edited=null)
Build an auto-category object.
readFor(int $prg_obj_id)
Read category-surveillance settings of programme.