ILIAS  release_7 Revision v7.30-3-g800a261c036
PositionIds.php
Go to the documentation of this file.
1<?php
2
4
6
12class PositionIds extends Base
13{
14
20 protected function run(array $params)
21 {
22 return ilOrgUnitPosition::getArray(null, 'id');
23 }
24
25
29 public function getName()
30 {
31 return "getPositionIds";
32 }
33
34
38 protected function getAdditionalInputParams()
39 {
40 return array();
41 }
42
43
47 public function getOutputParams()
48 {
49 return array('position_ids' => Base::TYPE_INT_ARRAY);
50 }
51
52
56 public function getDocumentation()
57 {
58 return "Returns an array of all existing position ids";
59 }
60}
static getArray($key=null, $values=null)
An exception for terminatinating execution or to throw for unit testing.
getOutputParams()
Get the output parameters in the same format as the input parameters.array
Definition: PositionIds.php:47
getDocumentation()
Get the documentation of this method.string
Definition: PositionIds.php:56
Class ilOrgUnitPosition.