1 | <?php |
||
24 | final class InstitutionConfigurationOptionsService implements InstitutionConfigurationOptionsServiceInterface |
||
25 | { |
||
26 | /** |
||
27 | * @var ApiInstitutionConfigurationOptionsService |
||
28 | */ |
||
29 | private $apiInstitutionConfigurationOptionsService; |
||
30 | |||
31 | public function __construct(ApiInstitutionConfigurationOptionsService $apiService) |
||
35 | |||
36 | /** |
||
37 | * @param $institution |
||
38 | * @return null|InstitutionConfigurationOptions |
||
39 | */ |
||
40 | public function getInstitutionConfigurationOptionsFor($institution) |
||
59 | |||
60 | /** |
||
61 | * Return the institutions that are configured in the useRa and useRaa insititution |
||
62 | * configuration options. |
||
63 | * |
||
64 | * If one of the two configuration options is configured with null (the default), |
||
65 | * than the institution the query was performed for is set as the default. |
||
66 | * |
||
67 | * @param $institution |
||
68 | * @return array |
||
69 | */ |
||
70 | public function getAvailableInstitutionsFor($institution) |
||
86 | |||
87 | /** |
||
88 | * Return the institutions that can handle ra(a) actions on behalf of institution |
||
89 | * configuration options. |
||
90 | * |
||
91 | * If one of the two configuration options is configured with null (the default), |
||
92 | * than the institution the query was performed for is set as the default. |
||
93 | * |
||
94 | * @param $institution |
||
95 | * @return array |
||
96 | */ |
||
97 | public function getAvailableSeleactRaaInstitutionsFor($institution) |
||
108 | } |
||
109 |