19 declare(strict_types=1);
    51     public function delete(
int $parent_id, 
int $position_id): 
bool;
 find(int $parent_id, int $position_id)
Find local permission for parent and position Does not create new local permissions, returns null if no local permission exists. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getDefaultsForActiveContexts(int $position_id, bool $editable=false)
Get an array of default settings for all active contexts If the settings don't exist yet...
 
getDefaultForContext(string $context_name, int $position_id, bool $editable=false)
Get the default setting for a specified context If the setting does not exist, it is created (if perm...
 
store(ilOrgUnitPermission $permission)
Store permission to db Returns permission with updated fields (see update()) 
 
getLocalorDefault(int $parent_id, int $position_id)
Get an existing local permission. 
 
update(ilOrgUnitPermission $permission)
Update/refresh the additional fields of the permssion object (e.g.