37         string $a_obj_type = null
    41         $ilCtrl = $DIC->ctrl();
    57         $this->
setRowTemplate(
"tpl.history_row.html", 
"components/ILIAS/History");
    68     protected function fillRow(array $a_set): void
    71         $this->tpl->setVariable(
    75         $this->tpl->setVariable(
"TXT_ACTION", $this->
createInfoText($a_set));
    78             $obj_arr = explode(
":", $a_set[
"obj_type"]);
    79             switch ($obj_arr[1] ?? 
"") {
    82                     $class = 
"ilstructureobjectgui";
    88                     $class = 
"illmpageobjectgui";
    93                     $img_type = $obj_arr[0] ?? 
"";
    99             $this->tpl->setCurrentBlock(
"item_icon");
   100             $this->tpl->setVariable(
   104             $this->tpl->parseCurrentBlock();
   107                 $this->tpl->setCurrentBlock(
"item_link");
   108                 $this->
ilCtrl->setParameterByClass($class, 
"obj_id", $a_set[
"obj_id"]);
   109                 $this->tpl->setVariable(
   111                     $this->
ilCtrl->getLinkTargetByClass($class, $cmd)
   113                 $this->tpl->setVariable(
"TXT_LINK", $a_set[
"title"]);
   115                 $this->tpl->setCurrentBlock(
"item_title");
   116                 $this->tpl->setVariable(
   121             $this->tpl->parseCurrentBlock();
   125             $this->tpl->setCurrentBlock(
"user_comment");
   126             $this->tpl->setVariable(
"TXT_COMMENT", $this->
lng->txt(
"comment"));
   127             $this->tpl->setVariable(
"TXT_USER_COMMENT", $a_set[
"user_comment"]);
   128             $this->tpl->parseCurrentBlock();
   137         $info_params = explode(
",", $a_set[
"info_params"]);
   141                 $info_text = $this->
lng->txt(
"hist_" . str_replace(
":", 
"_", $a_set[
"obj_type"]) .
   142             "_" . $a_set[
"action"]);
   145                 $info_text = $this->
lng->txt(
"hist_" . str_replace(
":", 
"_", $this->
getObjType()) .
   146                     "_" . $a_set[
"action"]);
   151         foreach ($info_params as $info_param) {
   152             $info_text = str_replace(
"%" . $i, $info_param, $info_text);
   161         $this->comment_visibility = $a_visible;
   171         $this->obj_id = $a_obj_id;
   181         $this->obj_type = $a_obj_type;
   186         if (!$this->obj_type) {
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ilObjUser $user=null,)
 
__construct(object $a_parent_obj, string $a_parent_cmd, int $a_obj_id, string $a_obj_type=null)
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
static _getEntriesForObject(int $a_obj_id, string $a_obj_type="")
get all history entries for an object 
 
createInfoText(array $a_set)
format info parameters into info text 
 
setCommentVisibility(bool $a_visible)
 
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path='ilpublicuserprofilegui')
Default behaviour is: 
 
static _lookupTitle(int $obj_id)
 
setObjType(string $a_obj_type)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__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)