19 declare(strict_types=1);
    41         $this->
ctrl = $DIC[
'ilCtrl'];
    42         $this->
lng = $DIC[
'lng'];
    43         $this->
access = $DIC[
'ilAccess'];
    44         $this->tree = $DIC[
'tree'];
    45         $this->obj_definition = $DIC[
'objDefinition'];
    46         $this->ui_factory = $DIC[
'ui.factory'];
    47         $this->ui_renderer = $DIC[
'ui.renderer'];
    51         $this->
setId(
'objownmgmt'); 
    60         $this->
setRowTemplate(
'tpl.obj_ownership_row.html', 
'components/ILIAS/ILIASObject');
    76         if (!$this->user_id) {
    80         foreach ($data as 
$id => $item) {
    86                     if (!$this->tree->isDeleted($ref_id)) {
    88                             $readable = $this->
access->checkAccessOfUser(
    96                             $readable = $is_admin;
   105                             'readable' => $readable
   117         $icon = $this->ui_factory->symbol()->icon()->standard($set[
'type'], $set[
'title'], Standard::MEDIUM);
   118         $this->tpl->setVariable(
'ICON', $this->ui_renderer->render(
$icon));
   120         $this->tpl->setVariable(
   122             $this->
refinery->encode()->htmlSpecialCharsAsEntities()->transform(
   126         $this->tpl->setVariable(
'PATH', $set[
'path']);
   129             $this->tpl->setCurrentBlock(
'actions');
   130             $this->tpl->setVariable(
'ACTIONS', $this->
buildActions($set[
'ref_id'], $set[
'type']));
   131             $this->tpl->parseCurrentBlock();
   137         $this->
ctrl->setParameter($this->parent_obj, 
'ownid', $ref_id);
   140         $actions[] = $this->ui_factory->link()->standard(
   141             $this->
lng->txt(
'show'),
   142             ilLink::_getLink($ref_id, $type)
   145         $actions[] = $this->ui_factory->link()->standard(
   146             $this->
lng->txt(
'move'),
   147             $this->
ctrl->getLinkTargetByClass(get_class($this->parent_obj), 
'move')
   150         $actions[] = $this->ui_factory->link()->standard(
   151             $this->
lng->txt(
'change_owner'),
   152             $this->
ctrl->getLinkTargetByClass(get_class($this->parent_obj), 
'changeOwner')
   155         if (!in_array($type, [
'crsr', 
'catr', 
'grpr']) && $this->obj_definition->allowExport($type)) {
   156             $actions[] = $this->ui_factory->link()->standard(
   157                 $this->
lng->txt(
'export'),
   158                 $this->
ctrl->getLinkTargetByClass(get_class($this->parent_obj), 
'export')
   162         $actions[] = $this->ui_factory->link()->standard(
   163             $this->
lng->txt(
'delete'),
   164             $this->
ctrl->getLinkTargetByClass(get_class($this->parent_obj), 
'delete')
   167         $actions_dropdown = $this->ui_factory->dropdown()->standard($actions)
   168             ->withLabel($this->
lng->txt(
'actions'));
   170         $this->
ctrl->setParameter($this->parent_obj, 
'ownid', 
'');
   172         return $this->ui_renderer->render($actions_dropdown);
   179         $path_full = $this->tree->getPathFull($ref_id);
   180         foreach ($path_full as 
$data) {
   181             if (++$counter < (count($path_full) - 2)) {
   184             if ($ref_id != $data[
'ref_id']) {
   185                 $path .= 
' » ' . $data[
'title'];
   194         if (!method_exists($this->parent_obj, 
'isReadOnly')) {
   197         return $this->parent_obj->isReadOnly();
 
__construct(?object $parent_obj, string $parent_cmd, int $user_id)
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
static _getAllReferences(int $id)
get all reference ids for object ID 
 
setDisableFilterHiding(bool $a_val=true)
 
ilObjectDefinition $obj_definition
 
buildActions(int $ref_id, string $type)
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
__construct(Container $dic, ilPlugin $plugin)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
static _lookupType(int $id, bool $reference=false)