22 self::SCOPE_SAME_ORGU,
23 self::SCOPE_SUBSEQUENT_ORGUS,
42 return "il_orgu_authority";
95 parent::__construct($primary_key, $connector);
96 if (!self::$name_render) {
97 self::$name_render =
function (
$id) {
109 self::$name_render = $closure;
120 return $renderer($this->
getId());
130 'id' => $this->
getId(),
195 if (!in_array(
$scope, self::$scopes)) {
196 throw new ilException(
'Selected Scop in ' . self::class .
' not allowed');
An exception for terminatinating execution or to throw for unit testing.
Base class for ILIAS Exception handling.
setOver($over)
This is either an ID of a position or ilOrgUnitAuthority::OVER_EVERYONE.
const SCOPE_SUBSEQUENT_ORGUS
__construct($primary_key=0, \arConnector $connector=null)
ilOrgUnitAuthority constructor.
static replaceNameRenderer(Closure $closure)
static returnDbTableName()
setPositionId($position_id)
setScope($scope)
This is either ilOrgUnitAuthority::SCOPE_SAME_ORGU, ilOrgUnitAuthority::SCOPE_ALL_ORGUS or ilOrgUnitA...