3 declare(strict_types=1);
    32         $this->
setId(
'obj_cp_prog_tbl_' . $id);
    38         $this->objects = $ref_ids;
    48         $this->main_tpl->addOnLoadCode(
'il.CopyRedirection.setRedirectUrl("' . $url . 
'")');
    51     public function init(): void
    53         $this->main_tpl->addJavaScript(
'assets/js/ilCopyRedirection.js');
    54         $this->main_tpl->addOnLoadCode(
'il.CopyRedirection.checkDone()');
    58         $this->
setRowTemplate(
'tpl.object_copy_progress_table_row.html', 
'components/ILIAS/ILIASObject');
    60         $this->
addColumn($this->
lng->txt(
'obj_target_location'));
    64     protected function fillRow(array $set): void
    66         $this->tpl->setVariable(
'VAL_ID', $set[
'ref_id']);
    67         $this->tpl->setVariable(
'OBJ_TITLE', $set[
'title']);
    69         if (strlen($set[
'description'])) {
    70             $this->tpl->setVariable(
'VAL_DESC', $set[
'description']);
    73         $this->tpl->setVariable(
'TYPE_IMG', 
ilObject::_getIcon($set[
'obj_id'], 
"small", $set[
'type']));
    74         $this->tpl->setVariable(
'TYPE_STR', $this->
lng->txt(
'obj_' . $set[
'type']));
    79         $progress->setMax($set[
'max_steps']);
    80         $progress->setCurrent(0);
    81         $progress->setAnimated(
true);
    82         $progress->setId((
string) $set[
'copy_id']);
    85         $progress->setAsyncStatusUrl(
    86             $this->
ctrl->getLinkTarget(
    87                 $this->getParentObject(),
    94         $progress->setAsynStatusTimeout(1);
    95         $this->tpl->setVariable(
'PROGRESS_BAR', $progress->render());
   104             $set[$counter][
'ref_id'] = 
$ref_id;
   105             $set[$counter][
'copy_id'] = $copy_id;
   113             $set[$counter][
'max_steps'] = $copy_info->getRequiredSteps();
 
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item. 
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
GUI class for the workflow of copying objects. 
 
setRedirectionUrl(?string $url)
 
static _lookupObjId(int $ref_id)
 
setExternalSorting(bool $a_val)
 
setObjectInfo(array $ref_ids)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _lookupTitle(int $obj_id)
 
__construct(ilObjectCopyGUI $parent_obj, string $parent_cmd, int $id)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static _lookupDescription(int $obj_id)
 
__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 _getInstance(int $a_copy_id)
 
static _lookupType(int $id, bool $reference=false)