3 declare(strict_types=1);
    39         $this->
user = $DIC->user();
    40         $this->obj_definition = $DIC[
"objDefinition"];
    42         $this->
setId(
'obj_copy_' . $type);
    46         if (!$this->obj_definition->isPlugin($this->type)) {
    47             $title = $this->
lng->txt(
'obj_' . $this->type . 
'_duplicate');
    54         $this->
user->getPref(
'search_max_hits');
    56         $this->
addColumn($this->
lng->txt(
'search_title_description'), 
'title', 
'99%');
    59         $this->
setRowTemplate(
"tpl.obj_copy_search_result_row.html", 
"Services/Object");
    65         if ($this->obj_definition->isContainer($this->type)) {
    87         foreach ($res as $obj_id => $references) {
    90             $r[
'obj_id'] = $obj_id;
    91             $r[
'refs'] = $references;
    99     protected function fillRow(array $set): void
   101         $this->tpl->setVariable(
'VAL_TITLE', $set[
'title']);
   102         if (strlen($set[
'desc'])) {
   103             $this->tpl->setVariable(
'VAL_DESC', $set[
'desc']);
   105         $this->tpl->setVariable(
'TXT_PATHES', $this->
lng->txt(
'pathes'));
   107         foreach ((array) $set[
'refs'] as $reference) {
   110             $this->tpl->setCurrentBlock(
'path');
   111             $this->tpl->setVariable(
'VAL_ID', $reference);
   115                 $this->tpl->setVariable(
'VAL_CHECKED', 
'checked="checked"');
   118             $this->tpl->parseCurrentBlock();
 
Creates a path for a start and endnode. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setEnableTitle(bool $a_enabletitle)
 
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
setSelectedReference(int $selected_reference)
 
parses the objects.xml it handles the xml-description of all ilias objects 
 
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector. 
 
static _lookupTitle(int $obj_id)
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static _lookupDescription(int $obj_id)
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
static getPluginObjectByType(string $type)
Return either a repoObject plugin or a orgunit extension plugin or null if the type is not a plugin...
 
setEnableNumInfo(bool $a_val)
 
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)
 
parseSearchResults(array $res)
 
ilObjectDefinition $obj_definition
 
setEnableHeader(bool $a_enableheader)
 
__construct(?object $parent_class, string $parent_cmd, string $type)