38 self::SCOPE_SAME_ORGU,
39 self::SCOPE_SUBSEQUENT_ORGUS
52 return "il_orgu_authority";
71 protected int $over = self::OVER_EVERYONE;
78 protected int $scope = self::SCOPE_SAME_ORGU;
95 if (static::$name_render === null) {
96 self::$name_render =
function (
$id) {
107 self::$name_render = $closure;
112 $renderer = self::$name_render;
114 return (
string) $renderer($this->
getId());
120 'id' => $this->
getId(),
170 throw new ilException(
'Selected Scop in ' . self::class .
' not allowed');
static returnDbTableName()
setPositionId(int $position_id)
__construct($primary_key=0)
ilOrgUnitAuthority constructor.
static replaceNameRenderer(Closure $closure)
setOver(int $over)
This is either an ID of a position or ilOrgUnitAuthority::OVER_EVERYONE.
setScope(int $scope)
This is either ilOrgUnitAuthority::SCOPE_SAME_ORGU, ilOrgUnitAuthority::SCOPE_ALL_ORGUS or ilOrgUnitA...
__construct(Container $dic, ilPlugin $plugin)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static Closure $name_render
const SCOPE_SUBSEQUENT_ORGUS