ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
SuperiorPositionId.php
Go to the documentation of this file.
1 <?php
20 
22 
27 class SuperiorPositionId extends Base
28 {
29  protected function run(array $params): int
30  {
32  }
33 
34  public function getName(): string
35  {
36  return "getSuperiorPositionId";
37  }
38 
42  protected function getAdditionalInputParams(): array
43  {
44  return array();
45  }
46 
47  public function getOutputParams(): array
48  {
49  return array('position_id' => Base::TYPE_INT);
50  }
51 
52  public function getDocumentation(): string
53  {
54  return "Returns the id of the default position 'Superior'";
55  }
56 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:33
static getCorePositionId(int $core_identifier)
getOutputParams()
Get the output parameters in the same format as the input parameters.
getDocumentation()
Get the documentation of this method.