|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilStudyProgrammeAutoCategoryDBRepository:
Collaboration diagram for ilStudyProgrammeAutoCategoryDBRepository:Public Member Functions | ||||
| __construct (ilDBInterface $db, int $current_usr_id) | ||||
| getFor (int $prg_obj_id) | ||||
Read category-surveillance settings of programme.
| ||||
| create (int $prg_obj_id, int $category_ref_id, int $last_edited_usr_id=null, DateTimeImmutable $last_edited=null) | ||||
| Build an auto-category object. More... | ||||
| update (ilStudyProgrammeAutoCategory $ac) | ||||
| Store a category-surveillance setting. More... | ||||
| delete (int $prg_obj_id, array $cat_ref_ids) | ||||
Delete a single category-surveillance.
| ||||
| deleteFor (int $prg_obj_id) | ||||
| Delete all category-surveillance settings for a StudyProgramme. More... | ||||
| getFor (int $prg_obj_id) | ||||
| Read category-surveillance settings of programme. More... | ||||
| create (int $prg_obj_id, int $category_ref_id, int $last_edited_usr_id=null, DateTimeImmutable $last_edited=null) | ||||
| Build an auto-category object. More... | ||||
| update (ilStudyProgrammeAutoCategory $ac) | ||||
| Store a category-surveillance setting. More... | ||||
| delete (int $prg_obj_id, array $cat_ref_ids) | ||||
| Delete a single category-surveillance. More... | ||||
| deleteFor (int $prg_obj_id) | ||||
| Delete all category-surveillance settings for a StudyProgramme. More... | ||||
Static Public Member Functions | |
| static | getProgrammesFor (int $cat_ref_id) |
Get all programmes' ref_ids monitoring the given category.
| |
| static | getProgrammesFor (int $cat_ref_id) |
| Get all programmes' ref_ids monitoring the given category. More... | |
Protected Attributes | |
| ilDBInterface | $db |
| int | $current_usr_id |
Private Attributes | |
| const | TABLE = 'prg_auto_content' |
| const | FIELD_PRG_OBJ_ID = 'prg_obj_id' |
| const | FIELD_CAT_REF_ID = 'cat_ref_id' |
| const | FIELD_EDITOR_ID = 'last_usr_id' |
| const | FIELD_LAST_EDITED = 'last_edited' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilStudyProgrammeAutoCategoryDBRepository
Definition at line 26 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
| ilStudyProgrammeAutoCategoryDBRepository::__construct | ( | ilDBInterface | $db, |
| int | $current_usr_id | ||
| ) |
Definition at line 37 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
References $current_usr_id, and $db.
| ilStudyProgrammeAutoCategoryDBRepository::create | ( | int | $prg_obj_id, |
| int | $category_ref_id, | ||
| int | $last_edited_usr_id = null, |
||
| DateTimeImmutable | $last_edited = null |
||
| ) |
Build an auto-category object.
Implements ilStudyProgrammeAutoCategoryRepository.
Definition at line 75 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
References $current_usr_id.
Referenced by getFor().
Here is the caller graph for this function:| ilStudyProgrammeAutoCategoryDBRepository::delete | ( | int | $prg_obj_id, |
| array | $cat_ref_ids | ||
| ) |
Delete a single category-surveillance.
| int[] | $cat_ref_ids |
Implements ilStudyProgrammeAutoCategoryRepository.
Definition at line 134 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
| ilStudyProgrammeAutoCategoryDBRepository::deleteFor | ( | int | $prg_obj_id | ) |
Delete all category-surveillance settings for a StudyProgramme.
Implements ilStudyProgrammeAutoCategoryRepository.
Definition at line 155 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
References $query.
| ilStudyProgrammeAutoCategoryDBRepository::getFor | ( | int | $prg_obj_id | ) |
Read category-surveillance settings of programme.
Implements ilStudyProgrammeAutoCategoryRepository.
Definition at line 48 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
References $query, $res, and create().
Here is the call graph for this function:
|
static |
Get all programmes' ref_ids monitoring the given category.
Implements ilStudyProgrammeAutoCategoryRepository.
Definition at line 168 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
| ilStudyProgrammeAutoCategoryDBRepository::update | ( | ilStudyProgrammeAutoCategory | $ac | ) |
Store a category-surveillance setting.
Implements ilStudyProgrammeAutoCategoryRepository.
Definition at line 99 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
References $query, ilStudyProgrammeAutoCategory\getCategoryRefId(), ilStudyProgrammeAutoCategory\getPrgObjId(), ilDBInterface\insert(), and ilDBInterface\manipulate().
Here is the call graph for this function:
|
protected |
Definition at line 35 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
Referenced by __construct(), and create().
|
protected |
Definition at line 34 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
Referenced by __construct().
|
private |
Definition at line 30 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
|
private |
Definition at line 31 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
|
private |
Definition at line 32 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
|
private |
Definition at line 29 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.
|
private |
Definition at line 28 of file class.ilStudyProgrammeAutoCategoryDBRepository.php.