ILIAS  release_8 Revision v8.24
class.ilStudyProgrammeMembershipSourceReaderFactory.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
25{
26 protected Pimple\Container $dic;
27
28 public function __construct(Pimple\Container $dic)
29 {
30 $this->dic = $dic;
31 }
32
38 public function getReaderFor(string $src_type, int $src_id): ilStudyProgrammeMembershipSourceReader
39 {
40 switch ($src_type) {
43 $this->dic['rbacreview'],
44 $src_id
45 );
50 );
55 $src_id
56 );
57
58 default:
59 throw new InvalidargumentException("Invalid source type.", 1);
60 }
61 }
62}
Class ilOrgUnitUserAssignment.
static getInstance(int $a_ref_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getReaderFor(string $src_type, int $src_id)
Build a MembershipSourceReader according to $src_type.
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...
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...