ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PositionIds.php
Go to the documentation of this file.
1<?php
2
20
22
27class PositionIds extends Base
28{
29 protected function run(array $params): array
30 {
31 return $this->positionRepo->getArray(null, 'id');
32 }
33
34 public function getName(): string
35 {
36 return "getPositionIds";
37 }
38
39 protected function getAdditionalInputParams(): array
40 {
41 return array();
42 }
43
44 public function getOutputParams(): array
45 {
46 return array('position_ids' => Base::TYPE_INT_ARRAY);
47 }
48
49 public function getDocumentation(): string
50 {
51 return "Returns an array of all existing position ids";
52 }
53}
getName()
Get the name of the method.
Definition: PositionIds.php:34
getOutputParams()
Get the output parameters in the same format as the input parameters.
Definition: PositionIds.php:44
getDocumentation()
Get the documentation of this method.
Definition: PositionIds.php:49
Class ilOrgUnitPosition.
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...